Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets shader code location interface object corresponding to the Program Counter (PC)
Syntax
HRESULT GetInstructionPointerLocation(
PIX_SHADER_CODE_TYPE codeType,
REFIID riid,
void ** ppCodeLocation);
Parameters
codeType [in]
The code type (HLSL/IL/ISA) of the PC location to be returned
riid [in]
The interface IID of the object to be returned. Expected: IPixShaderCodeLocation
ppCodeLocation [out]
The pointer to the returned interface
Returns
S_OK on success, otherwise an error code.