aco: set has_divergent_branch for discards in loops
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 31 Jan 2020 12:40:51 +0000 (12:40 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 23 Mar 2020 15:55:12 +0000 (15:55 +0000)
commitf1a2e1df7882e9d3816f28d6a0827d4ac66ac8f6
tree865b2ebc9d6b1a21ed1abcc14cd63a2e128c7d66
parent8bc3d6574c4b0acf9e9b50f6a63648f149c317c3
aco: set has_divergent_branch for discards in loops

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3658>
src/amd/compiler/aco_instruction_selection.cpp