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