D3DPSHADERCAPS2_0 structure (d3d9caps.h)

Pixel shader driver caps.

Syntax

typedef struct _D3DPSHADERCAPS2_0 {
  DWORD Caps;
  INT   DynamicFlowControlDepth;
  INT   NumTemps;
  INT   StaticFlowControlDepth;
  INT   NumInstructionSlots;
} D3DPSHADERCAPS2_0;

Members

Caps

Type: DWORD

Instruction predication is supported if this value is nonzero. See setp_comp - vs.

DynamicFlowControlDepth

Type: INT

Either 0 or 24, which represents the depth of the dynamic flow control instruction nesting. See D3DPSHADERCAPS2_0.

NumTemps

Type: INT

The number of temporary registers supported. See D3DPSHADERCAPS2_0.

StaticFlowControlDepth

Type: INT

The depth of nesting of the loop - vs/rep - vs and call - vs/callnz bool - vs instructions. See D3DPSHADERCAPS2_0.

NumInstructionSlots

Type: INT

The number of instruction slots supported. See D3DPSHADERCAPS2_0.

Requirements

Requirement Value
Header d3d9caps.h

See also

D3DCAPS9

Direct3D Structures