compiler/types: Constify a couple of pointers in glsl_type
authorCaio Oliveira <caio.oliveira@intel.com>
Fri, 1 Sep 2023 06:45:02 +0000 (23:45 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 23:18:12 +0000 (23:18 +0000)
commit0f41da9160252d65319a58e1f34083ef8aaf01fd
tree578eadc74e23db7b98e64c6d1136c11ba6818a4b
parent412fe99ea6c59bbbaf68a8f3df208420e4e57eb2
compiler/types: Constify a couple of pointers in glsl_type

This will allow builtins to initialize those with read-only
data in the future.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25160>
src/compiler/glsl/ir.h
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h