panfrost: fix attribute continuation decoding
authorItalo Nicola <italonicola@collabora.com>
Fri, 11 Dec 2020 07:57:23 +0000 (07:57 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 27 Jan 2021 12:39:41 +0000 (12:39 +0000)
commita36c95cd779aec802d4ed07cf69140cddedaf1cf
tree1b1a864c085bd2ea05533ced8ff057023bc6c972
parent2fc5411e5ef89d26dc9c9c35f29836b7381c5df0
panfrost: fix attribute continuation decoding

Because attribute continuations aren't considered whole attributes, we
need to increase the total number of attributes for each continuation
when decoding, otherwise we will end up missing a buffer for every
continuation we have.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8066>
src/panfrost/lib/decode.c