mesa/src/compiler
Timothy Arceri b74f1d090d glsl: isolate object macro replacments
Here we use a leading space to isolate them from
the code they will be inserted into. For example:

    #define VALUE -1.0
    int a = -VALUE;

Should be evaluated to int a = - -1.0; not int a = --1.0;

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7932

Cc: mesa-stable
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21352>
(cherry picked from commit 3a9edfc494)
2023-02-22 20:29:16 +00:00
..
clc clc: add 32-bit target 2022-10-15 02:23:03 +00:00
glsl glsl: isolate object macro replacments 2023-02-22 20:29:16 +00:00
isaspec isaspec: Move isa_decode(..) declaration 2022-09-03 19:26:04 +00:00
nir nir/from_ssa: Move the loop bounds check in resolve_parallel_copy 2023-02-22 20:29:16 +00:00
spirv utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
builtin_type_macros.h
glsl_types.cpp glsl: fix buffer texture type 2022-11-17 14:05:02 +00:00
glsl_types.h
meson.build
nir_gl_types.h
nir_types.cpp nir/types: Add some asserts to glsl_get_struct_field() 2022-11-01 14:48:41 +00:00
nir_types.h nir: Add a pass to lower mediump temps and shared mem. 2022-09-01 22:39:39 +00:00
shader_enums.c
shader_enums.h
shader_info.h nir, anv, hasvk, radv: pull uses_wide_subgroup_intrinsics into shader_info 2022-09-20 10:19:21 +00:00