v3d: we always have at least one output segment
[mesa.git] / src / broadcom / common / v3d_limits.h
index 77684762203aaa0a8fa8fc3e3f82eb6c6d202fea..e02582035f16feaa554d8d09a956a5b05fd83529 100644 (file)
 #define V3D_CHANNELS 16
 
 #define V3D_MAX_FS_INPUTS 64
+#define V3D_MAX_GS_INPUTS 64
 #define V3D_MAX_VS_INPUTS 64
+#define V3D_MAX_ANY_STAGE_INPUTS MAX3(V3D_MAX_VS_INPUTS, \
+                                      V3D_MAX_GS_INPUTS, \
+                                      V3D_MAX_FS_INPUTS)
 
 /* Not specifically a hardware limit, just coordination between compiler and
  * driver.