IPixPostmortemEvent::GetCorrelatedShaders method

Gets a collection of shaders potentially correlated to the event ie. there are active shader waves in flight that may correspond to the given event. This is not 100% accurate if we can't differentiate whether the shader wave is launched by a specific event or another, this function will return that shader for all potentially correlated events.

Syntax

HRESULT GetCorrelatedShaders(
    REFIID riid,
    void ** ppShaders);

Parameters

riid [in]

The interface IID of the collection to be returned. Expected: IPixCollection<IPixShader>

ppShaders [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also