dawn-cmake/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.dx...

27 lines
384 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
struct Inner {
bool b;
int4 v;
float3x3 m;
};
struct Outer {
Inner a[4];
};
groupshared Outer v;
Outer tint_workgroupUniformLoad_v() {
GroupMemoryBarrierWithGroupSync();
const Outer result = v;
GroupMemoryBarrierWithGroupSync();
return result;
}
Outer foo() {
return tint_workgroupUniformLoad_v();
}