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

18 lines
295 B
HLSL
Raw Permalink Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
groupshared bool v;
bool tint_workgroupUniformLoad_v() {
GroupMemoryBarrierWithGroupSync();
const bool result = v;
GroupMemoryBarrierWithGroupSync();
return result;
}
bool foo() {
return tint_workgroupUniformLoad_v();
}