Sign in
dawn
/
dawn
/
271cb0571c5ebcc013f2c1b095112fe70fc669b5
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
let
/
param
/
array.wgsl.expected.glsl
blob: a01b796669ed747a034049435e33c7f5deab2547 [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
unused_entry_point
()
{
return
;
}
int
f
(
int
x
)
{
int
a
[
8
]
=
int
[
8
](
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
);
int
i
=
x
;
return
a
[
i
];
}