mesa/src/compiler
Jason Ekstrand b113170559 nir/opt_loop_unroll: Fix has_nested_loop handling
In 87839680c0, a very subtle mistake was made with the CFG walking
recursion.  Instead of setting the local has_nested_loop variable when
process child loops, has_nested_loop_out was passed directly into the
process_loop_in_block call.  This broke nested loop detection heuristics
and caused loop unrolling to run massively out of control.  In
particular, it makes the following CTS test compile virtually forever:

dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.struct_mixed_types.uniform_buffer_block_geom

Fixes: 87839680c0 "nir: Fix breakage of foreach_list_typed_safe..."
Closes: #2710
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4380>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4380>
2020-03-30 22:20:47 +00:00
..
glsl nir: Use b2b opcodes for shared and constant memory 2020-03-30 15:46:19 +00:00
nir nir/opt_loop_unroll: Fix has_nested_loop handling 2020-03-30 22:20:47 +00:00
spirv vtn/opencl: add rint-support 2020-03-26 10:14:22 +00:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp glsl: fix race in instance getters 2020-03-30 20:17:43 +00:00
glsl_types.h glsl: Add type queries for fp16+float and fp16+float+double 2020-03-09 16:31:08 +00:00
Makefile.sources glsl: Inline builtins in a separate pass 2020-03-24 23:21:21 +00:00
meson.build meson: inline inc_common 2020-03-28 21:36:54 +01:00
nir_types.cpp nir: fix compilation warning on glsl_get_internal_ifc_packing 2020-03-09 09:43:49 +00:00
nir_types.h nir: fix compilation warning on glsl_get_internal_ifc_packing 2020-03-09 09:43:49 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl Move compiler.h and imports.h/c from src/mesa/main into src/util 2020-03-27 21:00:09 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c compiler: add new SYSTEM_VALUE_BARYCENTRIC_* 2020-01-29 09:49:50 +00:00
shader_enums.h compiler: add new SYSTEM_VALUE_BARYCENTRIC_* 2020-01-29 09:49:50 +00:00
shader_info.h nir: Collect if shader uses cross-invocation or indirect I/O. 2020-03-30 13:09:08 +00:00