From 25d2bf3845e9a6faaef8d808c1255ec57dc71dba Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 20 Jun 2012 12:29:29 -0700 Subject: i965: Bind UBOs as surfaces like we do for pull constants. v2: Comment fix, drop extraneous parens (review by Kenneth) Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_state_upload.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c') 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, -- cgit v1.2.3