This extension is no longer maintained and is no longer needed to use vulkan in Defold. To enable vulkan support, you can select graphics adapters via the app manifest:
Please report any issues to the main Defold repository! (https://github.com/defold/defold)
This extension enables Vulkan support for Defold, by adding a Vulkan graphics adapter that will be used if the client device supports it. If Vulkan is not supported, the default OpenGL will be used instead.
In order to add Vulkan support you need to add the extension to your own project by adding this extension as a Defold library dependency. Open your "game.project" file and in the dependencies field under project add:
https://github.com/defold/extension-vulkan/archive/master.zip
Or point to the ZIP file of a specific release (recommended!).
Note that this extension requires that the 'Output Spirv' (shader.output_spirv) setting is enabled in the "game.project" file, otherwise you will get compilation errors when building your projects.
If you run into trouble or if you notice any artifacts while using this extension, please visit our forum and let us know about it. You can also create an issue here.
If you want to only build using only Vulkan you need to exclude the OpenGL graphics adapter. You can do this by creating an application manifest and using it in the Native Extension section of your "game.project" file. You can create an application manifest using this tool: https://britzl.github.io/manifestation/