summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-02 21:38:25 +0200
committerMarek Olšák <[email protected]>2014-08-11 21:53:57 +0200
commit0127d26e6c25974a84102fba2f556e260ccbcaeb (patch)
treee820378f4007aaf6a1b23af52551af96da05b805 /src/mesa/state_tracker/st_context.h
parent547e2880bc9ac88a5897306fb9eadee0c825d14c (diff)
st/mesa: convert the ETC1 format to an uncompressed one if unsupported
I don't know of any hardware which supports it. With this, GL_OES_compressed_ETC1_RGB8_texture is supported if RGBA8 is supported. Reviewed-by: Glenn Kennard <[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 361a24b1d71..6d572bd4907 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -86,6 +86,7 @@ struct st_context
boolean has_stencil_export; /**< can do shader stencil export? */
boolean has_time_elapsed;
boolean has_shader_model3;
+ boolean has_etc1;
boolean prefer_blit_based_texture_transfer;
boolean needs_texcoord_semantic;