Sign in
dawn
/
dawn
/
7940f7d5eb6cc655a93df4a84090c8388ad5c149
/
.
/
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
();
}