call - vs
Performs a function call to the instruction marked with the provided label.
where l# is a label - vs marking the beginning of the subroutine to be called.
|Vertex shader versions||1_1||2_0||2_x||2_sw||3_0||3_sw|
This instruction does the following:
- Push address of the next instruction to the return address stack.
- Continue execution from the instruction marked by the label.
In vertex shader 2_0, nesting calls are not allowed.
In vertex shader 3_0, four levels of call nesting are allowed.
Only forward calls are allowed. This means that the location of the label inside the vertex shader should be after the call instruction referencing it.