st/mesa: pass etc2 textures to driver if supported
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 16 Feb 2015 07:27:37 +0000 (02:27 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Feb 2015 05:25:03 +0000 (00:25 -0500)
commit33edda7d975f2cbf7ba86ba0f300dcadf087fb9b
treeb8032649cf3297e9e983a6bc98f8dd10599af84c
parent845b9e4294b7b89a33d77ef6713543f96eba0686
st/mesa: pass etc2 textures to driver if supported

If the driver actually supports ETC2, don't decode it in software.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_format.c