C Specification
To query the scratch space required to dispatch an execution graph, call:
// Provided by VK_AMDX_shader_enqueue
VkResult vkGetExecutionGraphPipelineScratchSizeAMDX(
VkDevice device,
VkPipeline executionGraph,
VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);
Parameters
-
device
is the thatexecutionGraph
was created on. -
executionGraph
is the execution graph pipeline to query the scratch space for. -
pSizeInfo
is a pointer to a VkExecutionGraphPipelineScratchSizeAMDX structure that will contain the required scratch size.
Description
After this function returns, information about the scratch space required
will be returned in pSizeInfo
.
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.