glsl: move some GL ES checks to the NIR linker
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 5 Apr 2023 01:53:13 +0000 (11:53 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 08:07:35 +0000 (08:07 +0000)
commit5a29af262c51682c0a3f6d2ac1c686c7a7de88a7
treec6978a7f557462e373f2de0cd6590f815421cd15
parentbf8f11a2de848f288159fc8bba9d0152665b3997
glsl: move some GL ES checks to the NIR linker

Eventually we should aim to remove the GLSL IR linker.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22305>
src/compiler/glsl/gl_nir_linker.c
src/compiler/glsl/linker.cpp