Sign in
dawn
/
dawn
/
b8651bb2b701aad7a3eb73eb9925c5ee8de5085e
/
.
/
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
];
}