yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidiaSupport for vk-shift-* without explicit bindings (#3000)a5987aad2

master
328 B16 linesraw
1//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-t-shift 10 all  -fvk-s-shift 100 all -fvk-u-shift 100 all -fvk-b-shift 1000 all
2
3struct Data
4{
5    Texture2D tex;
6    RWStructuredBuffer<float> structuredBuffer;
7    float a;
8    int b;
9};
10
11Data g_data[2];
12
13float4 main() : SV_TARGET
14{
15	return float4(1, 1, 1, 0);
16}