compiler/types: Move the C++ inline functions in glsl_type out of the struct body
authorCaio Oliveira <caio.oliveira@intel.com>
Fri, 1 Sep 2023 23:26:02 +0000 (16:26 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 7 Oct 2023 00:42:54 +0000 (00:42 +0000)
commit2e4802ce45c915af6a8f42ea376c7da9f2de06b6
tree17f103e393543ec117f24b0eea6e22af01c89e2d
parentca3095672f77ff29d06eb6cc90ad4a66128ace4b
compiler/types: Move the C++ inline functions in glsl_type out of the struct body

Just move code, will make easier to flip these to be wrappers to the C code.  Keep
those in a separate header file to reduce cluttering glsl_types.h.

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/glsl_types_impl.h [new file with mode: 0644]
src/compiler/meson.build