break_comp - vs
Microsoft DirectX 9.0 SDK Update (October 2004)

break_comp - vs


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;


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