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