C Specification
The VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT structure is
defined as:
// Provided by VK_EXT_device_generated_commands
typedef struct VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT {
VkStructureType sType;
void* pNext;
uint32_t maxIndirectPipelineCount;
uint32_t maxIndirectShaderObjectCount;
uint32_t maxIndirectSequenceCount;
uint32_t maxIndirectCommandsTokenCount;
uint32_t maxIndirectCommandsTokenOffset;
uint32_t maxIndirectCommandsIndirectStride;
VkIndirectCommandsInputModeFlagsEXT supportedIndirectCommandsInputModes;
VkShaderStageFlags supportedIndirectCommandsShaderStages;
VkShaderStageFlags supportedIndirectCommandsShaderStagesPipelineBinding;
VkShaderStageFlags supportedIndirectCommandsShaderStagesShaderBinding;
VkBool32 deviceGeneratedCommandsTransformFeedback;
VkBool32 deviceGeneratedCommandsMultiDrawIndirectCount;
} VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
maxIndirectPipelineCountis the maximum number of pipelines passed to vkCreateIndirectExecutionSetEXT. -
maxIndirectShaderObjectCountis the maximum number of shader objects passed to vkCreateIndirectExecutionSetEXT. If this value is zero, binding shader objects indirectly is not supported. -
maxIndirectSequenceCountis the maximum number of sequences in VkGeneratedCommandsInfoEXT and in VkGeneratedCommandsMemoryRequirementsInfoEXT. -
maxIndirectCommandsTokenCountis the maximum number of tokens in VkIndirectCommandsLayoutCreateInfoEXT. -
maxIndirectCommandsTokenOffsetis the maximum offset in VkIndirectCommandsLayoutTokenEXT. -
maxIndirectCommandsIndirectStrideis the maximum stream stride in VkIndirectCommandsLayoutCreateInfoEXT. -
supportedIndirectCommandsInputModesindicates the supported input modes. -
supportedIndirectCommandsShaderStagesindicates the stages which can be used to generate indirect commands. Implementations are required to support, at minimum:VK_SHADER_STAGE_VERTEX_BIT,VK_SHADER_STAGE_FRAGMENT_BIT,VK_SHADER_STAGE_COMPUTE_BIT. -
supportedIndirectCommandsShaderStagesPipelineBindingindicates the stages which can be used within indirect execution sets for indirectly binding shader stages using pipelines. -
supportedIndirectCommandsShaderStagesShaderBindingindicates the stages which can be used within indirect execution sets for indirectly binding shader stages using shader objects. -
deviceGeneratedCommandsTransformFeedbackindicates whether the implementation supports interactions withVK_EXT_transform_feedbackfor pipelines not created withVK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT. -
deviceGeneratedCommandsMultiDrawIndirectCountindicates whether the implementation supports COUNT variants of multi-draw indirect tokens.
Description
If the VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT 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.