Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11ShaderTrace::PSSelectStamp method

Sets the specified pixel-shader stamp.

Syntax


HRESULT PSSelectStamp(
  [in] UINT stampIndex
);

Parameters

stampIndex [in]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3D11ShaderTracing.h

DLL

D3D11SDKLayers.dll;
D3D11_1SDKLayers.dll;
D3D11_2SDKLayers.dll

See also

ID3D11ShaderTrace

 

 

Show:
© 2017 Microsoft