mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
panvk: Expose panvk_cmd_alloc_fb_desc and panvk_cmd_alloc_tls_desc
For use in panvk_meta.c. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12019>
This commit is contained in:
parent
f295e7f1d9
commit
cd97eb123e
2 changed files with 8 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue