yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
7aaf7009e
master
1//TEST:SIMPLE(filecheck=WGSL): -target wgsl -stage fragment -entry main 2 3//WGSL-DAG: @builtin(frag_depth) 4//WGSL-DAG: @fragment 5 6struct Out 7{ 8 float depth : SV_Depth; 9}; 10 11Out main() 12{ 13 Out output; 14 output.depth = 1.0; 15 return output; 16}