panfrost: Remove most usage of midgard_payload_vertex_tiler
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 8 Apr 2020 08:55:28 +0000 (10:55 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 10 Apr 2020 14:53:03 +0000 (16:53 +0200)
commit7b10d4ece6407db267bf89550b013829d9ad9b20
tree1382f4ae07a874da4f4d8e282ed756d2ec8d2eb8
parentb010a6d5f15520677d34015c88ec89046b811372
panfrost: Remove most usage of midgard_payload_vertex_tiler

By passing the prefix and postfix structs around, we can use most of the
cmdstream functions as well for bifrost, as those structs haven't
changed between midgard and bifrost.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_cmdstream.h
src/gallium/drivers/panfrost/pan_compute.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c