pan/decode: Use max varying index as varying buffer count
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 31 Jul 2019 18:52:52 +0000 (11:52 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 23:15:03 +0000 (16:15 -0700)
commit9e66ff3ea9a83d202c5b98f5d953fe21fe9d17eb
tree919a91d5320c6ec064f3e8c68f5bfdf43c804159
parent2afedfaf9aa161f8e8acbd1e8048a540db5fcfc8
pan/decode: Use max varying index as varying buffer count

This allows us to decode asymmetric varyings correctly, which occurs
with e.g. gl_FrontFacing.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/pandecode/decode.c