dawn-cmake/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.fxc.hlsl

18 lines
304 B
HLSL

[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);
}