Revert "sna: Remove spurious SAMPLER writemask for gen4"
This reverts commit 4966f8374a.
Not so spurious after all!
Reported-by: Michal Suchanek
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b858c28d04
commit
a2fc9e5f86
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue