Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
6eab476e5adcad71cf8b46a875eedd164f201c5d
/
.
/
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
;
}