Sign in
dawn
/
dawn
/
205c0158db5b15a6a1b27eacb9c25a8862c90561
/
.
/
test
/
tint
/
ptr_sugar
/
struct.wgsl.expected.ir.fxc.hlsl
blob: e62c4a5102244d5005444e176309108c96cf2ee4 [
file
] [
log
] [
blame
]
struct
S
{
int
x
;
};
void
deref
()
{
S a
=
(
S
)
0
;
int
b
=
a
.
x
;
a
.
x
=
int
(
42
);
}
void
no_deref
()
{
S a
=
(
S
)
0
;
int
b
=
a
.
x
;
a
.
x
=
int
(
42
);
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
}