llama-cpp-turboquant/examples/android/android-simple
2020-10-04 14:37:26 +01:00
..
app Fully working android in older phones 2020-10-04 14:37:26 +01:00
gradle/wrapper Updated example to not use native activity anymore 2020-10-03 18:27:39 +01:00
.gitignore Updated example to start using core structure 2020-10-01 18:44:25 +01:00
build.gradle Updated example to not use native activity anymore 2020-10-03 18:27:39 +01:00
gradle.properties Updated example to not use native activity anymore 2020-10-03 18:27:39 +01:00
gradlew Updated example to start using core structure 2020-10-01 18:44:25 +01:00
gradlew.bat Updated example to start using core structure 2020-10-01 18:44:25 +01:00
README.md Updated example to start using core structure 2020-10-01 18:44:25 +01:00
settings.gradle Updated example to start using core structure 2020-10-01 18:44:25 +01:00

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.