yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

yumfix compiler bug lolf8cb9c4d6

master
6 files

files

README.md311 B
common.slang2.4 KiB
main.cpp24.2 KiB
shader.slang547 B
vulkan-api.cpp8.4 KiB
vulkan-api.h3.2 KiB

Setting up Parameter Blocks Using Reflection

This example shows how to make use of the ParameterBlock<> type in Slang shader code, in conjunction with the Slang reflection API, in order to easily set up descriptor sets for Vulkan and descriptor tables for D3D12.