Export (0) Print
Expand All

D3DD3DPSHADERCAPS2_0

Pixel shader capability flags.

#defineValueDescription
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_DYNAMICFLOWCONTROLDEPTH24The maximum level of nesting of dynamic flow control instructions (break, breakc, ifc).
D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH0The minimum level of nesting of dynamic flow control instructions (break, breakc, ifc).
D3DPS20_MAX_NUMTEMPS32The driver will support at most this many temporary register.
D3DPS20_MIN_NUMTEMPS12The driver will support at least this many temporary register.
D3DPS20_MAX_STATICFLOWCONTROLDEPTH4The maximum depth of nesting of the loop - vs/rep - vs and call - vs/callnz bool - vs instructions.
D3DPS20_MIN_STATICFLOWCONTROLDEPTH1The minimum depth of nesting of the loop - vs/rep - vs and call - vs/callnz bool - vs instructions.
D3DPS20_MAX_NUMINSTRUCTIONSLOTS512The driver will support at most this many instructions.
D3DPS20_MIN_NUMINSTRUCTIONSLOTS96The driver will support at least this many instructions.

 

These constants are used by the D3DPSHADERCAPS2_0 member of D3DCAPS9.

Constant Information

Headerd3d9caps.h
Minimum operating systemWindows 98

 

Related topics

D3DPSHADERCAPS2_0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft