st/mesa: add support for ETC2 formats
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 Aug 2014 18:31:07 +0000 (20:31 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 11 Aug 2014 19:53:57 +0000 (21:53 +0200)
commit463b0ea1f6762b7e0536cfadc4e384840af3e8e0
tree71c9df47ea6b35947d8f7c995d754fb3bd7d2b18
parentddc8003c61480aa5cbab72435243aa6f99677440
st/mesa: add support for ETC2 formats

The formats are emulated by translating them into plain uncompressed
formats, because I don't know of any hardware which supports them.

This is required for GLES 3.0 and ARB_ES3_compatibility (GL 4.3).
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_texture.c
src/mesa/state_tracker/st_texture.h