D3DD3DPSHADERCAPS2_0

Pixel shader capability flags.

#define Value Description
D3DD3DPSHADERCAPS2_0_ARBITRARYSWIZZLE (1 << 0) Arbitrary swizzling is supported.
D3DD3DPSHADERCAPS2_0_GRADIENTINSTRUCTIONS (1 << 1) Gradient instructions are supported.
D3DD3DPSHADERCAPS2_0_PREDICATION (1 << 2) Instruction predication is supported. See setp_comp - ps.
D3DD3DPSHADERCAPS2_0_NODEPENDENTREADLIMIT (1 << 3) There is no limit on the number of dependent reads per instruction.
D3DD3DPSHADERCAPS2_0_NOTEXINSTRUCTIONLIMIT (1 << 4) There is no limit on the number of tex instructions.
D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH 24 The maximum level of nesting of dynamic flow control instructions (break, breakc, ifc).
D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH 0 The minimum level of nesting of dynamic flow control instructions (break, breakc, ifc).
D3DPS20_MAX_NUMTEMPS 32 The driver will support at most this many temporary register.
D3DPS20_MIN_NUMTEMPS 12 The driver will support at least this many temporary register.
D3DPS20_MAX_STATICFLOWCONTROLDEPTH 4 The maximum depth of nesting of the loop - vs/rep - vs and call - vs/callnz bool - vs instructions.
D3DPS20_MIN_STATICFLOWCONTROLDEPTH 1 The minimum depth of nesting of the loop - vs/rep - vs and call - vs/callnz bool - vs instructions.
D3DPS20_MAX_NUMINSTRUCTIONSLOTS 512 The driver will support at most this many instructions.
D3DPS20_MIN_NUMINSTRUCTIONSLOTS 96 The driver will support at least this many instructions.

 

These constants are used by the D3DPSHADERCAPS2_0 member of D3DCAPS9.

Constant Information

Header d3d9caps.h
Minimum operating system Windows 98

 

Direct3D Constants

D3DPSHADERCAPS2_0