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[128];
|
|
|
|
|
|
|
|
typedef int tint_workgroupUniformLoad_v_ret[128];
|
|
|
|
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[128] = v;
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
int foo() {
|
2023-05-03 15:30:54 +00:00
|
|
|
const int tint_symbol[128] = tint_workgroupUniformLoad_v();
|
2023-01-06 02:25:06 +00:00
|
|
|
return tint_symbol[0];
|
|
|
|
}
|