Lines Matching defs:label
6699 /** Value of the case label. */
6702 /** Does this label occur after the default? */
6706 * AST for the case label.
6983 foreach_list_typed (ast_case_label, label, link, & this->labels)
6984 label->hir(instructions, state);
7001 * comparison of cached test expression value to case label.
7011 "switch statement case label must be a "
7030 _mesa_glsl_error(& loc, state, "this is the previous case label");
7045 /* Create an r-value version of the ir_constant label here (after we may
7049 ir_rvalue *label = label_const;
7059 * in a case label also must be a scalar int or uint. When any pair
7065 if (label->type != state->switch_state.test_var->type) {
7068 const glsl_type *type_a = label->type;
7079 "init-expression and case label (%s != %s)",
7082 /* Conversion of the case label. */
7085 label, state))
7097 * type of the label anyway. This will prevent the expression
7100 label->type = deref_test_var->type;
7104 logic_or(fallthru_var, equal(label, deref_test_var))));
7112 _mesa_glsl_error(& loc, state, "this is the first default label");