From 0d75eb002e1e3444052eb93046368dddea9b576c Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 6 Mar 2020 09:59:56 +0100 Subject: panfrost: Move panfrost_attach_vt_framebuffer() to pan_cmdstream.c Move panfrost_attach_vt_framebuffer() to pan_cmdstream.c and change its name to panfrost_vt_attach_framebuffer() so we can use a consistent prefix (panfrost_vt_) for all helpers initializing/updating midgard_payload_vertex_tiler fields. Note that the function only initializes one VT object now. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_cmdstream.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/panfrost/pan_cmdstream.h') diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.h b/src/gallium/drivers/panfrost/pan_cmdstream.h index 326e4b2efe5..86380cd5d8a 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.h +++ b/src/gallium/drivers/panfrost/pan_cmdstream.h @@ -32,6 +32,10 @@ #include "pan_job.h" +void +panfrost_vt_attach_framebuffer(struct panfrost_context *ctx, + struct midgard_payload_vertex_tiler *vt); + void panfrost_emit_shader_meta(struct panfrost_batch *batch, enum pipe_shader_type st, -- cgit v1.2.3