panfrost: Allocate XFB buffers per-instance
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 7 Jun 2021 19:25:49 +0000 (15:25 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commit7e25b20d3f6a98e4314a6a071e090212188fb398
treed27398cd98ef2409b02895ca2f4bc5c1324c5ba6
parent9985c5bb88ff97180eb03cb7fa3e0528209920c3
panfrost: Allocate XFB buffers per-instance

Somehow XFB gets so little use we never noticed. Fixes:

   KHR-GLES31.core.vertex_attrib_binding.basic-input-case9
   KHR-GLES31.core.vertex_attrib_binding.basic-input-case11
   KHR-GLES31.core.vertex_attrib_binding.basic-inputI-case2

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