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
369 B20 linesraw
1//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-t-shift 10 all -fvk-s-shift 100 all -fvk-b-shift 0 all -fvk-u-shift 1000 all
2
3struct Data
4{
5    float a;
6    int b;
7};
8
9Texture2D 		t;
10SamplerState 	s;
11ConstantBuffer<Data> c;
12Texture2D t2;
13
14RWStructuredBuffer<Data> u;
15RWStructuredBuffer<int> u2;
16
17float4 main() : SV_TARGET
18{
19	return float4(1, 1, 1, 0);
20}