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