v3d: Add and use a define for the number of channels in a QPU invocation.
[mesa.git] / src / broadcom / common / v3d_limits.h
index e21ee246eff0bfd756c6302ca0d51859da3fbc73..77684762203aaa0a8fa8fc3e3f82eb6c6d202fea 100644 (file)
 #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