summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-09-23 16:46:39 -0700
committerJordan Justen <jordan.l.justen@intel.com>2015-09-02 14:17:24 -0700
commit06ada493fbc22e99867e14f26f1a511b343e3759 (patch)
treed2266c1f0a78b822d30fd48f8eeb9ec4e3dcc9c6 /src/mesa/drivers/dri/i965/brw_state_upload.c
parent4bdd5e09c3a1f97840dbbfb9e9a3c74bb0143968 (diff)
i965/cs: Setup push constant data for uniforms
brw_upload_cs_push_constants was based on gen6_upload_push_constants. v2: * Add FINISHME comments about more efficient ways to push uniforms Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 9de42ce850..b2ca9c2c0e 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -258,6 +258,7 @@ static const struct brw_tracked_state *gen7_compute_atoms[] =
{
&brw_state_base_address,
&brw_cs_image_surfaces,
+ &gen7_cs_push_constants,
&brw_cs_abo_surfaces,
&brw_cs_state,
};
@@ -348,6 +349,7 @@ static const struct brw_tracked_state *gen8_compute_atoms[] =
{
&gen8_state_base_address,
&brw_cs_image_surfaces,
+ &gen7_cs_push_constants,
&brw_cs_abo_surfaces,
&brw_cs_state,
};