From: Zhenyu Wang Date: Fri, 17 Sep 2010 06:40:16 +0000 (+0800) Subject: i965: add sandybridge viewport state bo into validation list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7401a98e29eaaa80fc42e18b126988683b090543;p=mesa.git i965: add sandybridge viewport state bo into validation list --- diff --git a/src/mesa/drivers/dri/i965/gen6_viewport_state.c b/src/mesa/drivers/dri/i965/gen6_viewport_state.c index 301c68e7f9e..84bea323f8a 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)