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

break_comp - ps


Break out of the current loop at the nearest endloop or endrep, based on a per-component comparison.

Syntax

break_comp src0, src1

Where:

Remarks

This instruction is supported in the following versions.

Pixel shader versions1_11_21_31_42_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.