gstreamer/subprojects/gst-plugins-bad/ext/vulkan
Stéphane Cerveau ddb9b9d9ca vkdecoder: change dstmask in decoder frame barrier
Use of VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT instead of
specific VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR

Fix for VUID-vkCmdPipelineBarrier2-srcStageMask-03849

pDependencyInfo->pImageMemoryBarriers[0].srcStageMask
(VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR) is not compatible with
the queue family properties
(VK_QUEUE_GRAPHICS_BIT|VK_QUEUE_COMPUTE_BIT|VK_QUEUE_TRANSFER_BIT|
VK_QUEUE_SPARSE_BINDING_BIT|VK_QUEUE_PROTECTED_BIT) of this
command buffer. The Vulkan spec states: The srcStageMask member
of any element of the pMemoryBarriers, pBufferMemoryBarriers, or
pImageMemoryBarriers members of pDependencyInfo must only
include pipeline stages valid for the queue family that was
used to create the command pool that commandBuffer was allocated
 from (
https://www.khronos.org/registry/vulkan/specs/1.3-extensions/
html/vkspec.html#VUID-vkCmdPipelineBarrier2-srcStageMask-03849)

The frame barrier should use a compatible srcStageMask for all
the queues.

Remove reset_pipeline_stage_mask as it is redundant

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6780>
2024-05-02 18:07:25 +00:00
..
shaders vulkan: minor meson clean ups 2023-05-12 18:04:52 +00:00
gstvulkan.c vulkanh265dec: add H.265 decoder 2024-02-10 17:17:24 +00:00
gstvulkanelement.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvulkanelements.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
meson.build vulkanh265dec: add H.265 decoder 2024-02-10 17:17:24 +00:00
vkcolorconvert.c vulkancolorconvert: actually support passthrough correctly 2023-09-13 01:12:18 +00:00
vkcolorconvert.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkdeviceprovider.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
vkdeviceprovider.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkdownload.c vulkan: early return if gst_buffer_pool_set_config() fails 2024-01-30 11:58:04 +00:00
vkdownload.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkh264dec.c vkdecoder: change dstmask in decoder frame barrier 2024-05-02 18:07:25 +00:00
vkh264dec.h vkh264dec: GST_USE_UNSTABLE_API for plugin compilation 2024-02-05 14:25:38 +01:00
vkh265dec.c vkdecoder: change dstmask in decoder frame barrier 2024-05-02 18:07:25 +00:00
vkh265dec.h vulkanh265dec: add H.265 decoder 2024-02-10 17:17:24 +00:00
vkimageidentity.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
vkimageidentity.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkoverlaycompositor.c vulkan: use VK_QUEUE_FAMILY_IGNORED in barriers 2023-04-28 00:59:57 +00:00
vkoverlaycompositor.h vulkan: add vulkan overlay compositor element 2022-06-14 03:34:06 +00:00
vkshaderspv.c vkshaderspv: fix example 2023-05-10 20:14:07 +02:00
vkshaderspv.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vksink.c navigation: Add support for key Modifiers in all relevant events 2022-03-25 15:16:03 +00:00
vksink.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkupload.c vkupload: remove unused parameter fetching 2024-02-05 10:38:54 +00:00
vkupload.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00
vkviewconvert.c vulkan: number of memories in buffer rather than number of planes 2023-05-19 04:26:29 +00:00
vkviewconvert.h vulkan: move element register definition to relevant element headers 2022-06-14 03:34:05 +00:00