?/TD>
Microsoft DirectX 9.0

break_comp (Vertex Shader)


Conditionally break out of the current loop at the nearest endloop or endrep.

Syntax

break_comp src0, src1

Where:

Remarks

This instruction is supported in the following versions.

Vertex shader versions1_12_02_x2_sw3_03_sw
break_compxxxx

When the comparison is true, it breaks out of the current loop, as shown.

if (src0 comparison src1)
   jump to the corresponding endloop or endrep instruction;

Instruction Information

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.