aco: Fix assert in insert_exec_mask
authorFriedrich Vock <friedrich.vock@gmx.de>
Mon, 12 Jun 2023 12:59:47 +0000 (14:59 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Jun 2023 14:20:28 +0000 (14:20 +0000)
commit9de81344107afe0b08d083145e1db8f362a6fdf7
treeff769b7a0a34b54b4d1a2bb2ae57ab7fa2f3c518
parent3ea01b86f0afa293bffeac013de0f475d8c8cd1f
aco: Fix assert in insert_exec_mask

This assert would trigger on unconditional demotes, because the demotes
don't remove the mask_type_global flag from the exec mask.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23594>
src/amd/compiler/aco_insert_exec_mask.cpp