Sign in
dawn
/
dawn
/
c3cec4d9017a819a0637ace23d5b1a213313758b
/
.
/
test
/
access
/
let
/
vector.wgsl.expected.hlsl
blob: d86c8eda343c03baa1b863315f46c3651d4628c4 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
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
;
}