From 150c9adebc0b502f19c970783f411928e5a5c3b1 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Tue, 30 Jun 2009 10:42:41 +0800 Subject: Xv: fix domain usage for binding table on i965+ chips Signed-off-by: Zhenyu Wang --- src/i965_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i965_video.c b/src/i965_video.c index 012799be..805b33f4 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -857,7 +857,7 @@ i965_emit_video_setup(ScrnInfoPtr pScrn, drm_intel_bo *bind_bo, int n_src_surf) OUT_BATCH(0); /* clip */ OUT_BATCH(0); /* sf */ /* Only the PS uses the binding table */ - OUT_RELOC(bind_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0); + OUT_RELOC(bind_bo, I915_GEM_DOMAIN_SAMPLER, 0, 0); /* Blend constant color (magenta is fun) */ OUT_BATCH(BRW_3DSTATE_CONSTANT_COLOR | 3); -- cgit v1.2.3