mesa/src/compiler
Ian Romanick a858601acd nir: Handle divergence for decl_reg
Once decl_reg is handled, src[0].ssa->divergent will be properly set, so
load_reg and load_reg_indirect do not need special treatment.

shader-db can run to completion on HSW, IVB, and SNB now. No other
testing was done.

v2: Refactor nir_intrinsic_load_reg and nir_intrinsic_load_reg_indirect
handling. Suggested by Daniel Schürmann.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 4fd257d20f ("nir: Properly handle divergence for load_reg")
Fixes: 6dbb5f1e07 ("intel/fs: rerun divergence analysis prior to convert_from_ssa")
Closes: #10233
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26436>
(cherry picked from commit 7fce0a5598)
2023-12-12 10:00:10 +00:00
..
clc nir/load_libclc: fix libclc memory leak 2023-10-11 03:05:23 +00:00
glsl glsl: Retire dround lowering. 2023-10-24 00:16:30 +00:00
isaspec isaspec : fix isaspec build error in aosp 2023-10-13 11:09:40 +00:00
nir nir: Handle divergence for decl_reg 2023-12-12 10:00:10 +00:00
spirv nir: Add NV-specific texture opcodes 2023-10-24 22:21:18 +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.c compiler/types: Remove warnings about potential fallthrough 2023-10-25 01:51:12 +00:00
glsl_types.h compiler/types: Move comments and reorganize declarations 2023-10-25 01:51:12 +00:00
glsl_types_impl.h compiler/types: Add remaining type extraction functions and use them in C++ 2023-10-25 01:51:12 +00:00
meson.build compiler/types: Rename glsl_types.cpp to glsl_types.c 2023-10-25 01:51:12 +00:00
nir_gl_types.h compiler/types: Flip wrapping of remaining small data getters 2023-10-25 01:51:12 +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: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags 2023-10-17 17:27:12 +00:00
shader_info.h nir: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags 2023-10-17 17:27:12 +00:00