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