i965g: fix invalid assertion in emit_xpd(), again
authorBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2010 14:17:48 +0000 (07:17 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2010 14:18:04 +0000 (07:18 -0700)
src/gallium/drivers/i965/brw_wm_emit.c

index 3d162a67e7faa5a384b7c1dd0882fa09f37b6ab7..8f983a60ae86fbcd3b3bc3ad261e48b232aa788e 100644 (file)
@@ -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)) {