diff options
author | Eric Anholt <[email protected]> | 2009-10-30 13:20:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-10-30 13:20:34 -0700 |
commit | 2c30ee9bd69ed606b984c051748a7cdb34905eeb (patch) | |
tree | 72ec41c47245c8daf2ec50b40249ab462e32ff96 | |
parent | 2073006c9566b08888b4338748a843c645bd0db1 (diff) |
i965: Fix BRW_WM_MAX_INSN to reflect current limits.
Part of fixing bug #24355.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index dd4644fc36f..47aa4da3067 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -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 |