mesa/src/compiler
Alyssa Rosenzweig 335cf5f22f nir: Use a tagged pointer for nir_src parents
This allows us to pack the is_if boolean into the bottom bit of the parent
pointer, eliminating the boolean and hence shrinking the nir_src by 8 bytes (due
to the extra 63 bits of padding incurred in the old layout).

Because all access is forced through helpers now, this is a local change.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24671>
2023-10-10 04:58:05 -04:00
..
clc meson: Remove unnecessary inc_compiler mentions 2023-09-22 14:52:50 +00:00
glsl glsl: remove now unused varying linker code 2023-09-28 13:55:16 +00:00
isaspec isaspec: Add BitSetEnumValue object 2023-10-03 12:07:04 +00:00
nir nir: Use a tagged pointer for nir_src parents 2023-10-10 04:58:05 -04:00
spirv spirv: Track when a shader has a cooperative matrix 2023-09-28 07:35:02 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py compiler/types: Use a string table for builtin type names 2023-09-16 15:17:01 +00:00
builtin_types_cpp_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
glsl_types.cpp compiler/types: Flip wrapping of convenience accessors for vector types 2023-10-07 00:42:54 +00:00
glsl_types.h compiler/types: Flip wrapping of basic "get type" functions 2023-10-07 00:42:55 +00:00
glsl_types_impl.h compiler/types: Flip wrapping of convenience accessors for vector types 2023-10-07 00:42:54 +00:00
meson.build compiler/types: Move the C++ inline functions in glsl_type out of the struct body 2023-10-07 00:42:54 +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: Flip wrapping of basic "get type" functions 2023-10-07 00:42:55 +00:00
nir_types.h compiler/types: Move C declarations into glsl_types.h 2023-10-07 00:42:54 +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: gather dual slot input information 2023-10-07 11:18:40 +00:00