mesa/format_info: Add support for compressed floating-point formats
authorNeil Roberts <neil@linux.intel.com>
Wed, 6 Aug 2014 15:52:14 +0000 (16:52 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 12 Aug 2014 17:00:26 +0000 (18:00 +0100)
commit84218b598f429bcc4474aa620da906b7b9aadc2b
treeb64b7dc55580b449ef309386830daf06a5f46779
parent0c6e230eb1a6c22e15c852ae98a39110c13d78b8
mesa/format_info: Add support for compressed floating-point formats

If the name of a compressed texture format has ‘FLOAT’ in it it will now set
the data type of the format to GL_FLOAT. This will be needed for the BPTC
half-float formats.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/format_info.py