Updated code generation so that for vertex shader output position is written at last...