C Specification
The VkPhysicalDeviceShaderEnqueuePropertiesAMDX structure is defined
as:
// Provided by VK_AMDX_shader_enqueue
typedef struct VkPhysicalDeviceShaderEnqueuePropertiesAMDX {
VkStructureType sType;
void* pNext;
uint32_t maxExecutionGraphDepth;
uint32_t maxExecutionGraphShaderOutputNodes;
uint32_t maxExecutionGraphShaderPayloadSize;
uint32_t maxExecutionGraphShaderPayloadCount;
uint32_t executionGraphDispatchAddressAlignment;
} VkPhysicalDeviceShaderEnqueuePropertiesAMDX;
Members
The members of the VkPhysicalDeviceShaderEnqueuePropertiesAMDX
structure describe the following limits:
Description
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
maxExecutionGraphDepthdefines the maximum node chain depth in the graph. The dispatched node is at depth 1 and the node enqueued by it is at depth 2, and so on. If a node enqueues itself, each recursive enqueue increases the depth by 1 as well. -
maxExecutionGraphShaderOutputNodesspecifies the maximum number of unique nodes that can be dispatched from a single shader, and must be at least 256. -
maxExecutionGraphShaderPayloadSizespecifies the maximum total size of payload declarations in a shader. For any payload declarations that share resources, indicated byNodeSharesPayloadLimitsWithAMDXdecorations, the maximum size of each set of shared payload declarations is taken. The sum of each shared set’s maximum size and the size of each unshared payload is counted against this limit. -
maxExecutionGraphShaderPayloadCountspecifies the maximum number of output payloads that can be initialized in a single workgroup. -
executionGraphDispatchAddressAlignmentspecifies the alignment of non-scratch VkDeviceAddress arguments consumed by graph dispatch commands.
If the VkPhysicalDeviceShaderEnqueuePropertiesAMDX structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
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.