i965g: fix invalid assertion in emit_xpd()

Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
This commit is contained in:
Brian Paul 2010-01-05 15:53:46 -07:00
parent 5a7c2a99a6
commit 15b05c54b7
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {