mesa/src/compiler
Caio Oliveira 6bf0654f4a compiler/types: Use designated initializer syntax to specify builtins
For now we use a temporary glsl_type_params struct, we will be able to
use the glsl_type directly once we make it a POD ("plain old data")
struct by getting rid of its constructors and destructors.

Note that since the name is statically allocated, there's no need to
strdup() it, deallocate it and also no need to have a mem_ctx.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25006>
2023-09-13 05:16:58 +00:00
..
clc nir: move the libclc lowering over to functions file. 2023-09-12 01:57:50 +00:00
glsl glsl: Don't create struct type builtins 2023-09-13 05:16:58 +00:00
isaspec isaspec: Make possible to obtain gpu_id in <expr> blocks 2023-09-05 16:19:29 +00:00
nir compiler/types: Remove unused GLSL_TYPE_FUNCTION and related functions 2023-09-12 23:18:12 +00:00
spirv spirv: use a pointer sized int type for opencl event_t 2023-09-13 00:22:51 +00:00
builtin_type_macros.h compiler/types: Use designated initializer syntax to specify builtins 2023-09-13 05:16:58 +00:00
glsl_types.cpp compiler/types: Use designated initializer syntax to specify builtins 2023-09-13 05:16:58 +00:00
glsl_types.h compiler/types: Use designated initializer syntax to specify builtins 2023-09-13 05:16:58 +00:00
meson.build compiler: Move spirv into a module of its own 2023-06-20 16:18:08 +00:00
nir_gl_types.h mesa: #include "util/glheader.h" instead GL/gl.h in shared code 2022-11-03 16:07:31 +00:00
nir_types.cpp compiler/types: Remove unused GLSL_TYPE_FUNCTION and related functions 2023-09-12 23:18:12 +00:00
nir_types.h compiler/types: Remove unused GLSL_TYPE_FUNCTION and related functions 2023-09-12 23:18:12 +00:00
shader_enums.c nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00
shader_enums.h nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00
shader_info.h nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00