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