aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-05 15:53:46 -0700
committerBrian Paul <[email protected]>2010-01-05 15:54:50 -0700
commit15b05c54b7937eca57f50405c4bafb848b87edfa (patch)
tree7eccb19e6c6a03a88251020e470d82dc138ce4bd /src/gallium/drivers/i965
parent5a7c2a99a65399a59f54c6a0756c106c1ae048ff (diff)
i965g: fix invalid assertion in emit_xpd()
Invalid assertion found by Roel Kluin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_wm_emit.c2
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 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<<i)) {