blob: 8cf40a2f2eb1c7e859099b28177277d5901a8bc9 [file] [log] [blame]
struct str {
int i;
};
groupshared str S;
int func_S_i() {
return S.i;
}
struct tint_symbol_1 {
uint local_invocation_index : SV_GroupIndex;
};
void main_inner(uint local_invocation_index) {
{
const str tint_symbol_2 = (str)0;
S = tint_symbol_2;
}
GroupMemoryBarrierWithGroupSync();
const int r = func_S_i();
}
[numthreads(1, 1, 1)]
void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.local_invocation_index);
return;
}