blob: bfc2a252918d0efe04fe246c376a9784052104db [file] [log] [blame]
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
bool tint_workgroupUniformLoad(inout bool p) {
GroupMemoryBarrierWithGroupSync();
const bool result = p;
GroupMemoryBarrierWithGroupSync();
return result;
}
groupshared bool v;
int foo() {
if (tint_workgroupUniformLoad(v)) {
return 42;
}
return 0;
}