aux/vk: Move vk_insert_image_memory_barrier declaration (NFC)

This commit is contained in:
Jakob Bornecrantz 2022-04-01 18:54:18 +01:00
parent dea7bc847e
commit d31232c794

View file

@ -742,8 +742,26 @@ vk_set_image_layout(struct vk_bundle *vk,
VkImageLayout new_layout,
VkImageSubresourceRange subresource_range);
/*!
* Adds barrier to image
*
* @ingroup aux_vk
*/
void
vk_insert_image_memory_barrier(struct vk_bundle *vk,
VkCommandBuffer cmdbuffer,
VkImage image,
VkAccessFlags srcAccessMask,
VkAccessFlags dstAccessMask,
VkImageLayout oldImageLayout,
VkImageLayout newImageLayout,
VkPipelineStageFlags srcStageMask,
VkPipelineStageFlags dstStageMask,
VkImageSubresourceRange subresourceRange);
/*!
* @pre Requires successful call to vk_init_mutex
*
* @ingroup aux_vk
*/
VkResult
@ -975,24 +993,6 @@ vk_csci_get_image_view_aspect(VkFormat format, enum xrt_swapchain_usage_bits bit
VkExternalMemoryHandleTypeFlags
vk_csci_get_image_external_handle_type(struct vk_bundle *vk);
/*!
*
* Adds barrier to image
*
*/
void
vk_insert_image_memory_barrier(struct vk_bundle *vk,
VkCommandBuffer cmdbuffer,
VkImage image,
VkAccessFlags srcAccessMask,
VkAccessFlags dstAccessMask,
VkImageLayout oldImageLayout,
VkImageLayout newImageLayout,
VkPipelineStageFlags srcStageMask,
VkPipelineStageFlags dstStageMask,
VkImageSubresourceRange subresourceRange);
/*
*