summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-12-22 11:57:41 -0800
committerPaul Berry <[email protected]>2011-12-23 15:16:51 -0800
commite25c4d09262e4aad7260d3b3b0eb6486755e4eea (patch)
treeb65fe5b48c809cbde22039f34c1301b352697d82 /src
parent9cfa8a74ce484d5305b6581608b66b1cc53bc88b (diff)
i965 gen6: Resend binding table pointer after updating SOL bindings.
After creating new binding table entries for transform feedback, we need to set the dirty flag BRW_NEW_SURFACES, so that a new binding table pointer will be sent to the hardware. Otherwise the new binding table entries will not take effect. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_sol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sol.c b/src/mesa/drivers/dri/i965/gen6_sol.c
index 32f56d30311..437b3ae3fd3 100644
--- a/src/mesa/drivers/dri/i965/gen6_sol.c
+++ b/src/mesa/drivers/dri/i965/gen6_sol.c
@@ -61,6 +61,8 @@ gen6_update_sol_surfaces(struct brw_context *brw)
brw->bind.surf_offset[surf_index] = 0;
}
}
+
+ brw->state.dirty.brw |= BRW_NEW_SURFACES;
}
const struct brw_tracked_state gen6_sol_surface = {