Constant Boolean Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Constant Boolean Register


This register is a collection of bits used in static flow control instructions (for example, if bool - else - endif). There are 16 of them, therefore, a shader can have 16 independent branch conditions. They can be set using defi or IDirect3DDevice9::SetPixelShaderConstantI.

The behavior of shader constants has changed between Microsoft DirectX 8.0 and DirectX 9.0.

Pixel shader versions1_11_21_31_42_02_sw2_x3_03_sw
Constant Boolean Registerxxx


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.