breakp - ps

Conditionally break out of the current loop at the nearest endloop - ps or endrep - ps. Use one of the components of the predicate register as a condition to determine whether or not to perform the instruction.


breakp [!]p0.{x|y|z|w}



  • [!] is an optional negate modifier.
  • p0 is the Predicate Register.
  • {x|y|z|w} is the required replicate swizzle on p0.


Pixel shader versions 1_1 1_2 1_3 1_4 2_0 2_x 2_sw 3_0 3_sw
breakp x x x x


Pixel Shader Instructions