Files
kompute/examples/android/android-simple/README.md
2020-10-01 18:44:25 +01:00

549 B

Tutorial 02 - use validation layers - 1

  1. Add validation layers into gradle and pack them into apk
  2. Enable all validation layers/extensions found on the system
  3. Use vulkan wrappers in common/vulkan_wrapper directory

Verification

Planted error: this sample sets VkDeviceQueueCreateInfo::pQueuePriorities to nullptr, which will trigger validation layers to notify us from registered callback function vkDebugReportCallbackEX_impl(); putting a breakpoint with Android Studo, observe the breakpoint being triggered.