Sign in
dawn
/
dawn
/
a8eb33756b228cf587ed065c0144e306def8f902
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.glsl
blob: fcb0a390639879de0f34d924b4b807c28dc05c8a [
file
] [
log
] [
blame
]
#version 310 es
void
deref
()
{
ivec3 a
=
ivec3
(
0
);
a
[
0u
]
=
(
a
.
x
+
42
);
}
void
no_deref
()
{
ivec3 a
=
ivec3
(
0
);
a
[
0u
]
=
(
a
.
x
+
42
);
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
deref
();
no_deref
();
}