panfrost: Unify payload_vertex/payload_tiler
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 31 Jul 2019 21:05:14 +0000 (14:05 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 23:23:02 +0000 (16:23 -0700)
commit0da52015a17527200d10a5d93ffba9accdffb4b8
tree9f3dd5e88c12b15803ee0c56cf4aecb95b54d15a
parent902115f94fa1a1f2b8ca151cbf1ec07e4a0e76df
panfrost: Unify payload_vertex/payload_tiler

Rather than disparate variables, let's use an array of payloads indexed
by the shader stage.

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