projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git]
/
Test
/
hlsl.loopattr.frag
1
2
float4 main() : SV_Target0
3
{
4
// Unroll hint
5
[unroll(5) ] for (int x=0; x<5; ++x);
6
7
// Don't unroll hint
8
[loop] for (int y=0; y<5; ++y);
9
10
// No hint
11
for (int z=0; z<5; ++z);
12
13
return 0;
14
}