This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:applications:vulkan [2025/05/14 22:17] nick |
products:sbc:common:applications:vulkan [2025/07/15 09:32] (current) nick |
||
---|---|---|---|
Line 112: | Line 112: | ||
+ | ===== Run Vulkan examples ===== | ||
+ | |||
+ | Run Vulkan examples from [[gh> | ||
+ | |||
+ | Build the examples: | ||
+ | |||
+ | ```shell | ||
+ | $ sudo apt update | ||
+ | $ sudo apt install -y cmake g++ libvulkan-dev pkg-config libwayland-dev xorg-dev glslang-tools wayland-protocols | ||
+ | $ git clone https:// | ||
+ | $ cd Vulkan | ||
+ | $ git submodule init | ||
+ | $ git submodule update | ||
+ | $ mkdir build && cd build | ||
+ | $ cmake -S .. -DGLSLANG_INSTALL_DIR=/ | ||
+ | $ make -j4 | ||
+ | ``` | ||
+ | |||
+ | Run Vulkan examples: | ||
+ | |||
+ | ```shell | ||
+ | $ cd bin/ | ||
+ | $ ls | ||
+ | bloom debugprintf | ||
+ | bufferdeviceaddress | ||
+ | computecloth | ||
+ | computecullandlod | ||
+ | computeheadless | ||
+ | computenbody | ||
+ | computeparticles | ||
+ | computeraytracing | ||
+ | computeshader | ||
+ | conditionalrender | ||
+ | conservativeraster | ||
+ | $ ./ | ||
+ | |||
+ | ``` | ||
+ | |||
+ | {{: | ||