summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index d2c4f3f880c..9c9a05b5605 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -107,6 +107,11 @@ struct st_texture_object
* views and surfaces instead of pt->format.
*/
enum pipe_format surface_format;
+
+ /** The glsl version of the shader seen during the previous validation */
+ unsigned prev_glsl_version;
+ /** The value of the sampler's sRGBDecode state at the previous validation */
+ GLenum prev_sRGBDecode;
};