Structures
VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
Structure describing push descriptor limits that can be supported by an implementation
The VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT structure is
defined as:
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;
pub struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
max_indirect_pipeline_count: u32,
max_indirect_shader_object_count: u32,
max_indirect_sequence_count: u32,
max_indirect_commands_token_count: u32,
max_indirect_commands_token_offset: u32,
max_indirect_commands_indirect_stride: u32,
supported_indirect_commands_input_modes: vk::IndirectCommandsInputModeFlagsEXT,
supported_indirect_commands_shader_stages: vk::ShaderStageFlags,
supported_indirect_commands_shader_stages_pipeline_binding: vk::ShaderStageFlags,
supported_indirect_commands_shader_stages_shader_binding: vk::ShaderStageFlags,
device_generated_commands_transform_feedback: vk::Bool32,
device_generated_commands_multi_draw_indirect_count: vk::Bool32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.- LIMITS MAXINDIRECTPIPELINECOUNT
maxIndirectPipelineCountis the maximum number of pipelines passed to vkCreateIndirectExecutionSetEXT. - LIMITS MAXINDIRECTSHADEROBJECTCOUNT
maxIndirectShaderObjectCountis the maximum number of shader objects passed to vkCreateIndirectExecutionSetEXT. If this value is zero, binding shader objects indirectly is not supported. - LIMITS MAXINDIRECTSEQUENCECOUNT
maxIndirectSequenceCountis the maximum number of sequences in VkGeneratedCommandsInfoEXT and in VkGeneratedCommandsMemoryRequirementsInfoEXT. - LIMITS MAXINDIRECTCOMMANDSTOKENCOUNT
maxIndirectCommandsTokenCountis the maximum number of tokens in VkIndirectCommandsLayoutCreateInfoEXT. - LIMITS MAXINDIRECTCOMMANDSTOKENOFFSET
maxIndirectCommandsTokenOffsetis the maximum offset in VkIndirectCommandsLayoutTokenEXT. - LIMITS MAXINDIRECTCOMMANDSINDIRECTSTRIDE
maxIndirectCommandsIndirectStrideis the maximum stream stride in VkIndirectCommandsLayoutCreateInfoEXT. - LIMITS SUPPORTEDINDIRECTCOMMANDSINPUTMODES
supportedIndirectCommandsInputModesindicates the supported input modes. - LIMITS SUPPORTEDINDIRECTCOMMANDSSHADERSTAGES
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. - LIMITS SUPPORTEDINDIRECTCOMMANDSSHADERSTAGESPIPELINEBINDING
supportedIndirectCommandsShaderStagesPipelineBindingindicates the stages which can be used within indirect execution sets for indirectly binding shader stages using pipelines. - LIMITS SUPPORTEDINDIRECTCOMMANDSSHADERSTAGESSHADERBINDING
supportedIndirectCommandsShaderStagesShaderBindingindicates the stages which can be used within indirect execution sets for indirectly binding shader stages using shader objects. - LIMITS DEVICEGENERATEDCOMMANDSTRANSFORMFEEDBACK
deviceGeneratedCommandsTransformFeedbackindicates whether the implementation supports interactions with VK_EXT_transform_feedback for pipelines not created withVK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT. - LIMITS DEVICEGENERATEDCOMMANDSMULTIDRAWINDIRECTCOUNT
deviceGeneratedCommandsMultiDrawIndirectCountindicates whether the implementation supports COUNT variants of multi-draw indirect tokens.
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.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT