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