break pred (Vertex Shader)
Conditionally break out of the current loop at the nearest endloop or endrep. Use one of the components of the predicate register as a condition to determine whether or not to perform the instruction.
Syntax
break [!]p0.replicateSwizzle |
---|
Where:
- [!] optional negate modifier. This modifies the value in the predicate register. See Negate.
- p0 is a predicate register. See Predicate.
- replicateSwizzle specifies the component that contains the predicate value. Valid components are: x, y, z, w or r, g, b, a. The predicate value can be modified with the negate modifier.
Remarks
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|
break pred | | | x | x | x | x |
---|
Instruction Information
Minimum operating system | Windows 98 |
---|