Rename nir_lower_constant_initializers to nir_lower_variable_initalizers
authorArcady Goldmints-Orlov <agoldmints@igalia.com>
Fri, 7 Feb 2020 20:18:49 +0000 (14:18 -0600)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 12 Feb 2020 15:41:49 +0000 (15:41 +0000)
commite9f83185a221b446717c96c4df8dc64ced43e24f
treea2ed0de3dd09b2eea186c7fd8b58e591aeb71875
parente459c7f0a14b65617e16b92f42abad2fe5878872
Rename nir_lower_constant_initializers to nir_lower_variable_initalizers

This is naming is more clear as nir_variables can be initializes not
just with a nir_constant but with a pointer to another nir_variable.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3047>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3047>
13 files changed:
src/amd/vulkan/radv_shader.c
src/compiler/Makefile.sources
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_inline_functions.c
src/compiler/nir/nir_lower_constant_initializers.c [deleted file]
src/compiler/nir/nir_lower_variable_initializers.c [new file with mode: 0644]
src/compiler/spirv/spirv_to_nir.c
src/freedreno/vulkan/tu_shader.c
src/gallium/state_trackers/clover/nir/invocation.cpp
src/intel/vulkan/anv_pipeline.c
src/mesa/main/glspirv.c