summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-11-12 22:18:09 -0800
committerEric Anholt <[email protected]>2010-12-06 00:14:22 -0800
commitae0df25ab439508c8bca707b91bbf085ff16d47c (patch)
tree9cb1197dc277b7c5567a615d3af9b01a6deacf2c
parentd1ead22d1bc2931e46410cd7367e48656135d63c (diff)
i965: Don't smash a group of coordinates doing gen6 16-wide sampler headers.
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 945f50d1106..e7e72e6b58c 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -1949,6 +1949,7 @@ void brw_SAMPLE(struct brw_compile *p,
if (intel->gen >= 6) {
brw_push_insn_state(p);
brw_set_mask_control( p, BRW_MASK_DISABLE );
+ brw_set_compression_control(p, BRW_COMPRESSION_NONE);
/* m1 contains header? */
brw_MOV(p, brw_message_reg(msg_reg_nr), src0);
brw_pop_insn_state(p);