/external/mesa3d/src/compiler/glsl/ |
D | link_uniforms.cpp | 49 assert(type->without_array()->is_record() in process() 50 || type->without_array()->is_interface()); in process() 77 const glsl_type *t_without_array = t->without_array(); in process() 176 } else if (t->without_array()->is_record() || in recursion() 177 t->without_array()->is_interface() || in recursion() 329 assert(!type->without_array()->is_record()); in visit_field() 330 assert(!type->without_array()->is_interface()); in visit_field() 791 assert(!type->without_array()->is_record()); in visit_field() 792 assert(!type->without_array()->is_interface()); in visit_field() 842 if (current_var->type->without_array()->is_record() || in visit_field() [all …]
|
D | lower_buffer_access.cpp | 188 matrix = matrix || ir->type->without_array()->is_matrix(); in is_dereferenced_thing_row_major() 217 return matrix || deref->type->without_array()->is_record(); in is_dereferenced_thing_row_major() 244 return matrix || deref->type->without_array()->is_record(); in is_dereferenced_thing_row_major() 322 } else if (deref_array->type->without_array()->is_interface()) { in setup_buffer_access() 417 if (type->without_array()->is_record()) { in setup_buffer_access()
|
D | link_uniform_blocks.cpp | 116 v->RowMajor = type->without_array()->is_matrix() && row_major; in visit_field() 159 type_for_size = type->without_array(); in visit_field() 273 const glsl_type *type = b->type->without_array(); in process_block_array_leaf() 376 block_type->without_array()->name); in create_buffer_blocks() 440 (b->type->without_array()->interface_packing == in link_uniform_blocks() 447 block_size.process(b->type->without_array(), "", in link_uniform_blocks()
|
D | ast_array_index.cpp | 251 } else if (array->type->without_array()->is_interface() in _mesa_ast_array_index_to_hir() 308 if (array->type->without_array()->is_sampler()) { in _mesa_ast_array_index_to_hir() 342 if (state->es_shader && array->type->without_array()->is_image()) { in _mesa_ast_array_index_to_hir()
|
D | link_varyings.cpp | 91 } else if (t->without_array()->is_record() || in create_xfb_varying_names() 92 t->without_array()->is_interface() || in create_xfb_varying_names() 170 const glsl_type *type_wa = type->without_array(); in process_xfb_layout_qualifiers() 462 if (type->without_array()->is_record()) { in check_location_aliasing() 468 unsigned dmul = type->without_array()->is_64bit() ? 2 : 1; in check_location_aliasing() 469 last_comp = component + type->without_array()->vector_elements * dmul; in check_location_aliasing() 492 get_numerical_type(type->without_array())) { in check_location_aliasing() 522 info->numerical_type = get_numerical_type(type->without_array()); in check_location_aliasing() 586 const glsl_type *type_without_array = type->without_array(); in validate_explicit_variable_location() 974 this->matched_candidate->type->without_array()->is_64bit() ? 2 : 1; in assign_location() [all …]
|
D | link_uniform_initializers.cpp | 210 const glsl_type *t_without_array = type->without_array(); in set_uniform_initializer() 304 if (type->without_array()->is_sampler() || in link_set_uniform_initializers() 305 type->without_array()->is_image()) { in link_set_uniform_initializers()
|
D | ir_set_program_inouts.cpp | 120 var->type->without_array()->is_dual_slot()) in mark() 311 if (type->without_array()->is_dual_slot()) in try_mark_partial_variable()
|
D | link_interface_blocks.cpp | 243 var->get_interface_type()->without_array()->name); in lookup() 265 var->get_interface_type()->without_array()->name, var); in store()
|
D | lower_subroutine.cpp | 96 if (ir->sub_var->type->without_array() == fn->subroutine_types[i]) { in visit_leave()
|
D | lower_blend_equation_advanced.cpp | 515 const int components = var->type->without_array()->vector_elements; in lower_blend_equation_advanced() 527 if (outputs[0] && outputs[0]->type->without_array()->vector_elements == 4) { in lower_blend_equation_advanced()
|
D | ast_to_hir.cpp | 2360 const glsl_type *const t = type->without_array(); in precision_qualifier_allowed() 2629 get_type_name_for_precision_qualifier(type->without_array()); in select_gles_precision() 2725 } else if (!type->without_array()->is_matrix()) { in validate_matrix_layout_for_type() 2770 const glsl_type *t_without_array = type->without_array(); in validate_xfb_offset_qualifier() 2854 const glsl_type *base_type = type->without_array(); in apply_explicit_binding() 3420 const glsl_type *base_type = var->type->without_array(); in apply_image_qualifier_to_variable() 3664 const glsl_type *type = var->type->without_array(); in apply_layout_qualifier_to_variable() 4046 switch (var->type->without_array()->base_type) { in apply_type_qualifier_to_variable() 5149 const glsl_type *check_type = var->type->without_array(); in hir() 5215 const glsl_type *check_type = var->type->without_array(); in hir() [all …]
|
D | lower_packed_varyings.cpp | 722 packed_type->without_array() == glsl_type::ivec4_type in get_packed_varying_deref() 777 type = type->without_array(); in needs_lowering()
|
D | lower_named_interface_blocks.cpp | 149 const glsl_type * iface_t = var->type->without_array(); in run()
|
D | link_atomics.cpp | 247 var->type->without_array()->atomic_size() : 0); in link_assign_atomic_counter_resources()
|
D | opt_structure_splitting.cpp | 346 if (type->fields.structure[i].type->without_array()->is_image()) { in do_structure_splitting()
|
D | linker.cpp | 1463 type_without_array = var->type->without_array(); in visit() 2872 assigned[i]->type->without_array(); in assign_attribute_or_color_locations() 2873 const glsl_type *type = var->type->without_array(); in assign_attribute_or_color_locations() 2944 if (var->type->without_array()->is_dual_slot()) in assign_attribute_or_color_locations() 3018 if (to_assign[i].var->type->without_array()->is_dual_slot()) in assign_attribute_or_color_locations() 3500 if (var->type->without_array()->is_subroutine()) in check_explicit_uniform_locations()
|
D | glsl_to_nir.cpp | 361 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 379 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 885 image->variable_referenced()->type->without_array(); in visit()
|
/external/mesa3d/src/compiler/ |
D | glsl_types.cpp | 1402 const glsl_type *t = this->without_array(); in record_location_offset() 1408 const glsl_type *wa = st->without_array(); in record_location_offset() 1497 if (this->without_array()->is_record() || in varying_count() 1498 this->without_array()->is_interface() || in varying_count() 1716 if (this->without_array()->is_matrix()) { in std140_size() 1722 element_type = this->without_array(); in std140_size() 1756 if (this->without_array()->is_record()) { in std140_size() 1758 this->without_array()->std140_size(row_major); in std140_size() 1761 this->without_array()->std140_base_alignment(row_major); in std140_size() 1959 if (this->without_array()->is_matrix()) { in std430_size() [all …]
|
D | nir_types.cpp | 50 return type->without_array(); in glsl_without_array()
|
D | glsl_types.h | 658 const glsl_type *without_array() const in without_array() function
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 122 struct vtn_type *without_array = vtn_var->type; in vtn_cfg_handle_prepass_instruction() local 123 while(glsl_type_is_array(without_array->type)) in vtn_cfg_handle_prepass_instruction() 124 without_array = without_array->array_element; in vtn_cfg_handle_prepass_instruction() 126 if (glsl_type_is_image(without_array->type)) { in vtn_cfg_handle_prepass_instruction() 128 param->interface_type = without_array->type; in vtn_cfg_handle_prepass_instruction() 129 } else if (glsl_type_is_sampler(without_array->type)) { in vtn_cfg_handle_prepass_instruction() 131 param->interface_type = without_array->type; in vtn_cfg_handle_prepass_instruction()
|
D | vtn_variables.c | 1704 struct vtn_type *without_array = type; in vtn_create_variable() local 1705 while(glsl_type_is_array(without_array->type)) in vtn_create_variable() 1706 without_array = without_array->array_element; in vtn_create_variable() 1710 mode = vtn_storage_class_to_mode(b, storage_class, without_array, &nir_mode); in vtn_create_variable() 1754 var->var->interface_type = without_array->type; in vtn_create_variable() 1795 glsl_type_is_struct(without_array->type)) { in vtn_create_variable() 1796 vtn_foreach_decoration(b, vtn_value(b, without_array->id, in vtn_create_variable() 1886 var->var->data.image.format = without_array->image_format; in vtn_create_variable() 1895 unsigned count = glsl_get_length(without_array->type); in vtn_create_variable()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_private.cpp | 35 type = type->without_array(); in swizzle_for_type()
|
/external/mesa3d/src/mesa/main/ |
D | shader_query.cpp | 840 (array_index * var->type->without_array()->matrix_columns); in program_resource_location() 862 if (RESOURCE_UNI(res)->type->without_array()->is_record()) in program_resource_location()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 2442 num_params *= type->without_array()->matrix_columns; in visit_field() 2444 bool is_dual_slot = type->without_array()->is_dual_slot(); in visit_field() 2597 if (storage->type->without_array()->is_sampler()) { in _mesa_associate_uniform_storage() 2601 } else if (storage->type->without_array()->is_image()) { in _mesa_associate_uniform_storage()
|