nv50/ir: add optimization for modulo by a non-power-of-2 value
[mesa.git] / src / gallium / drivers / nouveau / nouveau_compiler.c
index d8009f5bfe4352d2cad11d480dc428e869ccd8f4..3151a6f420ceb63186c56083b09f5092ae7e290f 100644 (file)
@@ -109,7 +109,7 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
 
    info.type = type;
    info.target = chipset;
-   info.bin.sourceRep = NV50_PROGRAM_IR_TGSI;
+   info.bin.sourceRep = PIPE_SHADER_IR_TGSI;
    info.bin.source = tokens;
 
    info.io.auxCBSlot = 15;