blob: b745861ae210afe5b0ce7ff7fdff71bd74226f7d [file] [log] [blame]
#version 310 es
uint local_invocation_index_1 = 0u;
shared int arg_0;
void atomicAdd_794055() {
int res = 0;
int x_11 = atomicAdd(arg_0, 1);
res = x_11;
return;
}
void compute_main_inner(uint local_invocation_index) {
atomicExchange(arg_0, 0);
barrier();
atomicAdd_794055();
return;
}
void compute_main_1() {
compute_main_inner(local_invocation_index_1);
return;
}
void compute_main(uint local_invocation_index_1_param) {
{
atomicExchange(arg_0, 0);
}
barrier();
local_invocation_index_1 = local_invocation_index_1_param;
compute_main_1();
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
compute_main(gl_LocalInvocationIndex);
return;
}