We need to size input/output tables big enough for special inputs/
outputs (gl_Position, gl_FrontFacing, etc) which, while they don't
count towards the hw limit of 16 attributes or 16 varyings, we do
still need to track them all the same.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
struct {
fd3_semantic semantic;
uint8_t regid;
- } outputs[16];
+ } outputs[16 + 2]; /* +POSITION +PSIZE */
bool writes_pos, writes_psize;
/* vertices/inputs: */
/* in theory inloc of fs should match outloc of vs: */
uint8_t inloc;
uint8_t bary;
- } inputs[16];
+ } inputs[16 + 2]; /* +POSITION +FACE */
unsigned total_in; /* sum of inputs (scalar) */