Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
param
/
vector.wgsl.expected.msl
blob: 4d45110ae96b1b7e73d5a1c3057da922a6f91362 [
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
[
i
];
}