summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-09-17 14:40:16 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2010-09-28 15:58:20 +0800
commit7401a98e29eaaa80fc42e18b126988683b090543 (patch)
treebbae5600635b35cc09d811b28eeea061dae73601
parenta0b1d7b2b8d35f30793d811d7b5a693e9ea17596 (diff)
i965: add sandybridge viewport state bo into validation list
-rw-r--r--src/mesa/drivers/dri/i965/gen6_viewport_state.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_viewport_state.c b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
index 301c68e7f9..84bea323f8 100644
--- a/src/mesa/drivers/dri/i965/gen6_viewport_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
@@ -107,7 +107,9 @@ const struct brw_tracked_state gen6_sf_vp = {
static void prepare_viewport_state_pointers(struct brw_context *brw)
{
- brw_add_validated_bo(brw, brw->sf.state_bo);
+ brw_add_validated_bo(brw, brw->clip.vp_bo);
+ brw_add_validated_bo(brw, brw->sf.vp_bo);
+ brw_add_validated_bo(brw, brw->cc.vp_bo);
}
static void upload_viewport_state_pointers(struct brw_context *brw)