Updated example to start using core structure

This commit is contained in:
Alejandro Saucedo 2020-10-01 18:44:25 +01:00
parent 0182836386
commit 6c41ceb0b2
15 changed files with 622 additions and 118 deletions

View file

@ -1,5 +1,14 @@
Vulkan Kompute Android Example
Tutorial 02 - use validation layers - 1
===========
Loading Vulkan to Andriod Application using Vulkan Kompute.
1. Add validation layers into gradle and pack them into apk
1. Enable all validation layers/extensions found on the system
1. 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.