Function Prototype
vkGetExecutionGraphPipelineScratchSizeAMDX
Query scratch space required to dispatch an execution graph
To query the scratch space required to dispatch an execution graph, call:
VkResult vkGetExecutionGraphPipelineScratchSizeAMDX(
VkDevice device,
VkPipeline executionGraph,
VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);
deviceis the logical device thatexecutionGraphwas created on.executionGraphis the execution graph pipeline to query the scratch space for.pSizeInfois a pointer to a VkExecutionGraphPipelineScratchSizeAMDX structure that will contain the required scratch size.
After this function returns, information about the scratch space required
will be returned in pSizeInfo.
Valid Usage (Implicit)
VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-device-parameter
device must be a valid VkDevice handle
VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-executionGraph-parameter
executionGraph must be a valid VkPipeline handle
VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-pSizeInfo-parameter
pSizeInfo must be a valid pointer to a VkExecutionGraphPipelineScratchSizeAMDX structure
VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-executionGraph-parent
executionGraph must have been created, allocated, or retrieved from device