defb (Pixel Shader) 
Defines a boolean constant value, which should be loaded any time a shader is set to a device.
Syntax
where
- dst is the destination register.
 - booleanValue is a single boolean value, either true or false.
 
Remarks
| Pixel shader versions | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw | 
|---|
| defb |  |  |  |  |  | x | x | x | x | 
|---|
The defb instruction defines a boolean shader constant whose value is loaded anytime a shader is set to a device. These are called immediate constants. Immediate constants take precedence over constants set by the application programming interface (API) method SetPixelShaderConstantB.
There are two ways to set a booleanconstant in a shader.
- Use defb to define the constant directly inside a shader.
 - Use the API methods to set a constant.
	
 
Instruction Information
| Minimum operating system | Windows 98 | 
|---|