Lines Matching refs:state
41 _mesa_glsl_parse_state *state;
74 ir_reader::ir_reader(_mesa_glsl_parse_state *state) : state(state)
76 this->mem_ctx = state;
80 _mesa_glsl_read_ir(_mesa_glsl_parse_state *state, exec_list *instructions,
83 ir_reader r(state);
99 if (state->error)
115 state->error = true;
117 if (state->current_function != NULL)
118 ralloc_asprintf_append(&state->info_log, "In function %s:\n",
119 state->current_function->function_name());
120 ralloc_strcat(&state->info_log, "error: ");
123 ralloc_vasprintf_append(&state->info_log, fmt, ap);
125 ralloc_strcat(&state->info_log, "\n");
128 ralloc_strcat(&state->info_log, "...in this context:\n ");
130 ralloc_strcat(&state->info_log, "\n\n");
157 const glsl_type *type = state->symbols->get_type(type_sym->value());
201 ir_function *f = state->symbols->get_function(name->value());
204 added = state->symbols->add_function(f);
251 state->symbols->push_scope();
264 f->exact_matching_signature(state, &hir_parameters);
288 state->symbols->pop_scope();
300 state->current_function = sig;
302 state->current_function = NULL;
306 state->symbols->pop_scope();
328 if (state->current_function == NULL && ir->as_variable() != NULL)
465 state->symbols->add_variable(var);
494 if (state->error) {
516 if (state->error) {
561 if (rvalue != NULL || state->error)
571 if (rvalue == NULL && !state->error)
682 ir_function *f = state->symbols->get_function(name->value());
690 f->matching_signature(state, ¶meters, true);
888 ir_variable *var = state->symbols->get_variable(s_var->value());