i965/cs: Emit texture surfaces to enable CS sampling

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Jordan Justen
2015-03-11 22:54:20 -07:00
parent 1180b79487
commit b01d047391
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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 {
@@ -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,
};