diff options
author | Lynne <dev@lynne.ee> | 2023-10-24 22:43:06 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-10-25 20:51:54 +0200 |
commit | 467e4118393170ff11b7725ec4565350fd1da195 (patch) | |
tree | 7b458a273da63497aa58a9494cb11136dd11ae90 /libavutil/log.h | |
parent | 9ee4f47c94083b4fe38d4e217a7d65055d3ad53f (diff) | |
download | ffmpeg-467e4118393170ff11b7725ec4565350fd1da195.tar.gz |
vulkan_decode: fix pedantic validation issue
"Validation Error: [ VUID-VkImageViewCreateInfo-imageViewType-04974 ] Object 0: handle = 0x9f9b41000000003c, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0xc120e150 | vkCreateImageView():
Using pCreateInfo->viewType VK_IMAGE_VIEW_TYPE_2D and the subresourceRange.layerCount VK_REMAINING_ARRAY_LAYERS=(17) and must 1 (try looking into VK_IMAGE_VIEW_TYPE_*_ARRAY).
The Vulkan spec states: If viewType is VK_IMAGE_VIEW_TYPE_1D, VK_IMAGE_VIEW_TYPE_2D, or VK_IMAGE_VIEW_TYPE_3D; and subresourceRange.layerCount is VK_REMAINING_ARRAY_LAYERS,
then the remaining number of layers must be 1"
Diffstat (limited to 'libavutil/log.h')
0 files changed, 0 insertions, 0 deletions