yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidiaHLSL->Vulkan binding support (#2865)c9ef8d58a

master
249 B12 linesraw
1//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-bind-globals 5 9
2
3uniform int a;
4uniform float b;
5
6Texture2D t;
7SamplerState sampler;
8
9float4 main() : SV_TARGET
10{
11	return t.SampleLevel(sampler, float2(a,b), 0) + float4(a, b, 1, 0);
12}