summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-02-09 16:08:18 -0800
committerKenneth Graunke <kenneth@whitecape.org>2016-02-11 19:15:08 -0800
commitf275c61c30cbd389f9dac5223cc3904b3fe11e3e (patch)
tree4e3ebfaa49ac91176fdf01057daf9247d8f43c7e /src/mesa/drivers/dri/i965/brw_state_upload.c
parentf3943614ff3b70e860b08b1d78f843a6aec3dcdd (diff)
downloadexternal_mesa3d-f275c61c30cbd389f9dac5223cc3904b3fe11e3e.zip
external_mesa3d-f275c61c30cbd389f9dac5223cc3904b3fe11e3e.tar.gz
external_mesa3d-f275c61c30cbd389f9dac5223cc3904b3fe11e3e.tar.bz2
i965: Split brw_upload_texture_surfaces into compute/render atoms.
When uploading state for the compute pipeline, we don't want to look at VS/TCS/TES/GS/FS programs, as they might be stale, and aren't relevant anyway. Likewise, the render pipeline shouldn't look at CS. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93790 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index ee75ca8..a91d074 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -280,7 +280,7 @@ static const struct brw_tracked_state *gen7_compute_atoms[] =
&brw_cs_pull_constants,
&brw_cs_ubo_surfaces,
&brw_cs_abo_surfaces,
- &brw_texture_surfaces,
+ &brw_cs_texture_surfaces,
&brw_cs_work_groups_surface,
&brw_cs_samplers,
&brw_cs_state,
@@ -395,7 +395,7 @@ static const struct brw_tracked_state *gen8_compute_atoms[] =
&brw_cs_pull_constants,
&brw_cs_ubo_surfaces,
&brw_cs_abo_surfaces,
- &brw_texture_surfaces,
+ &brw_cs_texture_surfaces,
&brw_cs_work_groups_surface,
&brw_cs_samplers,
&brw_cs_state,