Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240 could be more descriptive #8625

Open
zmike opened this issue Oct 1, 2024 · 2 comments
Labels
Video Vulkan Video

Comments

@zmike
Copy link
Contributor

zmike commented Oct 1, 2024

Getting this message is not super helpful:

VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240(ERROR / SPEC): msgNum: -46616394 - Validation Error: [ VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240 ] Object 0: handle = 0x555555c65f40, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0xca0b160000000085, type = VK_OBJECT_TYPE_VIDEO_SESSION_KHR; Object 2: handle = 0x1983b0000000008a, type = VK_OBJECT_TYPE_IMAGE_VIEW; Object 3: handle = 0x421a0f0000000074, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0xfd38b0b6 | vkCmdBeginVideoCodingKHR(): pBeginInfo->pReferenceSlots[0].pPictureResource->imageViewBinding (VkImageView 0x1983b0000000008a[] created from VkImage 0x421a0f0000000074[]) is not compatible with the video profile VkVideoSessionKHR 0xca0b160000000085[] was created with. The Vulkan spec states: If the pPictureResource member of any element of pReferenceSlots is not NULL, then the image view specified in pPictureResource->imageViewBinding for that element must be compatible with the video profile videoSession was created with (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240)

VVL should print which check failed.

@zmike
Copy link
Contributor Author

zmike commented Oct 1, 2024

Also affects:

  • VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07135
  • VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07142

@spencer-lunarg spencer-lunarg added the Video Vulkan Video label Oct 1, 2024
@zmike
Copy link
Contributor Author

zmike commented Oct 2, 2024

Also I suspect however profiles are being tracked is broken, since it seems like I'm doing everything correct but I still get errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Video Vulkan Video
Projects
None yet
Development

No branches or pull requests

2 participants