aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-06-20 12:29:29 -0700
committerEric Anholt <[email protected]>2012-08-07 13:54:51 -0700
commit25d2bf3845e9a6faaef8d808c1255ec57dc71dba (patch)
tree838ba2d32ec6b35ad7df8de587282b5b3d8bc55f /src/mesa/drivers/dri/i965/brw_state_upload.c
parent5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7 (diff)
i965: Bind UBOs as surfaces like we do for pull constants.
v2: Comment fix, drop extraneous parens (review by Kenneth) Reviewed-by: Kenneth Graunke <[email protected]>
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, 4 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 12535ed01cd..c3e6de49779 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -143,7 +143,9 @@ static const struct brw_tracked_state *gen6_atoms[] =
* table upload must be last.
*/
&brw_vs_pull_constants,
+ &brw_vs_ubo_surfaces,
&brw_wm_pull_constants,
+ &brw_wm_ubo_surfaces,
&gen6_renderbuffer_surfaces,
&brw_texture_surfaces,
&gen6_sol_surface,
@@ -215,7 +217,9 @@ const struct brw_tracked_state *gen7_atoms[] =
* table upload must be last.
*/
&brw_vs_pull_constants,
+ &brw_vs_ubo_surfaces,
&brw_wm_pull_constants,
+ &brw_wm_ubo_surfaces,
&gen6_renderbuffer_surfaces,
&brw_texture_surfaces,
&brw_vs_binding_table,