diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-05 15:53:01 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-05 15:53:05 -0700 |
commit | e555146fa35c897554a1af2d010187a6acccdd59 (patch) | |
tree | ff9a2e0b3abd9345e0a0e2484174fbd9baf727dd /src | |
parent | 766f3ccbda7def1a81a3d07002e500e8bb1a898e (diff) |
i965: fix invalid assertion in emit_xpd()
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_emit.c | 2 |
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 66fb611d50..4a30028480 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)) { |