Sign in
dawn
/
dawn
/
ece2ced03079e0a58d55e46b6b412c694395cfdf
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
param
/
vector.wgsl.expected.ir.msl
blob: 8b1dd008e0bf74cf7a0e532bbd228b6f79b4b47c [
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
];
}