yum-mirror/slang

Making it easier to work with shaders

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

Yong HeMake `-no-mangle` option work, add `-no-hlsl-binding`. (#3817)a23adc221

master
167 B11 linesraw
1// gh-666.slang
2
3//TEST:COMPARE_HLSL: -profile ps_5_0 -entry main
4
5static const uint foo = 1;
6static const uint bar = foo;
7
8float4 main() : SV_TARGET
9{
10	return bar;
11}