ir3: Allow tesselation to use all 32 varying slots
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 10 Dec 2020 17:18:18 +0000 (19:18 +0200)
committerDanylo Piliaiev <dpiliaiev@igalia.com>
Mon, 21 Dec 2020 14:06:20 +0000 (16:06 +0200)
commit22180137e9709937116f622185d027a108410236
treeaadf3309b129533099c6d1665010d0d563f051ff
parent4b208fa36b484d2dbe0e7f1fc707544d3a1f17c5
ir3: Allow tesselation to use all 32 varying slots

POS, PSIZE, CLIP_DIST0, and CLIP_DIST1 have their own predefined
indices, map's size should take this into account.

Fixes: 9e063b01 "ir3: Switch tess lowering to use location"

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7917>
src/freedreno/ir3/ir3_nir_lower_tess.c
src/freedreno/ir3/ir3_shader.h