compiler/types: Move C declarations into glsl_types.h
authorCaio Oliveira <caio.oliveira@intel.com>
Fri, 29 Sep 2023 18:09:55 +0000 (11:09 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 7 Oct 2023 00:42:54 +0000 (00:42 +0000)
commit68f3b0100ff99c816f1a52fc0ecb9536a3fd066f
tree50fe1f5e9313f3a5b48333bdef75459da869fe43
parent2e4802ce45c915af6a8f42ea376c7da9f2de06b6
compiler/types: Move C declarations into glsl_types.h

This ensures they'll be visible for the C++ inline implementations.
Reordered the functions to better organize them: queries, getters,
transformers, layout functions.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25470>
src/compiler/glsl_types.h
src/compiler/nir_types.h