Module: Mesa Branch: main Commit: cd97eb123e1ba2c63809df402b8e27c4c0af5a4a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd97eb123e1ba2c63809df402b8e27c4c0af5a4a
Author: Tomeu Vizoso <[email protected]> Date: Fri Jul 9 16:10:56 2021 +0200 panvk: Expose panvk_cmd_alloc_fb_desc and panvk_cmd_alloc_tls_desc For use in panvk_meta.c. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12019> --- src/panfrost/vulkan/panvk_cmd_buffer.c | 4 ++-- src/panfrost/vulkan/panvk_private.h | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/panfrost/vulkan/panvk_cmd_buffer.c b/src/panfrost/vulkan/panvk_cmd_buffer.c index b04691702aa..aa160c8f3fa 100644 --- a/src/panfrost/vulkan/panvk_cmd_buffer.c +++ b/src/panfrost/vulkan/panvk_cmd_buffer.c @@ -908,7 +908,7 @@ panvk_CmdNextSubpass(VkCommandBuffer cmd, VkSubpassContents contents) } -static void +void panvk_cmd_alloc_fb_desc(struct panvk_cmd_buffer *cmdbuf) { struct panvk_batch *batch = cmdbuf->state.batch; @@ -931,7 +931,7 @@ panvk_cmd_alloc_fb_desc(struct panvk_cmd_buffer *cmdbuf) batch->fb.desc.gpu |= tags; } -static void +void panvk_cmd_alloc_tls_desc(struct panvk_cmd_buffer *cmdbuf) { const struct panfrost_device *pdev = diff --git a/src/panfrost/vulkan/panvk_private.h b/src/panfrost/vulkan/panvk_private.h index b4e331fb6b9..08e6a80150f 100644 --- a/src/panfrost/vulkan/panvk_private.h +++ b/src/panfrost/vulkan/panvk_private.h @@ -673,6 +673,12 @@ void panvk_cmd_get_bifrost_tiler_context(struct panvk_cmd_buffer *cmdbuf, unsigned width, unsigned height); +void +panvk_cmd_alloc_fb_desc(struct panvk_cmd_buffer *cmdbuf); + +void +panvk_cmd_alloc_tls_desc(struct panvk_cmd_buffer *cmdbuf); + void panvk_pack_color(struct panvk_clear_value *out, const VkClearColorValue *in, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
