Sign in
dawn
/
tint
/
c1cfa84ff9366cc2e3bd3783c81a2a53e9ea2656
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.msl
blob: e690077f5372da50e1252da19d48daee903afcb1 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
tint_symbol
()
{
float3
const
v
=
float3
(
1.0f
,
2.0f
,
3.0f
);
float
const
scalar
=
v
.
y
;
float2
const
swizzle2
=
v
.
xz
;
float3
const
swizzle3
=
v
.
xzy
;
return
;
}