?/TD>
Microsoft DirectX 9.0

break_comp (Pixel Shader)


Break out of the current loop at the nearest endloop or endrep, based on a 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;

Instruction Information

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.