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