i965: sampler default color ends up in texture cache, not instructions.

See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes.
This commit is contained in:
Eric Anholt 2008-10-01 16:58:38 -07:00
parent df6ae3f0a3
commit 17fdd1ab3b

View file

@ -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),