break_comp - vs
|break_comp src0, src1|
- _comp is a comparison between the two source registers. It can be one of the following:
Syntax Comparison _gt Greater than _lt Less than _ge Greater than or equal _le Less than or equal _eq Equal to _ne Not equal to
- src0 is a source register. Replicate swizzle is required to select a single component.
- src1 is a source register. Replicate swizzle is required to select a single component.
This instruction is supported in the following versions.
|Vertex shader versions||1_1||2_0||2_x||2_sw||3_0||3_sw|
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;