maxInterStageVariables top-level constant

int const maxInterStageVariables

How many inter-stage locations WebGPU guarantees.

maxInterStageShaderVariables, whose floor in the specification is sixteen, and a @location must be below it. Named here because it is the reason assignVaryingLocations groups rather than sorts.

Implementation

const int maxInterStageVariables = 16;