i965: add sandybridge viewport state bo into validation list
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Sep 2010 06:40:16 +0000 (14:40 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 28 Sep 2010 07:58:20 +0000 (15:58 +0800)
src/mesa/drivers/dri/i965/gen6_viewport_state.c

index 301c68e7f9ed5316a1673daad6d8bdfd13a89baf..84bea323f8ab3fa82e217486016551e076da1d2d 100644 (file)
@@ -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)