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