gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/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
..
android vulkan: Add/fix various annotations 2022-10-18 13:51:17 +03:00
cocoa macos: Remove old NSApp workaround related code 2023-05-11 20:30:19 +02:00
ios gl/vulkan: Fix static linking on macOS 2022-10-24 00:48:08 +00:00
wayland gst-launch: accept option to set program name 2024-01-12 17:11:11 +00:00
win32 vulkan: gl: change symbols to static 2023-03-23 00:56:04 +00:00
xcb vkwindow_xcb: Make the visible private field a guint 2023-10-23 10:43:52 +05:30
gstvkapi.h
gstvkbarrier.h vulkan: add a timeline semaphore per image 2023-10-26 07:26:22 +00:00
gstvkbuffermemory.c vkmemory: unref queue in barriers 2023-10-26 07:26:22 +00:00
gstvkbuffermemory.h vkbuffermemory: add gst_vulkan_buffer_memory_alloc_with_buffer_info() 2023-05-19 04:26:29 +00:00
gstvkbufferpool.c vkbufferpool: correct usage flags type 2024-04-03 09:36:44 +00:00
gstvkbufferpool.h vkbufferpool: correct usage flags type 2024-04-03 09:36:44 +00:00
gstvkcommandbuffer.c
gstvkcommandbuffer.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkcommandpool-private.h
gstvkcommandpool.c vulkan: Remove unnecessary null checks 2022-11-01 15:19:51 +01:00
gstvkcommandpool.h
gstvkconfig.h.meson vulkan: detect vulkan video extensions 2023-05-19 04:26:28 +00:00
gstvkdebug-private.h
gstvkdebug.c vkdebug: add video queue flags strings 2023-05-19 04:26:28 +00:00
gstvkdebug.h
gstvkdecoder-private.c vkdecoder: change dstmask in decoder frame barrier 2024-05-02 18:07:25 +00:00
gstvkdecoder-private.h vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
gstvkdescriptorcache.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkdescriptorcache.h
gstvkdescriptorpool.c vulkan: Remove unnecessary null checks 2022-11-01 15:19:51 +01:00
gstvkdescriptorpool.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkdescriptorset.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkdescriptorset.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkdevice.c vkdevice: select queue with expected flags 2023-11-21 13:51:21 +00:00
gstvkdevice.h vkdevice: select queue with expected flags 2023-11-21 13:51:21 +00:00
gstvkdisplay.c vulkan: Add missing (nullable) annotation to Returns 2022-11-01 15:19:51 +01:00
gstvkdisplay.h
gstvkerror.c Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
gstvkerror.h
gstvkfence.c vulkan: silence gobject-instrospection warnings 2023-03-22 14:19:13 +00:00
gstvkfence.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkformat.c vkformat: fetch correctly feature flags2 2024-01-30 12:57:41 +00:00
gstvkformat.h vkformat: also check configured usage flags 2023-09-08 16:09:33 +00:00
gstvkfullscreenquad.c vulkan: number of memories in buffer rather than number of planes 2023-05-19 04:26:29 +00:00
gstvkfullscreenquad.h vkfullscreenquad: add support for disabling clearing 2022-06-14 03:34:05 +00:00
gstvkhandle.c
gstvkhandle.h vkdecoder: add gstvkdecoder helper object 2023-11-20 13:32:20 +00:00
gstvkhandlepool.c
gstvkhandlepool.h
gstvkimagebufferpool.c vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimagebufferpool.h vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimagememory.c vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimagememory.h vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimageview.c vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer 2022-11-01 15:19:51 +01:00
gstvkimageview.h vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer 2022-11-01 15:19:51 +01:00
gstvkinstance.c vulkan: Use new GLib APIs as suggested by comments 2023-04-06 00:26:13 +00:00
gstvkinstance.h
gstvkmemory.c vkmemory: invalidate non-coherent memory when mapping for read 2024-03-11 01:55:44 +00:00
gstvkmemory.h vkmemory: don't map memory more than once 2024-01-16 17:44:48 +01:00
gstvkoperation.c vulkan: sink references at instantiation 2024-04-03 08:48:25 +00:00
gstvkoperation.h vkoperation: synchronization helper object 2023-10-26 07:26:22 +00:00
gstvkphysicaldevice-private.h vkphysicaldevice: add gst_vulkan_physical_device_get_features() 2023-05-19 04:26:28 +00:00
gstvkphysicaldevice.c vulkan/physical-device: don't assume that queue_family_ops is filled 2023-10-25 16:38:06 +11:00
gstvkphysicaldevice.h vkphysicaldevice: fetch queue family query result support 2023-05-26 10:08:27 +02:00
gstvkqueue.c vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
gstvkqueue.h vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
gstvkswapper.c vkswapper: choose color space according with format 2024-04-24 13:53:18 +00:00
gstvkswapper.h
gstvktrash.c vulkan: sink references at instantiation 2024-04-03 08:48:25 +00:00
gstvktrash.h
gstvkutils.c vkutils: add gst_vulkan_get_or_create_image_view_with_info() 2023-05-19 04:26:29 +00:00
gstvkutils.h vkdevice: select queue with expected flags 2023-11-21 13:51:21 +00:00
gstvkvideo-private.c vulkan: Fix clang compiler warning 2024-01-26 16:42:30 +00:00
gstvkvideo-private.h vulkan video: add GST_VK_VIDEO_EXTENSIONS enum 2024-01-24 17:00:47 +00:00
gstvkvideofilter.c vulkan: early return if gst_buffer_pool_set_config() fails 2024-01-30 11:58:04 +00:00
gstvkvideofilter.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkvideoutils.c vulkan: decoder: create union for profile usage 2024-01-10 17:15:12 +00:00
gstvkvideoutils.h vulkan: decoder: create union for profile usage 2024-01-10 17:15:12 +00:00
gstvkwindow.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkwindow.h
meson.build vulkan: conceal decoder from public API 2024-04-26 16:24:22 +00:00
vulkan-prelude.h
vulkan.h vkoperation: synchronization helper object 2023-10-26 07:26:22 +00:00
vulkan_fwd.h vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
vulkan_mkenum.py