aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h2
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 41ba7696d40..0318a3fb229 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1517,7 +1517,7 @@ struct brw_context
int num_atoms[BRW_NUM_PIPELINES];
const struct brw_tracked_state render_atoms[60];
- const struct brw_tracked_state compute_atoms[5];
+ const struct brw_tracked_state compute_atoms[6];
/* If (INTEL_DEBUG & DEBUG_BATCH) */
struct {
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 01c090014e4..14627d5231b 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -260,6 +260,7 @@ static const struct brw_tracked_state *gen7_compute_atoms[] =
&brw_cs_image_surfaces,
&gen7_cs_push_constants,
&brw_cs_abo_surfaces,
+ &brw_texture_surfaces,
&brw_cs_state,
};
@@ -351,6 +352,7 @@ static const struct brw_tracked_state *gen8_compute_atoms[] =
&brw_cs_image_surfaces,
&gen7_cs_push_constants,
&brw_cs_abo_surfaces,
+ &brw_texture_surfaces,
&brw_cs_state,
};