blob: 56f827a1768f439337f01996e4343332dfa61ef2 [file] [log] [blame]
groupshared int v[4];
int foo(uint p_indices[1]) {
GroupMemoryBarrierWithGroupSync();
int v_1 = v[p_indices[0u]];
GroupMemoryBarrierWithGroupSync();
return v_1;
}
int bar() {
uint v_2[1] = (uint[1])0;
return foo(v_2);
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}