yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
405d438bf
master
1//TEST:SIMPLE(filecheck=METAL): -target metal -stage vertex -entry vertexMain 2//TEST:SIMPLE(filecheck=METALLIB): -target metallib -stage vertex -entry vertexMain 3 4//METAL: [position]] 5//METALLIB: @vertexMain 6 7// Vertex Shader which writes to position in a returned value (as metal expects) 8float4 vertexMain() : SV_Position 9{ 10 return float4(1,2,3,4); 11}