Vulkan-Tools
Vulkan-Tools copied to clipboard
Mock ICD should either report 1.1 support, or fix UpdateAfterBind limits
Context: https://gitlab.khronos.org/vulkan/vulkan/-/issues/3324
The Vulkan spec has this regarding UpdateAfterBind limits:
The UpdateAfterBind descriptor limits must each be greater than or equal to the corresponding non-UpdateAfterBind limit.
However, the Mock ICD doesn't fill these values and returns 0. This results in validation layers when using the Mock ICD and asking for Vulkan version > 1.1, even though Mock ICD advertises support for the latest version:
pProperties->apiVersion = VK_HEADER_VERSION_COMPLETE;
Either the Mock ICD should advertise only Version 1.1 or (better yet) fix these limits.