panfrost: Add an helper to emit a pair of vertex/tiler jobs
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 5 Mar 2020 17:53:08 +0000 (18:53 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commit528384cb6dedfa43980e89ef8dc8c8380d8645a3
treed6b22f7bd91032f159f943bfa4a04db52d0bef01
parent8e0a08bc8eb2214bd2ba378a894c0b40568444cc
panfrost: Add an helper to emit a pair of vertex/tiler jobs

Add the panfrost_emit_vertex_tiler_jobs() helper and use it in
panfrost_queue_draw().

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