mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 23:50:11 +01:00
zink: delete unused barrier api
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22027>
This commit is contained in:
parent
30d59c469a
commit
61c236bc31
2 changed files with 0 additions and 10 deletions
|
|
@ -4108,14 +4108,6 @@ zink_resource_buffer_barrier2(struct zink_context *ctx, struct zink_resource *re
|
|||
zink_resource_copies_reset(res);
|
||||
}
|
||||
|
||||
bool
|
||||
zink_resource_needs_barrier(struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, VkPipelineStageFlags pipeline)
|
||||
{
|
||||
if (res->base.b.target == PIPE_BUFFER)
|
||||
return zink_resource_buffer_needs_barrier(res, flags, pipeline);
|
||||
return zink_resource_image_needs_barrier(res, layout, flags, pipeline);
|
||||
}
|
||||
|
||||
static void
|
||||
zink_flush(struct pipe_context *pctx,
|
||||
struct pipe_fence_handle **pfence,
|
||||
|
|
|
|||
|
|
@ -122,8 +122,6 @@ zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res,
|
|||
void
|
||||
zink_resource_image_barrier2(struct zink_context *ctx, struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline);
|
||||
bool
|
||||
zink_resource_needs_barrier(struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, VkPipelineStageFlags pipeline);
|
||||
bool
|
||||
zink_check_unordered_transfer_access(struct zink_resource *res, unsigned level, const struct pipe_box *box);
|
||||
void
|
||||
zink_resource_image_transfer_dst_barrier(struct zink_context *ctx, struct zink_resource *res, unsigned level, const struct pipe_box *box);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue