IPixShaderWave::GetStage method

Gets the shader stage.

Syntax

HRESULT GetStage(
    PIX_SHADER_STAGE * stage);

Parameters

stage [out]

The shader stage.

Returns

S_OK on success, otherwise an error code.

Remarks

A wave can be swapped onto a different shader while it runs, so the stage reports the shader the wave was executing when it last stopped.

See also