mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Add VK_Workgroup_Zoo unit tests for workgroup query functions
gl_SubgroupSize gl_SubgroupInvocationID subgroupElect()
This commit is contained in:
1 parent
fdc2125e7b
commit
e0f8f29fa7
1 file changed
+7
@@ -266,6 +266,13 @@ void main()
|
||||
data.x += subgroupAdd(id);
|
||||
}
|
||||
}
|
||||
else if(IsTest(9))
|
||||
{
|
||||
// Query function : unit tests
|
||||
data.x = float(gl_SubgroupSize);
|
||||
data.y = float(gl_SubgroupInvocationID);
|
||||
data.z = float(subgroupElect());
|
||||
}
|
||||
SetOuput(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user