xf86-video-intel: src/sna/brw
Chris Wilson
ickle at kemper.freedesktop.org
Wed Jan 8 03:10:10 PST 2014
src/sna/brw/brw_eu_emit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2fc9e5f86096dbc2461eaf7e5ad5cf071f8d472
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Jan 8 11:08:47 2014 +0000
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 at chris-wilson.co.uk>
diff --git a/src/sna/brw/brw_eu_emit.c b/src/sna/brw/brw_eu_emit.c
index 81d1437..5c0b306 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;
More information about the xorg-commit
mailing list