diff options
author | Boris Brezillon <[email protected]> | 2020-03-06 09:59:56 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2020-03-10 12:47:34 +0100 |
commit | 0d75eb002e1e3444052eb93046368dddea9b576c (patch) | |
tree | e35211c30ffc56418f5cddabfdc037c5f2575335 /src/gallium/drivers/panfrost/pan_cmdstream.h | |
parent | 5d33d42b4d42abc9fb8b212222ca5f6d17d94e7d (diff) |
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_cmdstream.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_cmdstream.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -33,6 +33,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, struct midgard_payload_vertex_tiler *vtp); |