diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-08 11:08:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-08 11:09:46 +0000 |
commit | a2fc9e5f86096dbc2461eaf7e5ad5cf071f8d472 (patch) | |
tree | d0816869336c7c5110bacb09c50cb9449f42d56f /src/sna/brw | |
parent | b858c28d04dfd353a99f9d15c39599adbf5cb25f (diff) |
Revert "sna: Remove spurious SAMPLER writemask for gen4"
This reverts commit 4966f8374a068ca2a533e30594bfd333551ffd37.
Not so spurious after all!
Reported-by: Michal Suchanek
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw')
-rw-r--r-- | src/sna/brw/brw_eu_emit.c | 2 |
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; |