commit | 09b9e52c0d8945afbfa79e5fe8f6db75a02e6980 | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Thu Oct 15 23:17:12 2020 +0200 |
committer | Timur Kristóf <timur.kristof@gmail.com> | Wed Oct 28 21:55:47 2020 +0100 |
tree | 09a6ee55c4ad3596f9a2eff72a20e1509885ffe2 | |
parent | 73449f9a6237fb54d339db08a9912c26cdbb8e6a [diff] |
aco/ngg: Export a zero-area triangle when primitive count is 0. This is a workaround for a bug in Navi 1x NGG HW. Very rarely, the Navi 1x PA can hang when an NGG workgroup exports 0 total primitives. According to AMD, we always need this workaround when it is possible that the number of primitives is 0. 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>