panfrost: Zero polygon list for fragment-only
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 21 Oct 2022 20:01:56 +0000 (16:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 20:13:11 +0000 (20:13 +0000)
commit1bb68d95322d6dfa9ee53584d129ada4bf6bf1e2
treef5b8e677f2ca5d0579fe35c64a4cfc4ec2f62521
parent63320c691ae2b1637b69d7aee0fe386d05bc013c
panfrost: Zero polygon list for fragment-only

Even with hierarchical tiling. Otherwise if there's garbage leftover (due to BO
caching), a fragment-only batch can raise DATA_INVALID_FAULT. Fixes many tests
in KHR-GLES31.core.compute_shader.* on Mali-T860, including

   KHR-GLES31.core.compute_shader.build-separable

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19238>
src/gallium/drivers/panfrost/pan_cmdstream.c