Sign in
dawn
/
dawn
/
a38d024330019eb847d42c2c92c94a73246aee18
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
param
/
array.wgsl.expected.fxc.hlsl
blob: 6df480fe2588f6bd621c265717a15c6caeea69fb [
file
] [
log
] [
blame
]
int
f
(
int
i
)
{
int
a
[
8
]
=
{
int
(
1
),
int
(
2
),
int
(
3
),
int
(
4
),
int
(
5
),
int
(
6
),
int
(
7
),
int
(
8
)};
return
a
[
min
(
uint
(
i
),
7u
)];
}
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
}