Introduction to Vulkan Clspv.
- C++17 support compiler
- CMake 3.14 or later
- Vulkan SDK 1.1.126.0 or later
- Clspv ef5ba2b or later
Download submodules
% git submodule update --initCreate a build directory and run CMake.
% cmake -G"Visual Studio 15 2017" -Ax64 -Thost=x64 -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8Make sure the script setup-env.sh in the Vulkan SDK is executed,
and the environment variable VULKAN_SDK points to the location of the Vulkan SDK,
% source ${path-to-vulkan-sdk}/setup-env.sh
% echo ${VULKAN_SDK}
${path-to-vulkan-sdk}/x86_64Create a build directory and run CMake.
% cmake -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8Make sure the environment variable VULKAN_SDK points to the location of the Vulkan SDK.
You can use setup-mac-vulkan-env.sh,
% cp setup-mac-vulkan-env.sh ${path-to-vulkan-sdk}/setup-env.sh
% source ${path-to-vulkan-sdk}/setup-env.sh
% echo ${VULKAN_SDK}
${path-to-vulkan-sdk}/macOSCreate a build directory and run CMake.
% cmake -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8