Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
hlsl.loopattr.frag
blob: 5b4d374f5f170e4ae86b4d62e0a5b02b0ee97447 [
file
] [
log
] [
blame
] [
edit
]
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
;
}