[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; | |
bool foo() { | |
return tint_workgroupUniformLoad(v); | |
} |