some code for vulkan
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CMakeLists.txt
README.md
example.cc

README.md

Vulkan Examples

Windows

Install Vulkan's SDK and use cmake to build

mkdir build
cd build
cmake -G "Visual Studio 14 Win64" ..
msbuild vulkan-example.vcxproj

make sure you are use Visual Studio 2013 Update 4 or later

Refer to Lunar Get Started with Windows

Linux

mkdir build
cd build
cmake -DVULKAN_SDK=$HOME/VulkanSDK/1.0.51.0/x86_64 ..
make -j $(proc)

Refer to Lunar Get Started with Linux

make sure you are use C++11 compatible compiler such as gcc 4.8 or clang