GpaContinueSampleOnCommandList
Syntax
Description
Continues a sample from one primary command list on to another primary command list. This function is only supported for DirectX 12 and Vulkan. Normally samples must be started and ended on the same command list. Using this function, samples can be started on one primary command list and continued/ended on another primary command list, allowing a single sample to span more than one command list.
Parameters
Name |
Description |
---|---|
|
The sample id of the sample being continued on a different command list. |
|
Unique identifier of a previously-created primary command list on which the sample is continuing. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The sample was successfully continued on the specified command list. |
kGpaStatusErrorNullPointer |
The supplied |
kGpaStatusErrorCommandListNotFound |
The supplied |
kGpaStatusErrorSampleNotFound |
The specified sample was not found. |
kGpaStatusErrorApiNotSupported |
This function is not supported for the current API. Only DirectX 12 and Vulkan support this API. |
kGpaStatusErrorFailed |
The sample could not be continued on the specified command list. |
kGpaStatusErrorException |
Exception occurred. |