From: Brian Paul Date: Wed, 6 Jan 2010 14:17:48 +0000 (-0700) Subject: i965g: fix invalid assertion in emit_xpd(), again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b5476a353d9772fe86d02f0a733a55f9cf0ea76;p=mesa.git i965g: fix invalid assertion in emit_xpd(), again --- diff --git a/src/gallium/drivers/i965/brw_wm_emit.c b/src/gallium/drivers/i965/brw_wm_emit.c index 3d162a67e7f..8f983a60ae8 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<