Sign in
dawn
/
dawn
/
ec3114d8dfea35324bcc4e76c8eb45976c2751a2
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
param
/
array.wgsl.expected.glsl
blob: 11341b636f9953694e8fc5d6d1fa7a540b88b0c4 [
file
] [
log
] [
blame
]
#version 310 es
int
f
(
int
i
)
{
int
a
[
8
]
=
int
[
8
](
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
);
uint
v
=
min
(
uint
(
i
),
7u
);
return
a
[
v
];
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
}