diff options
author | Stéphane Marchesin <[email protected]> | 2011-10-17 21:43:19 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-10-17 21:43:46 -0700 |
commit | 0b3842edb1a0bc1a2163571ef476e080f7c40b0f (patch) | |
tree | e71e365492f6e8d7a633e29c6e702a9d160dad21 /src/gallium/drivers/i915/i915_reg.h | |
parent | 3637b5f0dd7e4b514f446c264827d80d7ac14289 (diff) |
i915g: Use the right shader limits.
Diffstat (limited to 'src/gallium/drivers/i915/i915_reg.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers/i915/i915_reg.h index e48a942c6fe..620c64e67a2 100644 --- a/src/gallium/drivers/i915/i915_reg.h +++ b/src/gallium/drivers/i915/i915_reg.h @@ -488,6 +488,10 @@ #define I915_MAX_DECL_INSN 27 #define I915_MAX_TEMPORARY 16 +#define I915_MAX_INSN (I915_MAX_DECL_INSN + \ + I915_MAX_TEX_INSN + \ + I915_MAX_ALU_INSN) + /* Each instruction is 3 dwords long, though most don't require all * this space. Maximum of 123 instructions. Smaller maxes per insn |