gallium/ttn: Fix setup of outputs_written.
authorEric Anholt <eric@anholt.net>
Thu, 20 Dec 2018 16:12:50 +0000 (08:12 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 26 Dec 2018 19:42:09 +0000 (11:42 -0800)
commit7d7ecfbcbc2236ba76d9ad9dc7c589ce5a6bfa32
treed3767d745d1da88caca55cac72080b574b53f906
parente2ae5f2f0a0dbdae08e026b88e30552728c4abd6
gallium/ttn: Fix setup of outputs_written.

We need a 64-bit value, otherwise we only handle the low 32, and happen to
sign-extend to claim to write all varying slots if VARYING_SLOT_VAR2 was
used.

Fixes: 4d0b2c7aaac3 ("ttn: Update shader->info as we generate code.")
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/auxiliary/nir/tgsi_to_nir.c