mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
vulkan: change ff_vk_frame_barrier access and stage type to sync2
Cleans up a compiler warning.
This commit is contained in:
@@ -2043,11 +2043,11 @@ fail:
|
|||||||
|
|
||||||
void ff_vk_frame_barrier(FFVulkanContext *s, FFVkExecContext *e,
|
void ff_vk_frame_barrier(FFVulkanContext *s, FFVkExecContext *e,
|
||||||
AVFrame *pic, VkImageMemoryBarrier2 *bar, int *nb_bar,
|
AVFrame *pic, VkImageMemoryBarrier2 *bar, int *nb_bar,
|
||||||
VkPipelineStageFlags src_stage,
|
VkPipelineStageFlags2 src_stage,
|
||||||
VkPipelineStageFlags dst_stage,
|
VkPipelineStageFlags2 dst_stage,
|
||||||
VkAccessFlagBits new_access,
|
VkAccessFlagBits2 new_access,
|
||||||
VkImageLayout new_layout,
|
VkImageLayout new_layout,
|
||||||
uint32_t new_qf)
|
uint32_t new_qf)
|
||||||
{
|
{
|
||||||
int found = -1;
|
int found = -1;
|
||||||
AVVkFrame *vkf = (AVVkFrame *)pic->data[0];
|
AVVkFrame *vkf = (AVVkFrame *)pic->data[0];
|
||||||
|
|||||||
@@ -507,10 +507,10 @@ int ff_vk_create_imageviews(FFVulkanContext *s, FFVkExecContext *e,
|
|||||||
|
|
||||||
void ff_vk_frame_barrier(FFVulkanContext *s, FFVkExecContext *e,
|
void ff_vk_frame_barrier(FFVulkanContext *s, FFVkExecContext *e,
|
||||||
AVFrame *pic, VkImageMemoryBarrier2 *bar, int *nb_bar,
|
AVFrame *pic, VkImageMemoryBarrier2 *bar, int *nb_bar,
|
||||||
VkPipelineStageFlags src_stage,
|
VkPipelineStageFlags2 src_stage,
|
||||||
VkPipelineStageFlags dst_stage,
|
VkPipelineStageFlags2 dst_stage,
|
||||||
VkAccessFlagBits new_access,
|
VkAccessFlagBits2 new_access,
|
||||||
VkImageLayout new_layout,
|
VkImageLayout new_layout,
|
||||||
uint32_t new_qf);
|
uint32_t new_qf);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user