blob: 1b9245433949ef1657c1a7271864b45fa4bb1e34 [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(int(0))};
return foo(v_2);
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}