v3d: Only add output slot tracking for the current varying slot.
authorEric Anholt <eric@anholt.net>
Fri, 28 Sep 2018 19:40:32 +0000 (12:40 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 17:46:52 +0000 (10:46 -0700)
commitc152c79d5ee59cc8b3936e5b31f8b4203327bc2e
tree877b81bc15355029d067fcc87ae690103756ab60
parent17c81989521731af25a633622a0ded437538ab00
v3d: Only add output slot tracking for the current varying slot.

We always emit 4 slots per slot because things like color output and
position processing in the epilogue will potentially look up more values
than the variable declaration had.  However, when we get a .location_frac
!= 0, we don't want to overwrite components of the following
.driver_location.
src/broadcom/compiler/nir_to_vir.c