diff options
author | Jordan Justen <[email protected]> | 2015-03-11 22:54:20 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-10 16:46:29 -0700 |
commit | b01d0473917ba15de3aa146006bfef5836d10e93 (patch) | |
tree | e47286dad78b1a25ddb75943b9164a82210405eb | |
parent | 1180b794871e53a94811f7279f42504bca4d9434 (diff) |
i965/cs: Emit texture surfaces to enable CS sampling
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_upload.c | 2 |
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, }; |