2023-01-06 02:25:06 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct Inner {
|
|
|
|
bool b;
|
|
|
|
int4 v;
|
|
|
|
float3x3 m;
|
|
|
|
};
|
|
|
|
struct Outer {
|
|
|
|
Inner a[4];
|
|
|
|
};
|
|
|
|
|
2023-05-03 15:30:54 +00:00
|
|
|
groupshared Outer v;
|
|
|
|
|
|
|
|
Outer tint_workgroupUniformLoad_v() {
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2023-05-03 15:30:54 +00:00
|
|
|
const Outer result = v;
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
Outer foo() {
|
2023-05-03 15:30:54 +00:00
|
|
|
return tint_workgroupUniformLoad_v();
|
2023-01-06 02:25:06 +00:00
|
|
|
}
|