mesa/src
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
..
amd aco: look at p_{extract,split}_vector's definitions in pred_by_exec_mask() 2020-03-30 17:34:46 +00:00
broadcom meson: inline inc_common 2020-03-28 21:36:54 +01:00
compiler nir/opt_loop_unroll: Fix has_nested_loop handling 2020-03-30 22:20:47 +00:00
drm-shim meson: inline inc_common 2020-03-28 21:36:54 +01:00
egl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
etnaviv meson: inline inc_common 2020-03-28 21:36:54 +01:00
freedreno meson: inline inc_common 2020-03-28 21:36:54 +01:00
gallium freedreno: Work around UBWC flakiness. 2020-03-30 21:48:59 +00:00
gbm meson: move the generic symbols check arguments to a common variable 2019-11-05 20:30:47 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
gtest meson: gtest needs pthreads 2019-11-07 06:11:19 -08:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Set alignments on descriptor and constant loads 2020-03-30 15:46:19 +00:00
loader loader: Fix leak of kernel driver name 2020-01-30 10:08:17 -08:00
mapi scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
mesa scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
panfrost meson: inline inc_common 2020-03-28 21:36:54 +01:00
util util/u_queue: fix race in total_jobs_size access 2020-03-30 20:17:43 +00:00
vulkan vulkan: drop unused include directories 2020-03-28 21:36:54 +01:00
meson.build meson: inline inc_common 2020-03-28 21:36:54 +01:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00