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

18 lines
314 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
float4 tint_workgroupUniformLoad(inout float4 p) {
GroupMemoryBarrierWithGroupSync();
const float4 result = p;
GroupMemoryBarrierWithGroupSync();
return result;
}
groupshared float4 v;
float4 foo() {
return tint_workgroupUniformLoad(v);
}