You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'll add a new function `checkValidationLayerSupport` that checks if all of the requested layers are available.
76
76
First list all of the available layers using the `vkEnumerateInstanceLayerProperties` function.
77
-
Its usage is identical to that of `vkEnumerateInstanceExtensionProperties` which was discussed in the instance creation chapter.
77
+
Its usage is identical to that of `vkEnumerateInstanceExtensionProperties` which was discussed in the instance creation chapter. Next, check if all of the layers in `validationLayers` exist in the `availableLayers` list. You may need to include `<cstring>` for `strcmp`.
0 commit comments