compiler/types: Use glsl_get_type_name() to access the type name
authorCaio Oliveira <caio.oliveira@intel.com>
Tue, 12 Sep 2023 19:11:18 +0000 (12:11 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 16 Sep 2023 15:17:01 +0000 (15:17 +0000)
commitbf01000a501632cd9266daa55b2dadad7fcccbd2
tree4e8493896ebdd1f37f19ac6de695a5e97228e7fb
parentd1e9e7699e6dda7a2181c7fbfdb731aa83c9e258
compiler/types: Use glsl_get_type_name() to access the type name

This will allow us later to store builtin names in a different way.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25191>
21 files changed:
src/compiler/glsl/ast.h
src/compiler/glsl/ast_function.cpp
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/builtin_types.cpp
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/ir_builder_print_visitor.cpp
src/compiler/glsl/ir_print_visitor.cpp
src/compiler/glsl/ir_validate.cpp
src/compiler/glsl/link_interface_blocks.cpp
src/compiler/glsl/link_uniform_block_active_visitor.cpp
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/linker.cpp
src/compiler/glsl/linker_util.cpp
src/compiler/glsl/lower_named_interface_blocks.cpp
src/compiler/glsl/tests/lower_int64_test.cpp
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h
src/compiler/nir_types.h
src/mesa/main/uniform_query.cpp