Lines Matching defs:gl_Position
49 * - Each vertex shader executable must write to \c gl_Position.
692 * "The variable gl_Position is available only in the vertex
696 * variable gl_Position is available only in the vertex
703 * "The variable gl_Position is available only in the vertex
711 * the vertex shader executable does not write gl_Position."
714 * gl_Position is not an error.
717 find_variable gl_Position("gl_Position");
718 find_assignments(shader->ir, &gl_Position);
719 if (!gl_Position.found) {
722 "vertex shader does not write to `gl_Position'. "
726 "vertex shader does not write to `gl_Position'. \n");
1310 * gl_Position is declared invariant. Similarly gl_PointCoord can only
1314 * gl_Position."
1318 var_vert = vert->symbols->get_variable("gl_Position");