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