mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Add D3D12_Workgroup_Zoo convergence test with dynamic for loop
A different number of iterations per thread
This commit is contained in:
@@ -244,6 +244,14 @@ void main(uint3 inTid : SV_DispatchThreadID)
|
||||
}
|
||||
data.x = WaveActiveSum(id);
|
||||
}
|
||||
else if(IsTest(8))
|
||||
{
|
||||
// Loops with different number of iterations per thread
|
||||
for (uint i = 0; i < id; i++)
|
||||
{
|
||||
data.x += WaveActiveSum(id);
|
||||
}
|
||||
}
|
||||
SetOuput(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user