mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Add D3D12_Workgroup_Zoo convergence test with dynamic for loop
A different number of iterations per thread
This commit is contained in:
1 parent
2af9015e04
commit
fdc2125e7b
1 file changed
+8
@@ -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