Starts a GPU sequencer thread trace at the current point in the GPU command stream.
public:
HRESULT StartThreadTrace(
const D3D11X_THREAD_TRACE_DESC *pDesc,
void *pDstAddressShaderEngine0,
void *pDstAddressShaderEngine1,
SIZE_T BufferSizeBytes
)
pDesc
Type: D3D11X_THREAD_TRACE_DESC *
[in] Thread trace options, as a pointer to a D3D11X_THREAD_TRACE_DESC structure.
pDstAddressShaderEngine0
Type: void *
[in] A graphics memory buffer that will hold the thread trace output from the GPU’s shader engine 0.
pDstAddressShaderEngine1
Type: void *
[in] A graphics memory buffer that will hold the thread trace output from the GPU’s shader engine 1.
BufferSizeBytes
Type: SIZE_T
[in] The size, in bytes, of each of the buffers pointed to by pDstAddressShaderEngine0 and pDstAddressShaderEngine1. Both buffers must be the same size.
Type: HRESULT
One of the Direct3D 11 return codes.
This method cannot be called from a deferred context.
The format of the trace data is not yet documented.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.