From 17fdd1ab3b48da8dff742e626c3c59bc89cafeed Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Oct 2008 16:58:38 -0700 Subject: [PATCH] i965: sampler default color ends up in texture cache, not instructions. See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes. --- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c index e1db31ec08c..977b90ad43e 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c @@ -304,7 +304,7 @@ static void upload_wm_samplers( struct brw_context *brw ) continue; dri_bo_emit_reloc(brw->wm.sampler_bo, - I915_GEM_DOMAIN_INSTRUCTION, 0, + I915_GEM_DOMAIN_SAMPLER, 0, 0, i * sizeof(struct brw_sampler_state) + offsetof(struct brw_sampler_state, ss2), -- 2.30.2