ARB_vertex_program: early exit register

I think the NVidia implementation of vertex programs lacks of early exit possibilities (dunno if hardware can support that, though).

A writeable “break” register, whose x value should be to something !=0 to quit, would allow us to write code like:

ADD BRK, R3, R4

meaning if (R3.x+R4.x!=0) break;

What is drawn when you break?
The vertex program specs say they are 1 vertex in, 1 vertex out.

Originally posted by bakery2k:
What is drawn when you break?
The vertex program specs say they are 1 vertex in, 1 vertex out.

“break” would mean unwritten output register X = input register X.

Could also be the reincarnation of the dreaded EXT_cull_vertex