mesa/src/compiler
Timothy Arceri e34357015c glsl: fix compiler global temp collisions
glsl ir creates these temps to copy global initialiser values for
example. To avoid collisions during linking due to 2 shaders in the same
stage having temps with the same name we make sure to define these as
function variables not shader globals. This will put the temps into the
global instructions wrapper created in 7c5b21c032.

Fixes: cbfc225e2b ("glsl: switch to a full nir based linker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12136

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32202>
2024-11-20 03:20:47 +00:00
..
clc clc: add mesa_clc tool 2024-11-01 13:25:37 -07:00
glsl glsl: fix compiler global temp collisions 2024-11-20 03:20:47 +00:00
isaspec build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
nir nir: make use_interpolated_input_intrinsics a nir_lower_io parameter 2024-11-20 02:45:37 +00:00
rust compiler/rust: Use std::mem::offset_of!() 2024-11-18 22:29:13 +00:00
spirv vtn: handle struct kernel arguments passed by value 2024-11-18 12:12:21 +00:00
builtin_types.py compiler/types: Add multisample vimage/vtexture types 2024-08-27 15:06:16 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: Add multisample vimage/vtexture types 2024-08-27 15:06:16 +00:00
glsl_types.h nir/lower_vars_to_scratch: calculate threshold-limited variable size separately 2024-08-07 14:32:28 +00:00
meson.build nak: Move bitset to compiler crate 2024-08-07 21:08:18 +00:00
shader_enums.c nir: add SYSTEM_VALUE_PIXEL_COORD 2024-11-04 12:34:30 +00:00
shader_enums.h aco,ac/nir: flag loads to use smem in NIR 2024-11-13 12:59:26 +00:00
shader_info.h nir: add shader_info::tess::tcs_same_invocation_inputs_read(_indirect) 2024-10-21 18:53:51 +00:00