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