panfrost: Assign varying buffers dynamically
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 7 Aug 2019 16:49:07 +0000 (09:49 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 9 Aug 2019 18:53:21 +0000 (11:53 -0700)
commit9bc99e60a879d163c052e92d83db0734352f71d5
tree987a4426a829735a83fa0e47fcba65359e995bf0
parent46dae9ef587061849de24875e59e8a293182336d
panfrost: Assign varying buffers dynamically

Rather than hardcoding certain varying buffer indices "by convention",
work it out at draw time. This added flexibility is needed for
futureproofing and will be enable streamout.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_varyings.c