mesa: Fix the base format for GL_COMPRESSED_RGB_BPTC_*_FLOAT_ARB
authorNeil Roberts <neil@linux.intel.com>
Fri, 25 Jul 2014 10:31:07 +0000 (11:31 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 12 Aug 2014 17:00:26 +0000 (18:00 +0100)
commit0c6e230eb1a6c22e15c852ae98a39110c13d78b8
tree145f5da7f28d30f25b3cb374c4464618d8b815da
parent5ceb4bff33379907542dc3705e850c3eb5d45caf
mesa: Fix the base format for GL_COMPRESSED_RGB_BPTC_*_FLOAT_ARB

The signed and unsigned half-float BPTC-compressed formats were being reported
as having a base format of GL_RGBA but they don't store an alpha channel so it
should be GL_RGB.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texcompress.c