freedreno/ir3: Pre-color TCS header and primitive ID inputs
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 23 Oct 2019 02:39:47 +0000 (19:39 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:40:27 +0000 (16:40 -0800)
commit8739ea3ab5db36e0ca1bcba63616f86ba7cf881e
tree3668d4cc4de465ea059a1183f837649f1d383cd6
parentb12ebe3e8133f7d698a74d80a5b4f486089f5fda
freedreno/ir3: Pre-color TCS header and primitive ID inputs

Similar to GS, the registers are shared and not reinitialized betewen
VS and TCS, so we need to make sure to allocate the same registers for
the system values between stages.

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