Searched refs:element_type (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Duniform_initializer_utils.cpp190 const glsl_type *const element_type = local in function:generate_array_data
192 ASSERT_FALSE(element_type->is_error());
195 glsl_type::get_array_instance(element_type, array_size);
204 generate_data_element(mem_ctx, element_type, element, i);
244 const glsl_type *const element_type = val->const_elements[0]->type; local in function:verify_data
247 verify_data(storage + (i * element_type->components()), 0,
251 const unsigned components = element_type->components();
H A Dset_uniform_initializer_tests.cpp316 const glsl_type *const element_type = local in function:array_test
320 establish_uniform_storage(prog, 3, actual_index, name, element_type,
333 linker::set_uniform_initializer(mem_ctx, prog, name, element_type, val,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Duniform_initializer_utils.cpp190 const glsl_type *const element_type = local in function:generate_array_data
192 ASSERT_FALSE(element_type->is_error());
195 glsl_type::get_array_instance(element_type, array_size);
204 generate_data_element(mem_ctx, element_type, element, i);
244 const glsl_type *const element_type = val->const_elements[0]->type; local in function:verify_data
247 verify_data(storage + (i * element_type->components()), 0,
251 const unsigned components = element_type->components();
H A Dset_uniform_initializer_tests.cpp309 const glsl_type *const element_type = local in function:array_test
313 establish_uniform_storage(prog, 3, actual_index, name, element_type,
326 linker::set_uniform_initializer(mem_ctx, prog, name, element_type, val,
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_link_uniform_initializers.c44 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_opaque_binding
47 set_opaque_binding(data, element_type);
204 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_uniform_initializer
207 set_uniform_initializer(data, element_type, val->elements[i]);
220 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_uniform_initializer
221 const enum glsl_base_type base_type = glsl_get_base_type(element_type);
222 const unsigned int elements = glsl_get_components(element_type);
230 element_type,
H A Dlower_named_interface_blocks.cpp72 const glsl_type *element_type = type->fields.array; local in function:process_array_type
73 if (element_type->is_array()) {
74 const glsl_type *new_array_type = process_array_type(element_type, idx);
78 element_type->fields.structure[idx].type, type->length);
H A Dlink_uniform_initializers.cpp110 const glsl_type *const element_type = type->fields.array; local in function:linker::set_opaque_binding
115 set_opaque_binding(mem_ctx, prog, var, element_type,
205 const glsl_type *const element_type = type->fields.array; local in function:linker::set_uniform_initializer
211 element_type, val->const_elements[i],
H A Dast_function.cpp1333 const glsl_type *element_type = constructor_type->fields.array; local in function:process_array_constructor
1344 implicitly_convert_component(ir, element_type->base_type, state);
1356 if (element_type->is_unsized_array()) {
1358 element_type = ir->type;
1359 } else if (element_type != ir->type) {
1362 element_type->name,
1373 element_type = ir->type;
1379 glsl_type::get_array_instance(element_type,
H A Dlink_varyings.cpp2305 const glsl_type *element_type = var->type; local in function:varying_matches::compute_packing_order
2307 while (element_type->is_array()) {
2308 element_type = element_type->fields.array;
2311 switch (element_type->component_slots() % 4) {
H A Dlinker.cpp1645 const glsl_type *element_type = type->fields.array; local in function:array_sizing_visitor::update_interface_members_array
1646 if (element_type->is_array()) {
1648 update_interface_members_array(element_type, new_interface_type);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dgl_nir_link_uniform_initializers.c44 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_opaque_binding
47 set_opaque_binding(data, element_type);
198 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_uniform_initializer
201 set_uniform_initializer(data, element_type, val->elements[i]);
214 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:set_uniform_initializer
215 const enum glsl_base_type base_type = glsl_get_base_type(element_type);
216 const unsigned int elements = glsl_get_components(element_type);
224 element_type,
H A Dlower_named_interface_blocks.cpp72 const glsl_type *element_type = type->fields.array; local in function:process_array_type
73 if (element_type->is_array()) {
74 const glsl_type *new_array_type = process_array_type(element_type, idx);
78 element_type->fields.structure[idx].type, type->length);
H A Dlink_uniform_initializers.cpp110 const glsl_type *const element_type = type->fields.array; local in function:linker::set_opaque_binding
115 set_opaque_binding(mem_ctx, prog, var, element_type,
205 const glsl_type *const element_type = type->fields.array; local in function:linker::set_uniform_initializer
211 element_type, val->const_elements[i],
H A Dast_function.cpp1276 const glsl_type *element_type = constructor_type->fields.array; local in function:process_array_constructor
1287 implicitly_convert_component(ir, element_type->base_type, state);
1299 if (element_type->is_unsized_array()) {
1301 element_type = ir->type;
1302 } else if (element_type != ir->type) {
1305 element_type->name,
1316 element_type = ir->type;
1322 glsl_type::get_array_instance(element_type,
H A Dlink_varyings.cpp2151 const glsl_type *element_type = var->type; local in function:varying_matches::compute_packing_order
2153 while (element_type->is_array()) {
2154 element_type = element_type->fields.array;
2157 switch (element_type->component_slots() % 4) {
H A Dlinker.cpp1602 const glsl_type *element_type = type->fields.array; local in function:array_sizing_visitor::update_interface_members_array
1603 if (element_type->is_array()) {
1605 update_interface_members_array(element_type, new_interface_type);
/xsrc/external/mit/xedit/dist/lisp/
H A Dstream.c253 LispObj *filename, *odirection, *element_type, *if_exists, local in function:Lisp_Open
259 element_type = ARGUMENT(2);
296 if (element_type != UNSPEC) {
298 if (SYMBOLP(element_type) &&
299 ATOMID(element_type) == Scharacter)
301 else if (KEYWORDP(element_type) &&
302 ATOMID(element_type) == Sdefault)
306 STRFUN(builtin), Sdefault->value, Scharacter->value, STROBJ(element_type));
590 LispObj *element_type; local in function:Lisp_MakeStringOutputStream
592 element_type
658 LispObj *command_line, *odirection, *element_type, *external_format; local in function:Lisp_MakePipe
[all...]
H A Dcore.c2621 LispObj *dimensions, *element_type, *initial_element, *initial_contents, local in function:Lisp_MakeArray
2631 element_type = ARGUMENT(1);
2658 if (element_type != UNSPEC) {
2659 if (element_type == T)
2661 else if (!SYMBOLP(element_type))
2663 STRFUN(builtin), STROBJ(element_type));
2665 Atom_id atom = ATOMID(element_type);
2681 STRFUN(builtin), ATOMID(element_type)->value);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp135 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:count_uniform_storage_slots
137 if (glsl_type_is_array(element_type) ||
138 glsl_type_is_struct_or_ifc(element_type)) {
139 unsigned element_count = count_uniform_storage_slots(element_type);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp135 const struct glsl_type *element_type = glsl_get_array_element(type); local in function:count_uniform_storage_slots
137 if (glsl_type_is_array(element_type) ||
138 glsl_type_is_struct_or_ifc(element_type)) {
139 unsigned element_count = count_uniform_storage_slots(element_type);
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp2038 const struct glsl_type *element_type; local in function:glsl_type::std140_size
2043 element_type = this->without_array();
2046 element_type = this;
2051 vec_type = get_instance(element_type->base_type,
2052 element_type->matrix_columns, 1);
2054 array_len *= element_type->vector_elements;
2056 vec_type = get_instance(element_type->base_type,
2057 element_type->vector_elements, 1);
2058 array_len *= element_type->matrix_columns;
2431 const struct glsl_type *element_type; local in function:glsl_type::std430_size
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.cpp1783 const struct glsl_type *element_type; local in function:glsl_type::std140_size
1788 element_type = this->without_array();
1791 element_type = this;
1796 vec_type = get_instance(element_type->base_type,
1797 element_type->matrix_columns, 1);
1799 array_len *= element_type->vector_elements;
1801 vec_type = get_instance(element_type->base_type,
1802 element_type->vector_elements, 1);
1803 array_len *= element_type->matrix_columns;
2108 const struct glsl_type *element_type; local in function:glsl_type::std430_size
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
H A Dgtest-linked_ptr.h148 typedef T element_type; typedef in class:testing::internal::linked_ptr
H A Dgtest-port.h1117 typedef T element_type; typedef in class:testing::internal::scoped_ptr
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_nir_to_llvm.c1308 LLVMTypeRef element_type = LLVMIntTypeInContext(ctx->ac.context, instr->def.bit_size); local in function:visit_load_const
1313 values[i] = LLVMConstInt(element_type, instr->value[i].b, false);
1316 values[i] = LLVMConstInt(element_type, instr->value[i].u8, false);
1319 values[i] = LLVMConstInt(element_type, instr->value[i].u16, false);
1322 values[i] = LLVMConstInt(element_type, instr->value[i].u32, false);
1325 values[i] = LLVMConstInt(element_type, instr->value[i].u64, false);

Completed in 84 milliseconds

12