nir: Add a new nir_var_mem_constant variable mode
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 18 Aug 2020 19:02:21 +0000 (14:02 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 20:50:03 +0000 (20:50 +0000)
commite4f07f8bdc602bae665fd57bb69e293a69d89bef
tree31dbdbaaa52b93b16e25e5cb6f47ad481f641d91
parentb9927c8c8d0c105699306a68773c015930ff9509
nir: Add a new nir_var_mem_constant variable mode

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_print.c
src/compiler/nir/nir_serialize.c
src/compiler/nir/nir_validate.c