aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index b9ad2a92433..e0f29e3cebf 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -140,6 +140,12 @@ struct st_context
uint64_t dirty; /**< dirty states */
+ /* If true, further analysis of states is required to know if something
+ * has changed. Used mainly for shaders.
+ */
+ bool gfx_shaders_may_be_dirty;
+ bool compute_shader_may_be_dirty;
+
GLboolean vertdata_edgeflags;
GLboolean edgeflag_culls_prims;