ID3D11ShaderTrace::PSSelectStamp method (d3d11shadertracing.h)

Sets the specified pixel-shader stamp.

Syntax

HRESULT PSSelectStamp(
  [in] UINT stampIndex
);

Parameters

[in] stampIndex

The index of the stamp to select.

Return value

PSSelectStamp returns:

  • S_OK if the method set the pixel-shader stamp, and if the primitive covers the pixel and sample for the stamp.
  • S_FALSE if the method set the pixel-shader stamp, and if the invocation for the selected stamp falls off the primitive.
  • E_FAIL if you called the method for a vertex shader or geometry shader; PSSelectStamp is meaningful only for pixel shaders.
  • E_INVALIDARG if stampIndex is out of range [0..3].
  • Possibly other error codes that are described in Direct3D 11 Return Codes.

Remarks

After you call PSSelectStamp to set the pixel-shader stamp, you can call the ID3D11ShaderTrace::GetInitialRegisterContents, ID3D11ShaderTrace::GetStep, ID3D11ShaderTrace::GetWrittenRegister, and ID3D11ShaderTrace::GetReadRegister methods to get trace data for that stamp.

Note  This API requires the Windows Software Development Kit (SDK) for Windows 8.
 

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11shadertracing.h
DLL D3D11SDKLayers.dll; D3D11_1SDKLayers.dll; D3D11_2SDKLayers.dll

See also

ID3D11ShaderTrace