mesa/src/compiler
Rhys Perry 2fe13aa2ad nir/dce: fix DCE of loops with a halt or return instruction in the pre-header
If there is a halt or return instruction right before a loop with a single
continue, we would have taken the fast path intended for loops without
continues.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 71a985d80b ("nir/dce: perform DCE for unlooped instructions in a single pass")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10284>
2021-11-29 22:22:24 +00:00
..
clc clc: Use kernel_arg_type_qual string to add const type qualifier to arg metadata 2021-11-15 07:47:00 -08:00
glsl mesa: add gl_linked_shader::linked_source_sha1 2021-11-26 11:58:27 +00:00
isaspec isaspec: Add prototypes for expr evaluators 2021-11-16 18:44:22 +00:00
nir nir/dce: fix DCE of loops with a halt or return instruction in the pre-header 2021-11-29 22:22:24 +00:00
spirv spirv: run nir_copy_prop before nir_rematerialize_derefs_in_use_blocks_impl 2021-11-24 15:43:51 +00:00
builtin_type_macros.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
glsl_types.cpp compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_types.cpp compiler/types: Add a wrap_in_arrays helper 2021-10-16 05:49:34 +00:00
nir_types.h compiler/types: Add a wrap_in_arrays helper 2021-10-16 05:49:34 +00:00
shader_enums.c compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_enums.h compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_info.h nir: add shader_info::source_sha1, its initialization and printing 2021-11-26 11:58:27 +00:00