Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ID3D11TracingDevice::SetShaderTrackingOptions method

Sets the reference rasterizer's race-condition tracking options for a specific shader.

Syntax


HRESULT SetShaderTrackingOptions(
  [in]  IUnknown *pShader,
  [in]  UINT Options
);

Parameters

pShader [in]

A pointer to the IUnknown interface of a shader.

Options [in]

A combination of D3D11_SHADER_TRACKING_OPTIONS-typed flags that are combined by using a bitwise OR operation. The resulting value identifies tracking options. If a flag is present, the tracking option that the flag represents is set to "on"; otherwise the tracking option is set to "off."

Return value

This method returns one of the Direct3D 11 return codes.

Remarks

Note  After a call to SetShaderTrackingOptions, the tracking options that the Options parameter specifies are set for all calls by the shader that the pShader parameter specifies, until the next call to SetShaderTrackingOptions. If you set a flag that is specific to unordered access views (UAV) (for example, D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS) in the Options parameter for a compute shader, SetShaderTrackingOptions ignores it.

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

D3D11SDKLayers.h

Library

D3DCompiler.lib

See also

ID3D11TracingDevice

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.