Searched refs:glsl_type (Results 1 - 25 of 116) sorted by relevance

12345

/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dbuiltin_types.h24 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 *cons
[all...]
H A Dglsl_types.h76 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 *cons
[all...]
H A Dglsl_types.cpp35 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 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...]
H A Dlinker.h84 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);
H A Dglsl_symbol_table.h99 bool add_type(const char *name, const glsl_type *t);
114 const glsl_type *get_type(const char *name);
H A Dir_uniform.h83 const struct glsl_type *type;
H A Dbuiltin_variables.cpp388 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 *cons
[all...]
H A Dlower_ubo_reference.cpp54 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,
H A Dast_to_hir.cpp114 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 *cons
1899 ast_type_specifier::glsl_type(const char **name, function in class:ast_type_specifier
[all...]
/external/mesa3d/src/glsl/
H A Dbuiltin_types.h24 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 *cons
[all...]
H A Dglsl_types.h76 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 *cons
[all...]
H A Dglsl_types.cpp35 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 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...]
H A Dlinker.h84 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);
H A Dglsl_symbol_table.h99 bool add_type(const char *name, const glsl_type *t);
114 const glsl_type *get_type(const char *name);
H A Dir_uniform.h83 const struct glsl_type *type;
H A Dbuiltin_variables.cpp388 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 *cons
[all...]
H A Dlower_ubo_reference.cpp54 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,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_shader.h30 int brw_type_for_base_type(const struct glsl_type *type);
H A Dbrw_cubemap_normalize.cpp80 glsl_type::float_type,
84 glsl_type::float_type,
88 glsl_type::float_type,
H A Dbrw_lower_texture_gradients.cpp60 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;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_shader.h30 int brw_type_for_base_type(const struct glsl_type *type);
H A Dbrw_cubemap_normalize.cpp80 glsl_type::float_type,
84 glsl_type::float_type,
88 glsl_type::float_type,
H A Dbrw_lower_texture_gradients.cpp60 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;
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
H A Duniform_initializer_utils.cpp74 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/
H A Duniform_initializer_utils.cpp74 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;

Completed in 789 milliseconds

12345