C Specification
The VkPhysicalDeviceCooperativeMatrixInfo2EXT structure is defined as:
// Provided by VK_EXT_cooperative_matrix_maintenance1
typedef struct VkPhysicalDeviceCooperativeMatrixInfo2EXT {
VkStructureType sType;
const void* pNext;
VkScopeKHR scope;
uint32_t invocations;
uint32_t subgroupSize;
VkCooperativeMatrixFlagsEXT flags;
} VkPhysicalDeviceCooperativeMatrixInfo2EXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
scopeis the scope of the matrices, of type VkScopeKHR. -
invocationsis the number of invocations within the local workgroup.invocationsis ignored unlessscopeis VK_SCOPE_WORKGROUP_KHR. -
subgroupSizeis the size of the subgroup. -
flagsis a bitmask of VkCooperativeMatrixFlagBitsEXT selecting which class of matrix properties are being queried.
Description
If subgroupSize is equal to 0, then the properties returned will be
valid for use with shaders that execute with a varying subgroup size, and
the returned properties are not guaranteed to be valid for any specific
effective subgroup size.
If scope is VK_SCOPE_WORKGROUP_KHR, invocations specifies
the number of invocations in the local workgroup, otherwise the properties
returned will be valid for all supported local workgroup sizes.
|
Note
|
If |
|
Note
|
The intended usage of
|
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.