byzin / VulkanClspvTest

Introduction to Vulkan Clspv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VulkanClspvTest

Introduction to Vulkan Clspv.

Build instructions

Prerequisites

Dependencies

Download submodules

% git submodule update --init

Windows

Create a build directory and run CMake.

% cmake -G"Visual Studio 15 2017" -Ax64 -Thost=x64 -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8

Linux

Make 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_64

Create a build directory and run CMake.

% cmake -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8

macOS

Make 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}/macOS

Create a build directory and run CMake.

% cmake -DCMAKE_BUILD_TYPE=Release ..
% cmake --build . --config Release --parallel 8

About

Introduction to Vulkan Clspv

License:MIT License


Languages

Language:C++ 76.2%Language:CMake 18.6%Language:Cool 3.1%Language:C 1.7%Language:Shell 0.3%