[Bug 15334] Radeon EXA + Sampling off the edge of REPEAT_NONE sources

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 3 10:53:12 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15334





--- Comment #4 from Owen Taylor <otaylor at redhat.com>  2008-04-03 10:53:11 PST ---
If I take a small image (say a 1x1 pixmap) and scale it up with REPEAT_NONE
and bilinear filtering, the right result according to the RENDER spec is not
a sharp-edge square, it's a blurry dot.

(This means that using REPEAT_NONE with a transform is seldom desirable,
but...) So, I don't think an approach of modifying
the output vertices will work.

(Also, with some modes, such as SOURCE, you do have to render all pixels)

The two things I can think of that would work:

 - Copy the source texture to a temporary with alpha
 - As you say, use a shader program.



More information about the xorg-driver-ati mailing list