mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 06:36:08 +00:00
Add VK_Workgroup_Zoo unit tests for workgroup query functions
gl_SubgroupSize gl_SubgroupInvocationID subgroupElect()
This commit is contained in:
@@ -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