From 1baff9f8cf79fdb4a5649eabcc66cf73487c873e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 14 Nov 2011 08:44:35 +0000 Subject: uxa/gen4+: Re-emit composite invariant after video Reported-by: Ben Hutchings Bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635953 Signed-off-by: Chris Wilson --- src/i965_video.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/i965_video.c b/src/i965_video.c index eb5ff147..dee6a278 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -904,6 +904,7 @@ i965_emit_video_setup(ScrnInfoPtr scrn, drm_intel_bo * surface_state_binding_tab IntelEmitInvarientState(scrn); intel->last_3d = LAST_3D_VIDEO; + intel->needs_3d_invariant = TRUE; urb_vs_start = 0; urb_vs_size = URB_VS_ENTRIES * URB_VS_ENTRY_SIZE; @@ -1665,6 +1666,7 @@ gen6_emit_video_setup(ScrnInfoPtr scrn, assert(n_src_surf == 1 || n_src_surf == 6); IntelEmitInvarientState(scrn); intel->last_3d = LAST_3D_VIDEO; + intel->needs_3d_invariant = TRUE; gen6_upload_invariant_states(intel); gen6_upload_state_base_address(scrn, surface_state_binding_table_bo); @@ -1774,6 +1776,7 @@ gen7_emit_video_setup(ScrnInfoPtr scrn, assert(n_src_surf == 1 || n_src_surf == 6); IntelEmitInvarientState(scrn); intel->last_3d = LAST_3D_VIDEO; + intel->needs_3d_invariant = TRUE; gen6_upload_invariant_states(intel); gen6_upload_state_base_address(scrn, surface_state_binding_table_bo); -- cgit v1.2.3