commit | 9757c3cb6b810431f3ea1fdeca97da4aeeef384d | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Thu Oct 15 10:58:34 2020 +0200 |
committer | Timur Kristóf <timur.kristof@gmail.com> | Wed Oct 28 21:47:19 2020 +0100 |
tree | ff984e4437240b86073c6a6500260b3e2a0b8568 | |
parent | 915f2919f64f40f2cd51ae10dc85c685edda97ef [diff] |
aco: Assert that workgroup barriers are not used inappropriately. Example: It is possible for some NGG GS waves to have 0 ES and/or GS invocations, and in that case having an s_barrier inside divergent control flow can very possibly hang the GPU. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7232>