D3D12_PREDICATION_OP enumeration (d3d12.h)

Specifies the predication operation to apply.

Syntax

typedef enum D3D12_PREDICATION_OP {
  D3D12_PREDICATION_OP_EQUAL_ZERO = 0,
  D3D12_PREDICATION_OP_NOT_EQUAL_ZERO = 1
} ;

Constants

 
D3D12_PREDICATION_OP_EQUAL_ZERO
Value: 0
Enables predication if all 64-bits are zero.
D3D12_PREDICATION_OP_NOT_EQUAL_ZERO
Value: 1
Enables predication if at least one of the 64-bits are not zero.

Remarks

This enum is used by SetPredication.

Predication is decoupled from queries. Predication can be set based on the value of 64-bits within a buffer.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations

Predication