summaryrefslogtreecommitdiff
path: root/src/sna/brw/brw_eu_emit.c
diff options
context:
space:
mode:
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 81d14372..5c0b3065 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 (writemask != WRITEMASK_XYZW) {
+ if (p->gen < 050 || writemask != WRITEMASK_XYZW) {
struct brw_reg m1 = brw_message_reg(msg_reg_nr);
writemask = ~writemask & WRITEMASK_XYZW;