From: Keith Whitwell Date: Fri, 14 Dec 2007 20:14:05 +0000 (+0000) Subject: 965: fix ExtDivide check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b52e4477f81b8ab7e0db6a73a8f1358b88cf3ea0;p=mesa.git 965: fix ExtDivide check --- 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: */