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