r600g: get s3tc working on cards with crappy 64/128 bit types.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Feb 2011 00:25:57 +0000 (10:25 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Feb 2011 00:27:09 +0000 (10:27 +1000)
commit231bf886dae9c7df0ae3e16acee904024a08824f
tree9fc9ad790fcee506ce832063aec8fa07ea4214ad
parent5cc35124b31aa1dddffd24d92c8447cf7a9d9f98
r600g: get s3tc working on cards with crappy 64/128 bit types.

Some cards don't appear to work correctly with the UNORM type,
so switch to the integer type, however since gallium has no
integer types yet from what I can see we need to do a hack to
workaround it for the blitter.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_state.c