2023-03-02 20:48:48 +00:00
|
|
|
uint tint_workgroupUniformLoad(inout uint p) {
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
2023-03-02 20:48:48 +00:00
|
|
|
const uint result = p;
|
2023-01-06 02:25:06 +00:00
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
2023-03-02 20:48:48 +00:00
|
|
|
groupshared uint arg_0;
|
|
|
|
|
2023-01-06 02:25:06 +00:00
|
|
|
void workgroupUniformLoad_37307c() {
|
2023-03-02 20:48:48 +00:00
|
|
|
uint res = tint_workgroupUniformLoad(arg_0);
|
2023-01-06 02:25:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
struct tint_symbol_1 {
|
|
|
|
uint local_invocation_index : SV_GroupIndex;
|
|
|
|
};
|
|
|
|
|
|
|
|
void compute_main_inner(uint local_invocation_index) {
|
|
|
|
{
|
|
|
|
arg_0 = 0u;
|
|
|
|
}
|
|
|
|
GroupMemoryBarrierWithGroupSync();
|
|
|
|
workgroupUniformLoad_37307c();
|
|
|
|
}
|
|
|
|
|
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void compute_main(tint_symbol_1 tint_symbol) {
|
|
|
|
compute_main_inner(tint_symbol.local_invocation_index);
|
|
|
|
return;
|
|
|
|
}
|