util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0)
authorMarek Olšák <maraeo@gmail.com>
Wed, 16 Feb 2011 03:18:42 +0000 (04:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Feb 2011 06:04:14 +0000 (16:04 +1000)
commit6e7d782da506da233b2ac695b022ac393e1c719e
tree8a8b5b3975f195b48f0aff9c8c0f13d97596ae63
parent4016a1b4c634b09ca4b3007d18e5ead1dd57a1bb
util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0)

This is a workaround for a bug in libtxc_dxtn.

Fixes:
- piglit/GL_EXT_texture_compression_s3tc/fbo-generatemipmap-formats

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_format_s3tc.c