VKERRORLAYERNOTPRESENT
VKERRORLAYERNOTPRESENT is a Vulkan error code indicating that a requested layer is not present on the system. In Vulkan terminology, it corresponds to VK_ERROR_LAYER_NOT_PRESENT and is typically returned during instance creation when one of the enabled layers cannot be found.
When creating a Vulkan instance (and sometimes when enabling features via validation or other layers), applications
- The requested layer is not installed on the system.
- The layer name in the application’s configuration or code does not match an available layer.
- The layer library is not discoverable due to environment path issues (for example, VK_LAYER_PATH or platform-specific
- Using deprecated or mismatched layer names (for example, older LUNARG names instead of VK_LAYER_KHRONOS_validation).
Diagnosing the issue involves querying the loader for available layers, typically via vkEnumerateInstanceLayerProperties, and inspecting the
Resolution steps include installing the required layer(s), correcting the layer name, ensuring the layer library is
See also: VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_OUT_OF_DATE_KHR, VK_RESULT.