yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
31ab84a5
main
1void f0 () { 2for (;;) ; 3} 4 5void f1 (float4 input ) { 6for (++ input ; ; ) ; 7} 8 9void f2 (float4 input ) { 10 [unroll ]for (;any (input != input ); ) {} 11} 12 13float f3 (float4 input ) { 14for (;any (input != input ); ) {return - input ; } 15} 16 17float f4 (float4 input ) { 18for (-- input ;any (input != input );input += 2 ) {return - input ; } 19} 20 21void f5 (float4 input ) { 22for (;;)if (input .x > 2.0 )break ; 23} 24 25void f6 (float4 input ) { 26for (;;)if (input .x > 2.0 )continue ; 27} 28 29void f99 () { 30for (int first = 0 ,second = 1 ; ;)first + second ; 31} 32 33void f100 (float ii ) { 34for (-- ii ,-- ii ,-- ii ;;)ii ; 35} 36 37float4 PixelShaderFunction (float4 input ) :COLOR0 38{ 39f0 (); 40f1 (input ); 41f2 (input ); 42f3 (input ); 43f4 (input ); 44f5 (input ); 45f6 (input ); 46 47float ii ; 48for (int ii = -1 ;ii < 3 ;++ ii )if (ii == 2 )continue ; 49-- ii ; 50 51f99 (); 52 53for (int i = 0 ,count = int (ii );i < count ;i ++ ); 54for (float first = 0 ,second [2 ],third ;first < second [0 ];++ second [1 ])first + second [1 ]+ third ; 55 56f100 (ii ); 57 58return input ; 59}