Lines Matching defs:precision

362    void add_field(int slot, const glsl_type *type, int precision,
381 int precision, const char *name,
394 this->fields[this->num_fields].precision = precision;
445 ir_variable *add_input(int slot, const glsl_type *type, int precision,
449 return add_variable(name, type, precision, ir_var_shader_in, slot, interp);
458 ir_variable *add_output(int slot, const glsl_type *type, int precision,
461 return add_variable(name, type, precision, ir_var_shader_out, slot);
470 int precision, const char *name)
472 return add_index_variable(name, type, precision, ir_var_shader_out, slot,
476 ir_variable *add_system_value(int slot, const glsl_type *type, int precision,
479 return add_variable(name, type, precision, ir_var_system_value, slot);
488 int precision, enum ir_variable_mode mode,
491 int precision, enum ir_variable_mode mode,
493 ir_variable *add_uniform(const glsl_type *type, int precision,
499 ir_variable *add_const(const char *name, int precision, int value);
505 void add_varying(int slot, const glsl_type *type, int precision,
559 int precision,
591 var->data.precision = precision;
605 int precision,
637 var->data.precision = precision;
661 int precision,
665 add_variable(name, type, precision, ir_var_uniform, -1);
695 builtin_variable_generator::add_const(const char *name, int precision,
699 precision, ir_var_auto, -1);
1364 var->data.precision = GLSL_PRECISION_MEDIUM;
1477 int precision, const char *name,
1484 this->per_vertex_in.add_field(slot, type, precision, name, interp);
1487 this->per_vertex_out.add_field(slot, type, precision, name, interp);
1490 add_input(slot, type, precision, name, interp);
1623 add_variable(fields[i].name, fields[i].type, fields[i].precision,