Sign in
dawn
/
dawn
/
50e27bc0a665fc0f4ede146fd3b9dd32130e8ffc
/
.
/
test
/
tint
/
ptr_sugar
/
vector_member.wgsl.expected.ir.fxc.hlsl
blob: 4a990c5c090e9e15d5dbc59f694d41f985b62236 [
file
] [
log
] [
blame
]
void
deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
int
b
=
a
.
x
;
a
.
x
=
int
(
42
);
}
void
no_deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
int
b
=
a
.
x
;
a
.
x
=
int
(
42
);
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
}