IDebugShaderRequest2::GenerateInstructions method
Requests to generate shader trace instructions in a debug request. Trace-based debugging occurs on the CPU (warp) instead of the GPU.
Syntax
HRESULT GenerateInstructions(
IPixErrorCallback * errorCallback,
DebugShaderRequestInfo * requestInfo,
PixelHistoryOperation * pPixelHistory,
IDebugShaderCallback * pCallback
);
Parameters
errorCallback
The address of a callback for errors that might occur while generating shader trace instructions.
requestInfo
The address of a DebugShaderRequestInfo structure that describes the requested event/vertex/pixel.
pPixelHistory
The address of pixel history results used for finding the associated pixel to debug. Only applies when debugging a pixel shader.
pCallback
The address of a callback used to notify the host of results.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header | Vspixengine.h |
See also