mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-28 18:18:38 +00:00
3e194267d1
While using the validation layer with this pipeline: gst-launch-1.0 videotestsrc num-buffers=10 ! vulkanupload ! vulkancolorconvert ! vulkansink The validation layer throws this message: Code 0 : Validation Error: [ VUID-VkAttachmentDescription-format-06699 ] Object 0: handle = 0x5555562e9610, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x52b3229e | vkCreateRenderPass: pCreateInfo->pAttachments[0] format is VK_FORMAT_B8G8R8A8_UNORM and loadOp is VK_ATTACHMENT_LOAD_OP_LOAD, but initialLayout is VK_IMAGE_LAYOUT_UNDEFINED. The Vulkan spec states: If format includes a color or depth aspect and loadOp is VK_ATTACHMENT_LOAD_OP_LOAD, then initialLayout must not be VK_IMAGE_LAYOUT_UNDEFINED When creating the render pass the loadOp can be either `VK_ATTACHMENT_LOAD_OP_CLEAR` or `VK_ATTACHMENT_LOAD_OP_LOAD` depending on `enable_clear`. While `enable_clear` is FALSE by default (which means `VK_ATTACHMENT_LOAD_OP_LOAD`). Nonetheless, its value is explicitly changed by `vkoverlaycompositor` to FALSE too! This behavior was introduced in merge request #2470 where `VK_ATTACHMENT_LOAD_OP_CLEAR` was a fixed value for loadOp. Thus, the bug consists in a missing initialization of `enable_clear` to TRUE from that merge request. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4296> |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
ios | ||
wayland | ||
win32 | ||
xcb | ||
gstvkapi.h | ||
gstvkbarrier.h | ||
gstvkbuffermemory.c | ||
gstvkbuffermemory.h | ||
gstvkbufferpool.c | ||
gstvkbufferpool.h | ||
gstvkcommandbuffer.c | ||
gstvkcommandbuffer.h | ||
gstvkcommandpool-private.h | ||
gstvkcommandpool.c | ||
gstvkcommandpool.h | ||
gstvkconfig.h.meson | ||
gstvkdebug-private.h | ||
gstvkdebug.c | ||
gstvkdebug.h | ||
gstvkdescriptorcache.c | ||
gstvkdescriptorcache.h | ||
gstvkdescriptorpool.c | ||
gstvkdescriptorpool.h | ||
gstvkdescriptorset.c | ||
gstvkdescriptorset.h | ||
gstvkdevice.c | ||
gstvkdevice.h | ||
gstvkdisplay.c | ||
gstvkdisplay.h | ||
gstvkerror.c | ||
gstvkerror.h | ||
gstvkfence.c | ||
gstvkfence.h | ||
gstvkformat.c | ||
gstvkformat.h | ||
gstvkfullscreenquad.c | ||
gstvkfullscreenquad.h | ||
gstvkhandle.c | ||
gstvkhandle.h | ||
gstvkhandlepool.c | ||
gstvkhandlepool.h | ||
gstvkimagebufferpool.c | ||
gstvkimagebufferpool.h | ||
gstvkimagememory.c | ||
gstvkimagememory.h | ||
gstvkimageview.c | ||
gstvkimageview.h | ||
gstvkinstance.c | ||
gstvkinstance.h | ||
gstvkmemory.c | ||
gstvkmemory.h | ||
gstvkphysicaldevice.c | ||
gstvkphysicaldevice.h | ||
gstvkqueue.c | ||
gstvkqueue.h | ||
gstvkswapper.c | ||
gstvkswapper.h | ||
gstvktrash.c | ||
gstvktrash.h | ||
gstvkutils.c | ||
gstvkutils.h | ||
gstvkvideofilter.c | ||
gstvkvideofilter.h | ||
gstvkwindow.c | ||
gstvkwindow.h | ||
meson.build | ||
vulkan-prelude.h | ||
vulkan.h | ||
vulkan_fwd.h | ||
vulkan_mkenum.py |