Sign in
dawn
/
dawn
/
e2f35ba8e0a4f8f234660c980a1917f5504482a3
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.msl
blob: 13a9b75adc3732abbeb614290c0473d114c679ef [
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
=
float3
(
v
).
xz
;
float3
const
swizzle3
=
float3
(
v
).
xzy
;
return
;
}