v3d: Only add output slot tracking for the current varying slot

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 30 October 2018 17:46 EDT

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.

c152c79d5e v3d: Only add output slot tracking for the current varying slot.
src/broadcom/compiler/nir_to_vir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share