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