blob: 6d02d2b2102ecf989f7c2bf5b05a91ff954bf42c [file] [log] [blame]
#version 310 es
precision highp float;
precision highp int;
struct SB_RW {
int arg_0;
};
layout(binding = 0, std430)
buffer prevent_dce_block_1_ssbo {
int inner;
} v;
layout(binding = 1, std430)
buffer sb_rw_block_1_ssbo {
SB_RW inner;
} v_1;
int atomicExchange_f2e22f() {
int arg_1 = 1;
int res = atomicExchange(v_1.inner.arg_0, arg_1);
return res;
}
void main() {
v.inner = atomicExchange_f2e22f();
}
#version 310 es
struct SB_RW {
int arg_0;
};
layout(binding = 0, std430)
buffer prevent_dce_block_1_ssbo {
int inner;
} v;
layout(binding = 1, std430)
buffer sb_rw_block_1_ssbo {
SB_RW inner;
} v_1;
int atomicExchange_f2e22f() {
int arg_1 = 1;
int res = atomicExchange(v_1.inner.arg_0, arg_1);
return res;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
v.inner = atomicExchange_f2e22f();
}