panfrost: Move vertex/tiler payload initialization out of panfrost_draw_vbo()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 6 Mar 2020 07:02:14 +0000 (08:02 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commit5d9995e82cdbf41efb7fb886922244eb958e4a9d
treed25343bbec65ac6ec12304297f22a588c78b3c24
parent13881a4dada8653a5857a1dad969f7c4acf3db0c
panfrost: Move vertex/tiler payload initialization out of panfrost_draw_vbo()

Add a panfrost_vt_set_draw_info() function taking care of the draw
related initialization of the vertex and tiler payloads.

Signed-off-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/4083>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_cmdstream.h
src/gallium/drivers/panfrost/pan_context.c