06-14-2024 03:25 AM - edited 06-14-2024 03:25 AM
Is it possible to use the vulkan validation layer on Quest 3?
I've enabled the XR_EXT_DEBUG_UTILS_EXTENSION when creating the xr instance, and have created a debug callback using xrCreateDebugUtilsMessengerEXT. I tried doing the same thing in the vulkan instance: I add VK_EXT_DEBUG_UTILS_EXTENSION, but when I call vkGetInstanceProcAddr to get vkCreateDebugReportCallbackEXT I get null (so I'm assuming the xr version takes precedence and you don't use the vk extension).
When I try to add VK_LAYER_KHRONOS_validation layer to the VkInstanceCreateInfo and call xrCreateVulkanInstanceKHR, it fails, returning XR_ERROR_VALIDATION_FAILURE.
Solved! Go to Solution.
06-14-2024 02:14 PM
Turned out what I was doing was correct, I was just missing the important step of copying libVkLayer_khronos_validation.so into AndroidProject\app\src\main\jniLibs\arm64-v8a
Once I copied that in, it all just worked.
06-14-2024 02:14 PM
Turned out what I was doing was correct, I was just missing the important step of copying libVkLayer_khronos_validation.so into AndroidProject\app\src\main\jniLibs\arm64-v8a
Once I copied that in, it all just worked.