Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
82e95a3aa5c41e3cfdf045e22cf131922e529b48
/
.
/
Test
/
hlsl.loopattr.frag
blob: 5b4d374f5f170e4ae86b4d62e0a5b02b0ee97447 [
file
] [
log
] [
blame
]
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
;
}