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