Vulkan-ValidationLayers
Vulkan-ValidationLayers copied to clipboard
CreateImage does not currently respect `VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR`
As originally reported here, creating an image with VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR can trigger a false error.
Valid Usage ID VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251 and similar VUIDs that take image format + usage into account, as only the format + usage matters at image view creation time when extended usage is used (more or less).
Update:
Potential attempt to fix this in https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/3724
related issue - https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/4520
How can I silence that particular validation error?
How can I silence that particular validation error?
-
In Vulkan Config
-
export VK_LAYER_MESSAGE_ID_FILTER=VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251