HomeSort by relevance Sort by last modified time
    Searched full:glsl_type (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/mesa/src/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 glsl_type::_sampler3D_type =
31 glsl_type(GL_SAMPLER_3D, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_FLOAT,
34 const glsl_type *const glsl_type::error_type = & glsl_type::_error_type
    [all...]
glsl_types.h 76 struct glsl_type { struct
92 if (glsl_type::mem_ctx == NULL) {
93 glsl_type::mem_ctx = ralloc_context(NULL);
94 assert(glsl_type::mem_ctx != NULL);
99 type = ralloc_size(glsl_type::mem_ctx, size);
142 const struct glsl_type *array; /**< Type of array elements. */
143 const struct glsl_type *parameters; /**< Parameters to function. */
152 static const glsl_type *const error_type;
153 static const glsl_type *const void_type;
154 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_ralloc_type_ctx(void)
42 if (glsl_type::mem_ctx == NULL) {
43 glsl_type::mem_ctx = ralloc_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
365 glsl_type::glsl_type(const glsl_type *array, unsigned length) : function in class:glsl_type
    [all...]
builtin_variables.cpp 388 const char *name, const glsl_type *type,
424 const char *name, const glsl_type *type)
477 const glsl_type *const type = symtab->get_type(proto->type);
494 name, glsl_type::int_type,
572 const glsl_type *const mat4_array_type =
573 glsl_type::get_array_instance(glsl_type::mat4_type,
587 glsl_type::get_array_instance(glsl_type::vec4_type,
592 const glsl_type *const material_parameters_type
    [all...]
lower_ubo_reference.cpp 54 ir_expression *ubo_load(const struct glsl_type *type,
133 const glsl_type *struct_type = deref_record->record->type;
138 const glsl_type *type = struct_type->fields.structure[i].type;
165 const glsl_type *type = (*rvalue)->type;
171 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type,
185 lower_ubo_reference_visitor::ubo_load(const glsl_type *type,
291 ubo_load(glsl_type::float_type,
ast_to_hir.cpp 114 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from,
143 to = glsl_type::get_instance(GLSL_TYPE_FLOAT, from->type->vector_elements,
164 static const struct glsl_type *
169 const glsl_type *type_a = value_a->type;
170 const glsl_type *type_b = value_b->type;
181 return glsl_type::error_type;
194 return glsl_type::error_type;
211 return glsl_type::error_type;
254 return glsl_type::error_type;
299 const glsl_type *const type
1899 ast_type_specifier::glsl_type(const char **name, function in class:ast_type_specifier
    [all...]
linker.h 84 virtual void visit_field(const glsl_type *type, const char *name) = 0;
91 void recursion(const glsl_type *t, char **name, size_t name_length);
glsl_symbol_table.cpp 46 symbol_table_entry(const glsl_type *t) : v(0), f(0), t(t), u(0) {}
51 const glsl_type *t;
117 bool glsl_symbol_table::add_type(const char *name, const glsl_type *t)
157 const glsl_type *glsl_symbol_table::get_type(const char *name)
lower_if_to_cond_assign.cpp 135 glsl_type::bool_type,
144 glsl_type::bool_type,
195 new(mem_ctx) ir_variable(glsl_type::bool_type,
222 new(mem_ctx) ir_variable(glsl_type::bool_type,
  /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 glsl_type::_sampler3D_type =
31 glsl_type(GL_SAMPLER_3D, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_FLOAT,
34 const glsl_type *const glsl_type::error_type = & glsl_type::_error_type
    [all...]
glsl_types.h 76 struct glsl_type { struct
92 if (glsl_type::mem_ctx == NULL) {
93 glsl_type::mem_ctx = ralloc_context(NULL);
94 assert(glsl_type::mem_ctx != NULL);
99 type = ralloc_size(glsl_type::mem_ctx, size);
142 const struct glsl_type *array; /**< Type of array elements. */
143 const struct glsl_type *parameters; /**< Parameters to function. */
152 static const glsl_type *const error_type;
153 static const glsl_type *const void_type;
154 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_ralloc_type_ctx(void)
42 if (glsl_type::mem_ctx == NULL) {
43 glsl_type::mem_ctx = ralloc_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
365 glsl_type::glsl_type(const glsl_type *array, unsigned length) : function in class:glsl_type
    [all...]
builtin_variables.cpp 388 const char *name, const glsl_type *type,
424 const char *name, const glsl_type *type)
477 const glsl_type *const type = symtab->get_type(proto->type);
494 name, glsl_type::int_type,
572 const glsl_type *const mat4_array_type =
573 glsl_type::get_array_instance(glsl_type::mat4_type,
587 glsl_type::get_array_instance(glsl_type::vec4_type,
592 const glsl_type *const material_parameters_type
    [all...]
lower_ubo_reference.cpp 54 ir_expression *ubo_load(const struct glsl_type *type,
133 const glsl_type *struct_type = deref_record->record->type;
138 const glsl_type *type = struct_type->fields.structure[i].type;
165 const glsl_type *type = (*rvalue)->type;
171 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type,
185 lower_ubo_reference_visitor::ubo_load(const glsl_type *type,
291 ubo_load(glsl_type::float_type,
ast_to_hir.cpp 114 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from,
143 to = glsl_type::get_instance(GLSL_TYPE_FLOAT, from->type->vector_elements,
164 static const struct glsl_type *
169 const glsl_type *type_a = value_a->type;
170 const glsl_type *type_b = value_b->type;
181 return glsl_type::error_type;
194 return glsl_type::error_type;
211 return glsl_type::error_type;
254 return glsl_type::error_type;
299 const glsl_type *const type
1899 ast_type_specifier::glsl_type(const char **name, function in class:ast_type_specifier
    [all...]
linker.h 84 virtual void visit_field(const glsl_type *type, const char *name) = 0;
91 void recursion(const glsl_type *t, char **name, size_t name_length);
glsl_symbol_table.cpp 46 symbol_table_entry(const glsl_type *t) : v(0), f(0), t(t), u(0) {}
51 const glsl_type *t;
117 bool glsl_symbol_table::add_type(const char *name, const glsl_type *t)
157 const glsl_type *glsl_symbol_table::get_type(const char *name)
lower_if_to_cond_assign.cpp 135 glsl_type::bool_type,
144 glsl_type::bool_type,
195 new(mem_ctx) ir_variable(glsl_type::bool_type,
222 new(mem_ctx) ir_variable(glsl_type::bool_type,
  /external/chromium_org/third_party/mesa/src/src/glsl/tests/
uniform_initializer_utils.cpp 74 generate_data_element(void *mem_ctx, const glsl_type *type,
138 const glsl_type *const type =
139 glsl_type::get_instance(base_type, rows, columns);
152 const glsl_type *const element_type =
153 glsl_type::get_instance(base_type, rows, columns);
156 const glsl_type *const array_type =
157 glsl_type::get_array_instance(element_type, array_size);
189 const glsl_type *const element_type = val->array_elements[0]->type;
  /external/mesa3d/src/glsl/tests/
uniform_initializer_utils.cpp 74 generate_data_element(void *mem_ctx, const glsl_type *type,
138 const glsl_type *const type =
139 glsl_type::get_instance(base_type, rows, columns);
152 const glsl_type *const element_type =
153 glsl_type::get_instance(base_type, rows, columns);
156 const glsl_type *const array_type =
157 glsl_type::get_array_instance(element_type, array_size);
189 const glsl_type *const element_type = val->array_elements[0]->type;
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_lower_texture_gradients.cpp 60 static const glsl_type *
61 txs_type(const glsl_type *type)
83 return glsl_type::get_instance(GLSL_TYPE_INT, dims, 1);
95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type;
brw_cubemap_normalize.cpp 80 glsl_type::float_type,
84 glsl_type::float_type,
88 glsl_type::float_type,
brw_shader.h 30 int brw_type_for_base_type(const struct glsl_type *type);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_lower_texture_gradients.cpp 60 static const glsl_type *
61 txs_type(const glsl_type *type)
83 return glsl_type::get_instance(GLSL_TYPE_INT, dims, 1);
95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type;
brw_cubemap_normalize.cpp 80 glsl_type::float_type,
84 glsl_type::float_type,
88 glsl_type::float_type,

Completed in 1082 milliseconds

1 2 3 4 5 6