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