[PATCH] r3xx-r5xx: fix texturing with small macrotiled pixmaps

Marek Olšák maraeo at gmail.com
Mon May 3 15:07:27 PDT 2010


When ColorTiling is enabled, macrotiled small pixmaps cannot be used as
textures because of MACRO_SWITCH. The attached patch fixes that and this
issue is well described in the commit message. Please review.

This also fixes some piglit tests for r300g with ColorTiling enabled, e.g.
glean/readPixSanity and shaders/fp-fog among others. (The
texturing/texredefine test fails due to a flush missing somewhere, but the
driver now passes more tests than without ColorTiling.)

This fix is only for r300. I am not sure whether there is the same issue on
non-r300 GPUs too.

Also can ColorTiling be enabled by default on KMS now?

-Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20100504/134978ae/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-r3xx-r5xx-fix-texturing-with-small-macrotiled-pixmap.patch
Type: text/x-patch
Size: 3163 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20100504/134978ae/attachment.bin>


More information about the xorg-driver-ati mailing list