yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
69d0c1ac
main-tot
1[[ vk :: constant_id ( 0 )]] const uint index = 2 ; 2 3static const uint array [] = { 10 , 20 , 30 , 40 } ; 4 5float4 main ( ) : SV_TARGET 6{ 7float4 r ; 8for ( uint i = 0 ; i < array [ index ] ; i ++ ) 9r = i ; 10 11r += index + index ; 12r += 2 * index ; 13 14return r ; 15}