summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-02-16 02:27:37 -0500
committerIlia Mirkin <[email protected]>2015-02-19 00:25:03 -0500
commit33edda7d975f2cbf7ba86ba0f300dcadf087fb9b (patch)
treeb8032649cf3297e9e983a6bc98f8dd10599af84c /src/mesa/state_tracker/st_context.h
parent845b9e4294b7b89a33d77ef6713543f96eba0686 (diff)
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 20d56786444..b091a8856dc 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -93,6 +93,7 @@ struct st_context
boolean has_time_elapsed;
boolean has_shader_model3;
boolean has_etc1;
+ boolean has_etc2;
boolean prefer_blit_based_texture_transfer;
boolean needs_texcoord_semantic;