Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
ArrayIndexTypes.glsl
blob: 9dd9aae5b1385b34ac8e9343408b3e00a0e9749f [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
void
main
()
{
float
array
[
4
]
=
float
[
4
](
1.0
,
2.0
,
3.0
,
4.0
);
int
x
=
0
;
uint
y
=
1u
;
int
z
=
2
;
uint
w
=
3u
;
sk_FragColor
=
vec4
(
array
[
x
],
array
[
y
],
array
[
z
],
array
[
w
]);
}