mesa/src
Arcady Goldmints-Orlov ec1b96fdc8 nir: Lower returns correctly inside nested loops
Inside nested flow control, nir_lower_returns inserts predicated breaks
in the outer block. However, it would omit doing this if the remainder
of the outer block (after the inner block) was empty. This is not
correct in the case of loops, as execution just wraps back around to the
start of the loop, so this change doesn't skip the predication inside
loops.

Fixes: 79dec93ead (nir: Add return lowering pass)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2724

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4603>
2020-04-19 02:54:08 +00:00
..
amd Fix promotion of floats to doubles 2020-04-18 19:55:45 +00:00
broadcom drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
compiler nir: Lower returns correctly inside nested loops 2020-04-19 02:54:08 +00:00
drm-shim drm-shim: stub libdrm's use of realpath() 2020-04-03 21:14:18 +00:00
egl EGL: Add eglSetDamageRegionKHR to GLVND dispatch list 2020-04-03 12:22:51 +01:00
etnaviv drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
freedreno ir3/ra: Fix off-by-one issues with live-range extension 2020-04-18 17:31:56 +00:00
gallium Fix promotion of floats to doubles 2020-04-18 19:55:45 +00:00
gbm gbm/dri: Propagate queryDmaBufModifiers return value 2020-04-16 10:19:35 +00:00
getopt
glx glx: omit loader_loader() for macOS 2020-04-15 11:37:21 +00:00
gtest meson: use override_options to change warning-level 2020-04-16 14:48:40 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui
intel anv: Apply any needed PIPE_CONTROLs before emitting state 2020-04-19 02:41:22 +00:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi mesa: fix enum value of VIEWPORT_SWIZZLE_POSITIVE_W_NV 2020-04-15 16:43:36 +02:00
mesa Fix promotion of floats to doubles 2020-04-18 19:55:45 +00:00
panfrost pan/bit: Add fp16 min/max tests 2020-04-17 16:25:36 -04:00
util util/sparse_free_list: manipulate node pointers using atomic primitives 2020-04-18 12:18:03 +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