blob: 8ed52c482b1e7bb52ce608c7940e50a447d2212a [file] [log] [blame]
groupshared int S;
void func_S() {
S = 42;
}
struct tint_symbol_1 {
uint local_invocation_index : SV_GroupIndex;
};
void main_inner(uint local_invocation_index) {
{
S = 0;
}
GroupMemoryBarrierWithGroupSync();
func_S();
}
[numthreads(1, 1, 1)]
void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.local_invocation_index);
return;
}