pan/indirect_draw: Fix 1 instance, nonzero divisor
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 1 Jun 2021 23:47:03 +0000 (19:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commit16e665713261748ac8ab6ffde3e22c2627326cd1
tree7c6e2734e55648964d779d8ac37b034929f871da
parent14da45259838abe3fd4fbd2df07f5681cc72612c
pan/indirect_draw: Fix 1 instance, nonzero divisor

Instead of doing a complicated hack with the POT divisor, just zero the
stride of the linear attribute buffer like we do on the CPU.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
src/gallium/drivers/panfrost/ci/deqp-panfrost-g52-fails.txt
src/panfrost/lib/pan_indirect_draw.c