i965: Fix BRW_WM_MAX_INSN to reflect current limits.
authorEric Anholt <eric@anholt.net>
Fri, 30 Oct 2009 20:20:13 +0000 (13:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Oct 2009 20:20:34 +0000 (13:20 -0700)
Part of fixing bug #24355.

src/mesa/drivers/dri/i965/brw_wm.h

index dd4644fc36fd801cf1eeb2c811336f931de5239c..47aa4da306792bc4c91ac651ebf358ee81ca2665 100644 (file)
@@ -154,13 +154,12 @@ struct brw_wm_instruction {
 };
 
 
-#define BRW_WM_MAX_INSN  (MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS*3 + FRAG_ATTRIB_MAX + 3)
+#define BRW_WM_MAX_INSN  (MAX_PROGRAM_INSTRUCTIONS*3 + FRAG_ATTRIB_MAX + 3)
 #define BRW_WM_MAX_GRF   128           /* hardware limit */
 #define BRW_WM_MAX_VREG  (BRW_WM_MAX_INSN * 4)
 #define BRW_WM_MAX_REF   (BRW_WM_MAX_INSN * 12)
 #define BRW_WM_MAX_PARAM 256
 #define BRW_WM_MAX_CONST 256
-#define BRW_WM_MAX_KILLS MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS
 #define BRW_WM_MAX_SUBROUTINE 16