summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/i965simple/brw_wm_glsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_wm_glsl.c b/src/mesa/pipe/i965simple/brw_wm_glsl.c
index d6dfaed826..37d5b216b2 100644
--- a/src/mesa/pipe/i965simple/brw_wm_glsl.c
+++ b/src/mesa/pipe/i965simple/brw_wm_glsl.c
@@ -126,7 +126,7 @@ static struct brw_reg get_src_reg(struct brw_wm_compile *c,
/* Can't handle this, don't know if we need to:
*/
- assert(src->SrcRegisterExtSwz.ExtDivide == 0);
+ assert(src->SrcRegisterExtSwz.ExtDivide == TGSI_EXTSWIZZLE_ONE);
/* Not handling indirect lookups yet:
*/