Emit the partition onto the current fragment stack — call FIRST inside the fragment
Fn body so a classified-away fragment costs nothing further. Mirrors
GLSL_GLASS_PARTITION_GUARD line for line:
Both discards are gated on the mode, so a graph running outside the split (mode 0)
keeps every fragment; the texture sample is inside the same uniform branch.
Emit the partition onto the current fragment stack — call FIRST inside the fragment
Fnbody so a classified-away fragment costs nothing further. MirrorsGLSL_GLASS_PARTITION_GUARDline for line:Both discards are gated on the mode, so a graph running outside the split (mode 0) keeps every fragment; the texture sample is inside the same uniform branch.