mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-21 10:48:14 +00:00
15 lines
219 B
GLSL
15 lines
219 B
GLSL
|
|
||
|
float4 main() : SV_Target0
|
||
|
{
|
||
|
// Unroll hint
|
||
|
[unroll(5) ] for (int x=0; x<5; ++x);
|
||
|
|
||
|
// Don't unroll hint
|
||
|
[loop] for (int y=0; y<5; ++y);
|
||
|
|
||
|
// No hint
|
||
|
for (int z=0; z<5; ++z);
|
||
|
|
||
|
return 0;
|
||
|
}
|