Sign in
dawn
/
dawn
/
eca1ca99191f3b249a20d13c8365daa9926aa2d4
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
param
/
vector.wgsl.expected.msl
blob: 1da60689d42b576149506e7ee883202f02b76fde [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float
f
(
int
i
)
{
float3
const
v
=
float3
(
1.0f
,
2.0f
,
3.0f
);
return
v
[
min
(
uint
(
i
),
2u
)];
}