}
static bool
-validate_point_mode(YYLTYPE *loc,
- _mesa_glsl_parse_state *state,
- const ast_type_qualifier &qualifier,
- const ast_type_qualifier &new_qualifier)
+validate_point_mode(MAYBE_UNUSED const ast_type_qualifier &qualifier,
+ MAYBE_UNUSED const ast_type_qualifier &new_qualifier)
{
/* Point mode can only be true if the flag is set. */
assert (!qualifier.flags.q.point_mode || !new_qualifier.flags.q.point_mode
}
if (q.flags.q.point_mode) {
- r &= validate_point_mode(loc, state, *this, q);
+ r &= validate_point_mode(*this, q);
this->flags.q.point_mode = 1;
this->point_mode = q.point_mode;
}
r &= validate_prim_type(loc, state, *state->in_qualifier, *this);
r &= validate_vertex_spacing(loc, state, *state->in_qualifier, *this);
r &= validate_ordering(loc, state, *state->in_qualifier, *this);
- r &= validate_point_mode(loc, state, *state->in_qualifier, *this);
+ r &= validate_point_mode(*state->in_qualifier, *this);
return r;
}