Sign in
dawn
/
dawn
/
ebed93562ce9685b68e0d58f19cceef8a2c0bb02
/
.
/
test
/
tint
/
ptr_sugar
/
struct.wgsl.expected.ir.glsl
blob: 79d12214fc226378504f44098df9c3d1162e35a7 [
file
] [
log
] [
blame
]
#version 310 es
struct
S
{
int
x
;
};
void
deref
()
{
S a
=
S
(
0
);
int
b
=
a
.
x
;
a
.
x
=
42
;
}
void
no_deref
()
{
S a
=
S
(
0
);
int
b
=
a
.
x
;
a
.
x
=
42
;
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
deref
();
no_deref
();
}