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