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