nir: add const_index parameters to system value builder function
authorKarol Herbst <kherbst@redhat.com>
Thu, 19 Jul 2018 09:42:08 +0000 (11:42 +0200)
committerKarol Herbst <kherbst@redhat.com>
Wed, 14 Nov 2018 01:09:11 +0000 (02:09 +0100)
commit80db331c2d477f8f4bc5c2b0373573f505f676e5
treecdf6e53d8852883780d49f31969a61e6d5313890
parent95b513c937346f179cbddc8ac6e512a634aeab9e
nir: add const_index parameters to system value builder function

this allows to replace some nir_load_system_value calls with the specific
system value constructor

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_builder_opcodes_h.py