mesa/src
Jesse Natalie 5d238c0c2c nir_lower_returns: Optimize phis before beginning the pass
This adds a little extra work, since now dominance is computed and
blocks that don't just have then-return or else-return are looked at.
However it means that nir_lower_returns can now keep phis up to date
by inserting undefs without causing some phis to become non-trivial.

This ends up obviating a couple of tests for lower_returns.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913>
2023-05-26 18:31:30 +00:00
..
amd ci/amd: only define AMDGPU_GPU_ID for the duration of the call 2023-05-26 09:34:53 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi agx: Use common combine_all_barriers callback 2023-05-24 17:30:03 +00:00
broadcom v3dv: fix align() computation for pixel formats with non-POT block sizes 2023-05-25 20:25:04 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir_lower_returns: Optimize phis before beginning the pass 2023-05-26 18:31:30 +00:00
drm-shim drm-shim: Use anonymous file for file override 2023-05-16 04:31:22 +00:00
egl meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
etnaviv mesa/main: drop use_legacy_math_rules 2023-05-04 06:11:44 +00:00
freedreno ci: bump from Debian 11 (bullseye) to 12 (bookworm) 2023-05-25 16:06:51 +02:00
gallium virgl: enable ARB_gl_spirv 2023-05-26 13:25:18 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: fix build with APPLEGL 2023-05-15 03:50:30 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: fix invalid read reported by valgrind 2023-05-25 01:51:36 +00:00
imgui
intel anv: opportunistically align VMA to 2Mb 2023-05-26 12:58:13 +00:00
loader loader/dri3: temporarily work around a crash when front is NULL 2023-05-18 06:25:46 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa mesa: Implement GL_CLEAR_TEXTURE flag 2023-05-26 15:13:54 +00:00
microsoft nir: fsub -> fadd_imm 2023-05-25 06:59:25 +00:00
nouveau treewide: Avoid nir_lower_regs_to_ssa calls 2023-05-24 17:30:03 +00:00
panfrost panfrost: rename *.cc files to *.cpp 2023-05-26 18:07:38 +01:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util: move pot functions to use existing macros 2023-05-25 21:24:45 +00:00
virtio virgl: signal support for group vote and draw parameters 2023-05-26 13:25:18 +00:00
vulkan wsi/display: drop unused parameters from local functions 2023-05-26 14:34:17 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00