2023-01-06 02:25:06 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2023-05-03 15:30:54 +00:00
|
|
|
groupshared int v[4];
|
|
|
|
|
|
|
|
typedef int tint_workgroupUniformLoad_v_ret[4];
|
|
|
|
tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2023-05-03 15:30:54 +00:00
|
|
|
const int result[4] = v;
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
typedef int foo_ret[4];
|
|
|
|
foo_ret foo() {
|
2023-05-03 15:30:54 +00:00
|
|
|
return tint_workgroupUniformLoad_v();
|
2023-01-06 02:25:06 +00:00
|
|
|
}
|