Function Prototype
vkCreateIndirectCommandsLayoutEXT
Create an indirect command layout object
Indirect command layouts for VK_EXT_device_generated_commands are created by:
VkResult vkCreateIndirectCommandsLayoutEXT(
VkDevice device,
const VkIndirectCommandsLayoutCreateInfoEXT* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkIndirectCommandsLayoutEXT* pIndirectCommandsLayout);
pub fn create_indirect_commands_layout_ext(
device: vk::Device,
p_create_info: *const vk::IndirectCommandsLayoutCreateInfoEXT,
p_allocator: *const vk::AllocationCallbacks,
p_indirect_commands_layout: *mut vk::IndirectCommandsLayoutEXT,
) -> vk::Result;
deviceis the logical device that creates the indirect command layout.pCreateInfois a pointer to a VkIndirectCommandsLayoutCreateInfoEXT structure containing parameters affecting creation of the indirect command layout.pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.pIndirectCommandsLayoutis a pointer to aVkIndirectCommandsLayoutEXThandle in which the resulting indirect command layout is returned.
Valid Usage
Valid Usage (Implicit)
VUID-vkCreateIndirectCommandsLayoutEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkCreateIndirectCommandsLayoutEXT-pCreateInfo-parameter
pCreateInfo must be a valid pointer to a valid VkIndirectCommandsLayoutCreateInfoEXT structure
VUID-vkCreateIndirectCommandsLayoutEXT-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkCreateIndirectCommandsLayoutEXT-pIndirectCommandsLayout-parameter
pIndirectCommandsLayout must be a valid pointer to a VkIndirectCommandsLayoutEXT handle
VUID-vkCreateIndirectCommandsLayoutEXT-device-queuecount
The device must have been created with at least 1 queue
Type
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED