summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-06 07:17:13 -0700
committerBrian Paul <[email protected]>2010-01-06 07:18:09 -0700
commite4b7d9ea35a399c008a879e943374e9654001d01 (patch)
tree88dc1ffda4ad7f5840d071b79cc509ff14da085e
parent5b64d94390e4805e1634f0c8b5e3156e12b8b872 (diff)
i965: fix invalid assertion in emit_xpd(), again
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c
index 4a300284808..c6d10f5570f 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c
@@ -692,7 +692,7 @@ void emit_xpd(struct brw_compile *p,
{
GLuint i;
- assert(!(mask & WRITEMASK_W) == WRITEMASK_W);
+ assert((mask & WRITEMASK_W) != WRITEMASK_W);
for (i = 0 ; i < 3; i++) {
if (mask & (1<<i)) {