ID3D11DeviceContextX::StartThreadTrace Method

Starts a GPU sequencer thread trace at the current point in the GPU command stream.

Syntax

public:
HRESULT StartThreadTrace(
         const D3D11X_THREAD_TRACE_DESC *pDesc,
         void *pDstAddressShaderEngine0,
         void *pDstAddressShaderEngine1,
         SIZE_T BufferSizeBytes
)  

Parameters

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.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Remarks

This method cannot be called from a deferred context.

The format of the trace data is not yet documented.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members