Skip to content

A playground to exercises rust and vulkan programming

Notifications You must be signed in to change notification settings

kKdH/rust-vulkan-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Vulkan Playground

A playground to exercises rust and vulkan programming

Development

Prerequisites

Mesa Vulkan Driver

sudo apt install mesa-vulkan-drivers

Vulkan SDK

Ubuntu 22.04 (Jammy Jellyfish)
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.236-jammy.list https://packages.lunarg.com/vulkan/1.3.236/lunarg-vulkan-1.3.236-jammy.list
sudo apt update
sudo apt install vulkan-sdk
Ubuntu 18.04 (Bionic Beaver)
wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-bionic.list http://packages.lunarg.com/vulkan/lunarg-vulkan-bionic.list
sudo apt update
sudo apt install vulkan-sdk

Compiling Shaders

glslc shaders/vertext.vert -o src/vertext.sp

Misc

Vulkan Layers

Name Kind Description

VK_LAYER_LUNARG_api_dump

utility

Print API calls and their parameters and values.

VK_LAYER_LUNARG_screenshot

utility

Outputs specified frames to an image file as they are presented.

VK_LAYER_KHRONOS_validation

validation

Main Vulkan validation layer: validates parameter correctness, Vulkan object lifetimes, externally synchronized thread safety, and the core state-tracked Vulkan validation checks.

VK_LAYER_LUNARG_device_simulation

utility

Allows modification of an actual device’s reported features, limits, and capabilities.

VK_LAYER_LUNARG_monitor

utility

Outputs the frames-per-second of the target application in the applications title bar.

About

A playground to exercises rust and vulkan programming

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published