Sign in
dawn
/
dawn
/
2c4f822f9e78d491e3fa32dfee1add5b93c8be65
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
minus.wgsl.expected.glsl
blob: 76ce1a96d53d50e1db74d9fc688a21319304c5f9 [
file
] [
log
] [
blame
]
#version 310 es
struct
S
{
int
a
;
};
layout
(
binding
=
0
,
std430
)
buffer v_block_1_ssbo
{
S inner
;
}
v_1
;
void
foo
()
{
v_1
.
inner
.
a
=
(
v_1
.
inner
.
a
-
2
);
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
}