summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-06 07:17:48 -0700
committerBrian Paul <brianp@vmware.com>2010-01-06 07:18:04 -0700
commit1b5476a353d9772fe86d02f0a733a55f9cf0ea76 (patch)
treed6eb99103a05ee5a6c6df352e29b24de3a6d54a8 /src/gallium/drivers/i965
parente32487b8a13a9efabb0359a9dde33e074e905e82 (diff)
i965g: fix invalid assertion in emit_xpd(), again
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_wm_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_emit.c b/src/gallium/drivers/i965/brw_wm_emit.c
index 3d162a67e7..8f983a60ae 100644
--- a/src/gallium/drivers/i965/brw_wm_emit.c
+++ b/src/gallium/drivers/i965/brw_wm_emit.c
@@ -691,7 +691,7 @@ static void emit_xpd( struct brw_compile *p,
{
GLuint i;
- assert(!(mask & BRW_WRITEMASK_W) == BRW_WRITEMASK_W);
+ assert((mask & BRW_WRITEMASK_W) != BRW_WRITEMASK_W);
for (i = 0 ; i < 3; i++) {
if (mask & (1<<i)) {