From: Brian Paul Date: Tue, 5 Jan 2010 22:53:46 +0000 (-0700) Subject: i965g: fix invalid assertion in emit_xpd() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15b05c54b7937eca57f50405c4bafb848b87edfa;p=mesa.git i965g: fix invalid assertion in emit_xpd() Invalid assertion found by Roel Kluin --- diff --git a/src/gallium/drivers/i965/brw_wm_emit.c b/src/gallium/drivers/i965/brw_wm_emit.c index 7e57d0306bc..3d162a67e7f 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_X); + assert(!(mask & BRW_WRITEMASK_W) == BRW_WRITEMASK_W); for (i = 0 ; i < 3; i++) { if (mask & (1<