KhronosGroup / KhronosGroup/Vulkan-ValidationLayers

VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240 could be more descriptive

Open
#8,625 6 comments 0 reactions 0 assignees View on GitHub
Video
Dominant language
C++
Stars
1k
Forks
504
Avg merge
11h 35m
Merged PRs (30d)
224

Description

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.

Contributor guide

Open the contributing guide

Research direction

The issue provides a Vulkan validation message for VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240. Start by locating the validation check that emits this VUID and inspect its diagnostic path; done means the message identifies which image-view or video-profile compatibility check failed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.