Sign in
dawn
/
dawn
/
c87b1fe8c96efd1661551d0e4e87c1ddf5fa0ec3
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
plus.wgsl.expected.glsl
blob: c37bc513b19bd7bfc40105a6887e4015c47439d0 [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
unused_entry_point
()
{
return
;
}
struct
S
{
int
a
;
};
layout
(
binding
=
0
,
std430
)
buffer v_block_ssbo
{
S inner
;
}
v
;
void
foo
()
{
v
.
inner
.
a
=
(
v
.
inner
.
a
+
2
);
}