#ifndef V3D_LIMITS_H
#define V3D_LIMITS_H
+/* Number of channels a QPU thread executes in parallel. Also known as
+ * gl_SubGroupSizeARB.
+ */
+#define V3D_CHANNELS 16
+
#define V3D_MAX_FS_INPUTS 64
#define V3D_MAX_VS_INPUTS 64
+#define V3D_MAX_ANY_STAGE_INPUTS MAX2(V3D_MAX_VS_INPUTS, V3D_MAX_FS_INPUTS)
/* Not specifically a hardware limit, just coordination between compiler and
* driver.