diff options
author | Francisco Jerez <[email protected]> | 2015-12-08 18:53:57 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-12-09 13:59:03 +0200 |
commit | 228d5a3f75086e92aaa01619a55d6c8ac7841e0e (patch) | |
tree | 33aa8b07bd0d2c47c5cf3bfd58792dc9f854ac42 /src/mesa | |
parent | 1fc797e8e408522cfbd3fa9f81d4fb33acccb034 (diff) |
i965: Hook up L3 partitioning state atom.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_upload.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index f8784bc2a70..51d573a9435 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1226,8 +1226,8 @@ struct brw_context } perfmon; int num_atoms[BRW_NUM_PIPELINES]; - const struct brw_tracked_state render_atoms[61]; - const struct brw_tracked_state compute_atoms[9]; + const struct brw_tracked_state render_atoms[62]; + const struct brw_tracked_state compute_atoms[10]; /* 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 58be242d55d..76bf4024d41 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -186,6 +186,7 @@ static const struct brw_tracked_state *gen7_render_atoms[] = &brw_cc_vp, &gen7_sf_clip_viewport, + &gen7_l3_state, &gen7_push_constant_space, &gen7_urb, &gen6_blend_state, /* must do before cc unit */ @@ -259,6 +260,7 @@ static const struct brw_tracked_state *gen7_render_atoms[] = static const struct brw_tracked_state *gen7_compute_atoms[] = { &brw_state_base_address, + &gen7_l3_state, &brw_cs_image_surfaces, &gen7_cs_push_constants, &brw_cs_pull_constants, @@ -277,6 +279,7 @@ static const struct brw_tracked_state *gen8_render_atoms[] = &brw_cc_vp, &gen8_sf_clip_viewport, + &gen7_l3_state, &gen7_push_constant_space, &gen7_urb, &gen8_blend_state, @@ -357,6 +360,7 @@ static const struct brw_tracked_state *gen8_render_atoms[] = static const struct brw_tracked_state *gen8_compute_atoms[] = { &gen8_state_base_address, + &gen7_l3_state, &brw_cs_image_surfaces, &gen7_cs_push_constants, &brw_cs_pull_constants, |