ID3D11TracingDevice::SetShaderTrackingOptions method (d3d11sdklayers.h)

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

Syntax

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

Parameters

[in] pShader

A pointer to the IUnknown interface of a shader.

[in] Options

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

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

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 d3d11sdklayers.h
Library D3DCompiler.lib

See also

ID3D11TracingDevice