From b52e4477f81b8ab7e0db6a73a8f1358b88cf3ea0 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 14 Dec 2007 20:14:05 +0000 Subject: [PATCH] 965: fix ExtDivide check --- src/mesa/pipe/i965simple/brw_wm_glsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/pipe/i965simple/brw_wm_glsl.c b/src/mesa/pipe/i965simple/brw_wm_glsl.c index d6dfaed8263..37d5b216b26 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: */ -- 2.30.2