965: fix ExtDivide check
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 14 Dec 2007 20:14:05 +0000 (20:14 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 17 Dec 2007 10:30:38 +0000 (10:30 +0000)
src/mesa/pipe/i965simple/brw_wm_glsl.c

index d6dfaed8263146b017a4a8c8f0ce54dbadecaa8b..37d5b216b262764f411173d560360e191191a821 100644 (file)
@@ -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:
     */