/external/mesa3d/src/glsl/ |
builtin_types.h | 24 const glsl_type glsl_type::_error_type = 25 glsl_type(GL_INVALID_ENUM, GLSL_TYPE_ERROR, 0, 0, ""); 27 const glsl_type glsl_type::void_type = 28 glsl_type(GL_INVALID_ENUM, GLSL_TYPE_VOID, 0, 0, "void"); 30 const glsl_type *const glsl_type::error_type = & glsl_type::_error_type; 38 const glsl_type glsl_type::builtin_core_types[] = [all...] |
glsl_types.h | 68 struct glsl_type { struct 84 if (glsl_type::mem_ctx == NULL) { 85 glsl_type::mem_ctx = hieralloc_init("glsl_type"); 86 assert(glsl_type::mem_ctx != NULL); 91 type = hieralloc_size(glsl_type::mem_ctx, size); 134 const struct glsl_type *array; /**< Type of array elements. */ 135 const struct glsl_type *parameters; /**< Parameters to function. */ 144 static const glsl_type *const error_type; 145 static const glsl_type *const int_type [all...] |
glsl_types.cpp | 35 hash_table *glsl_type::array_types = NULL; 36 hash_table *glsl_type::record_types = NULL; 37 void *glsl_type::mem_ctx = NULL; 40 glsl_type::init_hieralloc_type_ctx(void) 42 if (glsl_type::mem_ctx == NULL) { 43 glsl_type::mem_ctx = hieralloc_autofree_context(); 44 assert(glsl_type::mem_ctx != NULL); 48 glsl_type::glsl_type(GLenum gl_type, function in class:glsl_type 66 glsl_type::glsl_type(GLenum gl_type function in class:glsl_type 81 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, function in class:glsl_type 248 glsl_type::glsl_type(const glsl_type *array, unsigned length) : function in class:glsl_type [all...] |
ir_variable.cpp | 35 const glsl_type *type, exec_list *instructions, 69 const char *name, const glsl_type *type) 82 const glsl_type *const type = symtab->get_type(proto->type); 96 -1, glsl_type::int_type, 161 const glsl_type *const mat4_array_type = 162 glsl_type::get_array_instance(glsl_type::mat4_type, 174 glsl_type::get_array_instance(glsl_type::vec4_type, 179 const glsl_type *const material_parameters_type [all...] |
glsl_symbol_table.h | 100 bool add_type(const char *name, const glsl_type *t); 114 const glsl_type *get_type(const char *name);
|
ast_to_hir.cpp | 103 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from, 132 to = glsl_type::get_instance(GLSL_TYPE_FLOAT, from->type->vector_elements, 153 static const struct glsl_type * 158 const glsl_type *type_a = value_a->type; 159 const glsl_type *type_b = value_b->type; 170 return glsl_type::error_type; 183 return glsl_type::error_type; 200 return glsl_type::error_type; 243 return glsl_type::error_type; 288 const glsl_type *const type 1781 ast_type_specifier::glsl_type(const char **name, function in class:ast_type_specifier [all...] |
ir_div_to_mul_rcp.cpp | 83 const struct glsl_type *vec_type; 85 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 96 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
ir.cpp | 31 this->type = glsl_type::error_type; 194 ir_expression::ir_expression(int op, const struct glsl_type *type, 207 ir_expression::ir_expression(int op, const struct glsl_type *type, 221 ir_expression::ir_expression(int op, const struct glsl_type *type, 271 this->type = glsl_type::bool_type; 296 this->type = glsl_type::bool_type; 327 this->type = glsl_type::float_type; 332 this->type = glsl_type::float_type; 443 ir_constant::ir_constant(const struct glsl_type *type, 457 this->type = glsl_type::float_type [all...] |
lower_if_to_cond_assign.cpp | 119 glsl_type::bool_type, 128 glsl_type::bool_type, 179 cond_var = new(mem_ctx) ir_variable(glsl_type::bool_type,
|
glsl_symbol_table.cpp | 49 symbol_table_entry(const glsl_type *t) : v(0), f(0), t(t) {} 53 const glsl_type *t; 118 bool glsl_symbol_table::add_type(const char *name, const glsl_type *t) 151 const glsl_type *glsl_symbol_table::get_type(const char *name)
|
ast_function.cpp | 31 convert_component(ir_rvalue *src, const glsl_type *desired_type); 34 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from, 72 prototype_string(const glsl_type *return_type, const char *name, 233 convert_component(ir_rvalue *src, const glsl_type *desired_type) 335 const glsl_type *constructor_type, 379 glsl_type::get_array_instance(constructor_type->element_type(), 394 const glsl_type *desired_type = 395 glsl_type::get_instance(GLSL_TYPE_FLOAT, 449 constant_record_constructor(const glsl_type *constructor_type, 488 emit_inline_vector_constructor(const glsl_type *type [all...] |
ir_function.cpp | 28 type_compare(const glsl_type *a, const glsl_type *b)
|
lower_vec_index_to_cond_assign.cpp | 90 index = new(base_ir) ir_variable(glsl_type::int_type, 107 glsl_type::bool_type, 175 index = new(ir) ir_variable(glsl_type::int_type, "vec_index_tmp_i", 196 glsl_type::bool_type,
|
ir.h | 93 const struct glsl_type *type; 244 ir_variable(const struct glsl_type *, const char *, ir_variable_mode); 379 ir_function_signature(const glsl_type *return_type); 434 const struct glsl_type *return_type; 850 ir_expression(int op, const struct glsl_type *type, ir_rvalue *); 856 ir_expression(int op, const struct glsl_type *type, 863 ir_expression(int op, const struct glsl_type *type, [all...] |
ir_validate.cpp | 106 if (ir->condition->type != glsl_type::bool_type) { 266 assert(ir->type == glsl_type::bool_type); 331 assert(ir->type == glsl_type::bool_type); 366 assert(ir->type == glsl_type::bool_type); 367 assert(ir->operands[0]->type == glsl_type::bool_type); 368 assert(ir->operands[1]->type == glsl_type::bool_type); 372 assert(ir->type == glsl_type::float_type); 514 assert(ir->type != glsl_type::error_type);
|
ir_print_visitor.cpp | 28 static void print_type(const glsl_type *t); 45 const glsl_type *const s = state->user_structures[i]; 78 print_type(const glsl_type *t) 312 const glsl_type *const base_type = ir->type->get_base_type();
|
lower_discard.cpp | 175 ir_variable *temp = new(mem_ctx) ir_variable(glsl_type::bool_type,
|
lower_instructions.cpp | 147 const struct glsl_type *vec_type; 149 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 160 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
lower_mat_op_to_vec.cpp | 297 const glsl_type *const bvec_type = 298 glsl_type::get_instance(GLSL_TYPE_BOOL, columns, 1); 311 glsl_type::bool_type, op0, op1); 326 new(this->mem_ctx) ir_expression(ir_unop_any, glsl_type::bool_type, 331 glsl_type::bool_type,
|
glsl_parser_extras.h | 116 const glsl_type **user_structures;
|
loop_controls.cpp | 106 new(mem_ctx) ir_expression(ir_unop_f2i, glsl_type::int_type, iter, 138 new(mem_ctx) ir_expression(op, glsl_type::bool_type, add, to);
|
opt_structure_splitting.cpp | 262 const glsl_type *type = ir->rhs->type; 332 const struct glsl_type *type = entry->var->type;
|
ir_reader.cpp | 39 static const glsl_type *read_type(_mesa_glsl_parse_state *, s_expression *); 124 static const glsl_type * 142 const glsl_type *base_type = read_type(st, base_expr); 155 return glsl_type::get_array_instance(base_type, size->value()); 171 const glsl_type *type = st->symbols->get_type(type_sym->value()); 261 const glsl_type *return_type = read_type(st, type_expr); 427 const glsl_type *type = read_type(st, type_expr); 727 const glsl_type *type = read_type(st, type_expr); 824 const glsl_type *type = read_type(st, type_expr); 859 const glsl_type *const base_type = type->get_base_type() [all...] |
lower_jumps.cpp | 125 this->execute_flag = new(this->signature) ir_variable(glsl_type::bool_type, "execute_flag", ir_var_temporary); 136 this->break_flag = new(this->signature) ir_variable(glsl_type::bool_type, "break_flag", ir_var_temporary); 164 this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_temporary);
|
/external/mesa3d/src/mesa/program/ |
prog_uniform.h | 55 const struct glsl_type *Type;
|