tgsi_to_nir: Restructure system value loads.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 8 Feb 2019 21:15:56 +0000 (22:15 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2019 19:13:27 +0000 (19:13 +0000)
commit840c7d1ebd08785b7fff5efdfc1a7fb2a8ff94b1
treec349109c20cc1f19d7046a445a95a57edc9512ae
parent9a834447d652ea50864bb6c32f4ff99ac10d39bf
tgsi_to_nir: Restructure system value loads.

Minor cleanup to the way system value loads work in tgsi_to_nir.

Signed-Off-By: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c