Skip to content
Vulkan best practice for mobile developers
Branch: master
Clone or download
Latest commit 997916d Apr 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/shaders Release 1.0.0 Mar 14, 2019
bldsys Sample entry points now make use of name as well as their id Mar 15, 2019
docs Remove docs/index.md Apr 17, 2019
framework Small improvements Apr 16, 2019
samples
third_party
vulkan_best_practice
.clang-format Release 1.0.0 Mar 14, 2019
.gitignore Release 1.0.0 Mar 14, 2019
.gitlab-ci.yml Release 1.0.0 Mar 14, 2019
.gitmodules Update submodule repos to be consistent Mar 14, 2019
CMakeLists.txt Release 1.0.0 Mar 14, 2019
LICENSE
README.md Readme fixes (#12) Apr 2, 2019
VERSION Release 1.0.0 Mar 14, 2019
banner.jpg

README.md

Vulkan Best Practice for Mobile Developers

Vulkan Best Practice for Mobile Developers banner

Contents

Introduction

The Vulkan Best Practice for Mobile Developers is collection of resources to help you develop optimized Vulkan applications for mobile platforms.

Goals

  • Create a collection of resources that demonstrate best-practice recommendations in Vulkan
  • Create tutorials that explain the implementation of best-practices and include performance analysis guides
  • Create a framework that can be used as reference material and also as a sandbox for advanced experimentation with Vulkan

Disclaimer: This project covers advanced Vulkan concepts. If you are new to Vulkan here are a few links to get you started:

Tutorials

Setup

Clone the repo with submodules using the following command:

git clone --recurse-submodules https://github.com/ARM-software/vulkan_best_practice_for_mobile_developers.git
cd vulkan_best_practice_for_mobile_developers

Follow build instructions for your platform below.

Build

Supported Platforms

Tested on: Samsung Galaxy S9, Samsung Galaxy S10, Huawei Mate 20 Pro, OPPO R15

License

See LICENSE.

This project has some third-party dependencies, each of which may have independent licensing:

  • glfw: A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
  • glm: OpenGL Mathematics
  • glslang: Shader front end and validator
  • HWCPipe: Interface to mobile Hardware Counters
  • dear imgui: Immediate Mode Graphical User Interface
  • SPIRV-Cross: Parses and converts SPIR-V to other shader languages
  • stb: Single-file public domain (or MIT licensed) libraries
  • tinygltf: Header only C++11 tiny glTF 2.0 library
  • vma: Vulkan Memory Allocator
  • volk: Meta loader for Vulkan API
  • vulkan: Sources for the formal documentation of the Vulkan API

This project uses the following 3D models. Each one has its own licence.

  • Sponza license with the following modifications:
    • All textures are converted to ASTC in .ktx format.
    • Converted to gltf using Blender exporter.

Models downloaded from Morgan McGuire's Computer Graphics Archive.

Trademarks

Vulkan is a registered trademark of the Khronos Group Inc.

Contributions

All contributions are accepted under the same LICENSE.

Related resources

  • Mali GPU Best Practices: A document with recommendations for efficient API usage
  • PerfDoc: A Vulkan layer which aims to validate applications against Mali GPU Best Practices
You can’t perform that action at this time.