mesa/texcompress: correct mapping of S3TC formats in conversion function
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 26 Aug 2015 19:01:38 +0000 (12:01 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 31 Aug 2015 22:03:08 +0000 (15:03 -0700)
commit01024ded1e791b33353ffa09d4e3dfb5b638179d
tree8f78a9ada948aedea6c1f85888e16ec668598898
parent3063913f77cd2db1a263cb824a5c8c3dcc1a51a0
mesa/texcompress: correct mapping of S3TC formats in conversion function

MESA_FORMAT_RGBA_DXT5 should actually be reserved for GL_RGBA[4]_DXT5_S3TC.
Also, Gallium and other dri drivers (radeon and nouveau) follow this mapping
scheme.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/texcompress.c