aco: ensure predecessors' p_logical_end is in WQM when a p_phi is in WQM
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Jan 2020 19:13:53 +0000 (19:13 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 13:23:03 +0000 (13:23 +0000)
commit2d7386a2d037497656aa9c601091fc4dd6d3ced2
treef3c2df5086ff025be4ea27076373125a1138d054
parent9be9fd85911883521a31111e728efc0f25b9bacd
aco: ensure predecessors' p_logical_end is in WQM when a p_phi is in WQM

We want any copies to be in WQM. I don't know if this fixes any real
application, but I can create a vkrunner test than reproduces the issue.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3273>
src/amd/compiler/aco_insert_exec_mask.cpp