summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-05 15:53:01 -0700
committerBrian Paul <[email protected]>2010-01-05 15:53:05 -0700
commite555146fa35c897554a1af2d010187a6acccdd59 (patch)
treeff9a2e0b3abd9345e0a0e2484174fbd9baf727dd /src
parent766f3ccbda7def1a81a3d07002e500e8bb1a898e (diff)
i965: fix invalid assertion in emit_xpd()
Invalid assertion found by Roel Kluin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_emit.c2
1 files changed, 1 insertions, 1 deletions
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<<i)) {