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