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