D3D11_SHADER_TRACKING_OPTIONS enumeration

Options that specify how to perform shader debug tracking.

Syntax


typedef enum D3D11_SHADER_TRACKING_OPTION { 
  D3D11_SHADER_TRACKING_OPTION_IGNORE                                        = 0,
  D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED                           = 0x1,
  D3D11_SHADER_TRACKING_OPTION_TRACK_RAW                                     = 0x2,
  D3D11_SHADER_TRACKING_OPTION_TRACK_WAR                                     = 0x4,
  D3D11_SHADER_TRACKING_OPTION_TRACK_WAW                                     = 0x8,
  D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME                                    = 0x10,
  D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY                      = 0x20,
  D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS                 = 0x40,
  D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS                 = 0x80,
  D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS                 = 0x100,
  D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS  = 0x200,
  D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS                            = ( ( ( D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS | 

D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS )  | D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS )  | 

D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS ),
  D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS                                   = ( ( ( ( ( ( ( D3D11_SHADER_TRACKING_OPTION_TRACK_RAW | D3D11_SHADER_TRACKING_OPTION_TRACK_WAR )  

| D3D11_SHADER_TRACKING_OPTION_TRACK_WAW )  | D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY )  | 

D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS )  | D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS )  | 

D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS )  | D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS ),
  D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME                     = ( D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS | 

D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME ),
  D3D11_SHADER_TRACKING_OPTION_ALL_OPTIONS                                   = ( D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME | 

D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED )
} D3D11_SHADER_TRACKING_OPTIONS;

Constants

D3D11_SHADER_TRACKING_OPTION_IGNORE

No debug tracking is performed.

D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED

Track the reading of uninitialized data.

D3D11_SHADER_TRACKING_OPTION_TRACK_RAW

Track read-after-write hazards.

D3D11_SHADER_TRACKING_OPTION_TRACK_WAR

Track write-after-read hazards.

D3D11_SHADER_TRACKING_OPTION_TRACK_WAW

Track write-after-write hazards.

D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME

Track that hazards are allowed in which data is written but the value does not change.

D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY

Track that only one type of atomic operation is used on an address.

D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS

Track read-after-write hazards across thread groups.

D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS

Track write-after-read hazards across thread groups.

D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS

Track write-after-write hazards across thread groups.

D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS

Track that only one type of atomic operation is used on an address across thread groups.

D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS

Track hazards that are specific to unordered access views (UAVs).

D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS

Track all hazards.

D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME

Track all hazards and track that hazards are allowed in which data is written but the value does not change.

D3D11_SHADER_TRACKING_OPTION_ALL_OPTIONS

All of the preceding tracking options are set except D3D11_SHADER_TRACKING_OPTION_IGNORE.

Remarks

This enumeration is used by the ID3D11TracingDevice::SetShaderTrackingOptions, ID3D11TracingDevice::SetShaderTrackingOptionsByType, ID3D11RefTrackingOptions::SetTrackingOptions, and ID3D11RefDefaultTrackingOptions::SetTrackingOptions methods.

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

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

D3D11SDKLayers.h

See also

Layer Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft