mesa/src/compiler
Mykhailo Skorokhodov 40042ed25a nir: Rematerialize derefs after opt_dead_cf
Adding `nir_rematerialize_derefs_in_use_blocks_impl`
solves some cases when 'opt_dead_cf()' generates
a phi instruction for the first argument
of the `deref_store` intrinsic.

Signed-off-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6742
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22983>
2023-06-09 21:35:21 +00:00
..
clc clc: relax spec constant validation 2023-06-08 17:22:47 +00:00
glsl compiler: use align instead glsl_align and remove glsl_align 2023-06-08 06:41:21 +00:00
isaspec ir3, isaspec: add raw instruction to assembler/disassembler. 2023-01-26 14:26:11 +00:00
nir nir: Rematerialize derefs after opt_dead_cf 2023-06-09 21:35:21 +00:00
spirv spirv: Use vtn_translate_scope for OpReadClockKHR 2023-06-08 21:21:47 +00:00
builtin_type_macros.h glsl: add texture subpass variants 2022-11-10 10:21:34 +00:00
glsl_types.cpp compiler: use align instead glsl_align and remove glsl_align 2023-06-08 06:41:21 +00:00
glsl_types.h compiler: use align instead glsl_align and remove glsl_align 2023-06-08 06:41:21 +00:00
meson.build meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +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 mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
nir_types.h compiler: Remove redundant struct glsl_type in nir_types.h 2023-06-07 00:33:33 +00:00
shader_enums.c mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
shader_enums.h mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
shader_info.h spirv: add support for SpvCapabilityFragmentBarycentricKHR 2023-06-02 13:25:43 +00:00