Sign in
dawn
/
dawn
/
4bba3c10dd4d0f2a2da29e04b80b0e635674429a
/
.
/
test
/
tint
/
access
/
let
/
vector.wgsl.expected.msl
blob: 2c7a0d5945061f935cfd78756e6491d1e485c8d0 [
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
[
1
];
float2
const
swizzle2
=
v
.
xz
;
float3
const
swizzle3
=
v
.
xzy
;
return
;
}