Sign in
dawn
/
dawn
/
08357c3558df8d45e1f73bcac5dd02dd9048342b
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
let
/
param
/
array.wgsl.expected.dxc.hlsl
blob: 2db30d2f17a97ccff02bb4cc114094c38f2c249e [
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
};
int
i
=
x
;
return
a
[
min
(
uint
(
i
),
7u
)];
}