X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fbroadcom%2Fcommon%2Fv3d_limits.h;h=e02582035f16feaa554d8d09a956a5b05fd83529;hp=e21ee246eff0bfd756c6302ca0d51859da3fbc73;hb=a07d70c54bae60be0c549d2a6ece509ed29432f8;hpb=62360e92ec97d59389330a5aeb070416523da774 diff --git a/src/broadcom/common/v3d_limits.h b/src/broadcom/common/v3d_limits.h index e21ee246eff..e02582035f1 100644 --- a/src/broadcom/common/v3d_limits.h +++ b/src/broadcom/common/v3d_limits.h @@ -24,8 +24,17 @@ #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_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.