summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_reg.h')
-rw-r--r--src/gallium/drivers/i915/i915_reg.h4
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