summaryrefslogtreecommitdiff
path: root/src/sna/brw/brw_eu_emit.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-20 14:20:54 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-01-07 10:20:53 +0000
commit4966f8374a068ca2a533e30594bfd333551ffd37 (patch)
tree7373ec93a4e07cb8b68e23fd3830b5732abb360a /src/sna/brw/brw_eu_emit.c
parent82fa7ec352426c7e3d5210aac8ea1030232cc0f3 (diff)
sna: Remove spurious SAMPLER writemask for gen4
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw/brw_eu_emit.c')
-rw-r--r--src/sna/brw/brw_eu_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/brw/brw_eu_emit.c b/src/sna/brw/brw_eu_emit.c
index 5c0b3065..81d14372 100644
--- a/src/sna/brw/brw_eu_emit.c
+++ b/src/sna/brw/brw_eu_emit.c
@@ -1802,7 +1802,7 @@ void brw_SAMPLE(struct brw_compile *p,
{
assert(writemask);
- if (p->gen < 050 || writemask != WRITEMASK_XYZW) {
+ if (writemask != WRITEMASK_XYZW) {
struct brw_reg m1 = brw_message_reg(msg_reg_nr);
writemask = ~writemask & WRITEMASK_XYZW;