r600g: add support for s3tc formats.
authorDave Airlie <airlied@redhat.com>
Fri, 11 Feb 2011 03:42:52 +0000 (13:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Feb 2011 04:44:09 +0000 (14:44 +1000)
commit8e0437914bb786d0b05be8f95e4ff37bf5a19f44
tree8335b15a46c75f560f602003750a4855b6d3bb99
parenta661dacf143d7187abc2360ac945db75296f7e23
r600g: add support for s3tc formats.

On r600, s3tc formats require a 1D tiled texture format,
so we have to do uploads using a blit, via the 64-bit and 128-bit formats

Based on the r600c code we use a 64 and 128-bit type to do the
blits.

Still requires R600_ENABLE_S3TC until the kernel fixes are in,
this has only been tested on evergreen where the kernel doesn't
yet get in the way.
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_texture.c