mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
zink: remove unused barrier function
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12770>
This commit is contained in:
parent
ec2cce6d60
commit
5e17510d51
2 changed files with 0 additions and 11 deletions
|
|
@ -2506,15 +2506,6 @@ zink_resource_needs_barrier(struct zink_resource *res, VkImageLayout layout, VkA
|
|||
return zink_resource_image_needs_barrier(res, layout, flags, pipeline);
|
||||
}
|
||||
|
||||
void
|
||||
zink_resource_barrier(struct zink_context *ctx, struct zink_batch *batch, struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, VkPipelineStageFlags pipeline)
|
||||
{
|
||||
if (res->base.b.target == PIPE_BUFFER)
|
||||
zink_resource_buffer_barrier(ctx, batch, res, flags, pipeline);
|
||||
else
|
||||
zink_resource_image_barrier(ctx, batch, res, layout, flags, pipeline);
|
||||
}
|
||||
|
||||
VkShaderStageFlagBits
|
||||
zink_shader_stage(enum pipe_shader_type type)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -382,8 +382,6 @@ zink_resource_image_barrier(struct zink_context *ctx, struct zink_batch *batch,
|
|||
bool
|
||||
zink_resource_needs_barrier(struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, VkPipelineStageFlags pipeline);
|
||||
void
|
||||
zink_resource_barrier(struct zink_context *ctx, struct zink_batch *batch, struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, VkPipelineStageFlags pipeline);
|
||||
void
|
||||
zink_update_descriptor_refs(struct zink_context *ctx, bool compute);
|
||||
void
|
||||
zink_init_vk_sample_locations(struct zink_context *ctx, VkSampleLocationsInfoEXT *loc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue