Sign in
dawn
/
dawn
/
145e550974d086daf5b6cf2c1f1f933ee6afe0c8
/
.
/
test
/
tint
/
ptr_sugar
/
vector_member.wgsl.expected.ir.fxc.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
();
}