blob: 9a205abe2dbe875ddbed979d85b11af1d7e1268e [file] [log] [blame]
struct compute_main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared int arg_0;
void atomicStore_8bea94() {
int arg_1 = int(1);
int v = int(0);
InterlockedExchange(arg_0, arg_1, v);
}
void compute_main_inner(uint tint_local_index) {
if ((tint_local_index == 0u)) {
int v_1 = int(0);
InterlockedExchange(arg_0, int(0), v_1);
}
GroupMemoryBarrierWithGroupSync();
atomicStore_8bea94();
}
[numthreads(1, 1, 1)]
void compute_main(compute_main_inputs inputs) {
compute_main_inner(inputs.tint_local_index);
}