Revert "compiler: Combine duplicated implementation of is_gl_identifier into glsl_typ...
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Fri, 4 Aug 2023 11:28:19 +0000 (06:28 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 13:14:35 +0000 (13:14 +0000)
commitbf6d6a0934d4c63a7db136cc0c60f8c406ccfa2d
treefe89561ec0c382af75c16cbd5d80047b232057c9
parentb89a48e00d0713563aec852caed564affd486098
Revert "compiler: Combine duplicated implementation of is_gl_identifier into glsl_types.h"

This reverts commit f9860a84b3cf1735ece78bc5907b2be4e2878f8e.  It's a
bit annoying having this scattered around but it's 100% a GLSL thing and
there's no reason why it should go in glsl_types.h.  The fact that
glsl_print_type() even uses it is a bit sketchy.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24491>
src/compiler/glsl/gl_nir_link_uniforms.c
src/compiler/glsl/gl_nir_link_varyings.c
src/compiler/glsl/gl_nir_linker.c
src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c
src/compiler/glsl/ir.h
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h