aco/lower_phis: fix all_preds_uniform with continue_or_break
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 22 Feb 2021 15:05:32 +0000 (15:05 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Feb 2021 10:46:56 +0000 (10:46 +0000)
commit75c9adf0398014b21ed9bbbd36f741b02b8f87f7
treeea43d13b8d2a54fd61d930ca86b75012f86b9dae
parent54c17e45ae8596961b02f356254784c2ef46b9e1
aco/lower_phis: fix all_preds_uniform with continue_or_break

Found in a Death Stranding shader with loop unrolling disabled.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 9a089baff1a ("aco: optimize boolean phis with uniform selections")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9193>
src/amd/compiler/aco_lower_phis.cpp