Sign in
dawn
/
dawn
/
cdfb6e78a88fb970a83c52edd1db060b65a56e44
/
.
/
test
/
tint
/
ptr_sugar
/
vector_member.wgsl.expected.ir.dxc.hlsl
blob: 637284e32dbad7a628676b76cdc0d4f12b8b0f0f [
file
] [
log
] [
blame
]
void
deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
int
b
=
a
.
x
;
a
[
0u
]
=
int
(
42
);
}
void
no_deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
int
b
=
a
.
x
;
a
[
0u
]
=
int
(
42
);
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
}