Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2019-05-14
/
.
/
reference
/
shaders
/
frag
/
array-lut-no-loop-variable.frag
blob: baf2302519f2cd23c4af7dee49401fcf557fd880 [
file
] [
log
] [
blame
]
#version 310 es
precision mediump
float
;
precision highp
int
;
const
float
_17
[
5
]
=
float
[](
1.0
,
2.0
,
3.0
,
4.0
,
5.0
);
layout
(
location
=
0
)
out
vec4
FragColor
;
void
main
()
{
for
(
mediump
int
i
=
0
;
i
<
4
;
i
++,
FragColor
+=
vec4
(
_17
[
i
]))
{
}
}