mesa/src/compiler
Faith Ekstrand 26e32417b9 nir: Add an option to make lower_phis_to_regs_block() less clever
Right now it tries to place reg_write instructions as far up the
predecessor chain as possible.  This is useful for a bunch of the passes
that call it since it ensures they don't get placed in dead blocks or in
single successors and things like that.  But it screws up NAK's control
flow lowering so we need the option to turn it off and make the pass
place the reg_write instructions in the most obvious place possible.

Fixes: b013d54e4f ("nak/lower_cf: Flag phis as convergent when possible")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36914>
2025-08-29 01:24:56 +00:00
..
clc util: Refactoring util_dl_get_path_from_proc out of clc/clc_helpers.cpp 2025-08-07 21:15:13 +00:00
glsl mesa,glsl: add mesh shader subrotine handling 2025-08-22 10:01:57 +00:00
isaspec meson: do not compile libisaspec unless used 2025-03-25 08:32:47 +00:00
libcl libcl: avoid calling UNREACHABLE(str) macro without arguments 2025-08-04 23:15:18 +02:00
nir nir: Add an option to make lower_phis_to_regs_block() less clever 2025-08-29 01:24:56 +00:00
rust nir: add nir_intrinsic_cmat_load_shared_nv 2025-08-28 16:09:07 +02:00
spirv spirv: Fix RT raygen hit attribute validation error 2025-08-13 10:20:35 +00:00
builtin_types.py compiler: add float8 glsl types 2025-06-23 07:59:24 +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 compiler: Generate files with newline at end 2025-06-24 14:01:04 +00:00
glsl_types.c compiler/types: handle BFLOAT16 when decoding blob 2025-08-20 04:12:00 +00:00
glsl_types.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
list.h nir: remove unused stuff from list.h 2025-07-31 20:23:04 +00:00
meson.build nir: move list.h outside the glsl directory 2025-07-31 20:23:02 +00:00
shader_enums.c nir,spirv: Add support for SPV_ARM_core_builtins 2025-08-07 11:46:33 +02:00
shader_enums.h nir: add ACCESS_SKIP_HELPERS 2025-08-12 08:56:37 +00:00
shader_info.h all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00