yum-mirror/slang

Making it easier to work with shaders

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

yumfix compiler bug lolf8cb9c4d6

master
3 files

files

README.md2.6 KiB
main.cpp20.7 KiB
shaders.slang1.7 KiB

Nsight Aftermath Crash Example

This example is not enabled by default. Enabling requires requires...

On windows the following would be reasonable..

premake vs2019 --deps=true --enable-aftermath=true

Typically D3D12 debug run produces the following files...

Having emit source maps, can be useful as discussed in the documentation, but isn't a requirement. If emit source maps are disabled the source maps fragment-0.map/vertex-0.map will not be produced. In this scenario the mapping to the obfuscated source file is embedded into the kernel/s directly.

A Vulkan run will emit "spv" files, D3D12 will emit "dxil" files and D3D11 will emit "dxbc" files.

The example source describes how to switch between emit source files, and different devices.

Links