Sign in
dawn
/
dawn
/
570a0faf26679a867e80abf98fd947f53b6f0bc5
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
let
/
param
/
array.wgsl.expected.dxc.hlsl
blob: fc6628bd1ce523cb25afcd74e3918fb43e6fa520 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
int
f
(
int
x
)
{
int
a
[
8
]
=
{
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
};
const
int
i
=
x
;
return
a
[
i
];
}