summaryrefslogtreecommitdiff
path: root/src/i965_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-14 08:44:35 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-14 08:48:40 +0000
commit1baff9f8cf79fdb4a5649eabcc66cf73487c873e (patch)
tree981c47d743e0c0fef0edb87fe75472b0d16a71ee /src/i965_video.c
parent7ad3b377a394c9342c3ab2f003d48b7cb3c0891d (diff)
uxa/gen4+: Re-emit composite invariant after video
Reported-by: Ben Hutchings <ben@decadent.org.uk> Bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635953 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i965_video.c')
-rw-r--r--src/i965_video.c3
1 files changed, 3 insertions, 0 deletions
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);