diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-05 15:53:46 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-05 15:54:50 -0700 |
commit | 15b05c54b7937eca57f50405c4bafb848b87edfa (patch) | |
tree | 7eccb19e6c6a03a88251020e470d82dc138ce4bd /src/gallium | |
parent | 5a7c2a99a65399a59f54c6a0756c106c1ae048ff (diff) |
i965g: fix invalid assertion in emit_xpd()
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_emit.c b/src/gallium/drivers/i965/brw_wm_emit.c index 7e57d0306b..3d162a67e7 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<<i)) { |