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 a collection of offending code locations that are suspected to be the cause of a device error.
Syntax
HRESULT GetOffendingCodeLocations(
PIX_SHADER_CODE_TYPE codeType,
REFIID riid,
void ** ppCodeLocations);
Parameters
codeType [in]
The code type (HLSL/IL/ISA) of the shader nodes to be returned
riid [in]
The interface IID of the object to be returned. Expected: IPixCollection<IPixOffendingShaderCodeLocation>
ppCodeLocations [out]
The pointer to the returned interface
Returns
S_OK on success, otherwise an error code.