freedreno/ir3: Setup inputs and outputs for tessellation stages
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 23 Oct 2019 02:37:53 +0000 (19:37 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:40:27 +0000 (16:40 -0800)
commit3cedeba7c9cc41b798eda14bd28f32f35490d1ab
tree09f7c5891df81d9e5e89b31bc76196d8e455276d
parente28fbbd86120955360f814520500ac292c1f32df
freedreno/ir3: Setup inputs and outputs for tessellation stages

Similar to GS, some inputs are reused when the chsh from VS to TCS or
TES to GS, so we need to make sure we setup the right inputs and make
the shared system values outputs so they don't get clobbered.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c