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