| /third_party/mesa3d/src/compiler/glsl/ |
| D | lower_precision.cpp | 158 switch (type->without_array()->base_type) { in can_lower_type() 435 assert(resource->type->without_array()->is_image()); in handle_call() 478 if (var && var->type->without_array()->is_sampler()) { in handle_call() 1040 var->type->without_array()->base_type == GLSL_TYPE_FLOAT))) || in visit() 1041 !var->type->without_array()->is_32bit() || in visit() 1075 assert(ir->type->without_array()->is_32bit()); in fix_types_in_deref_chain() 1085 assert(deref_array->array->type->without_array()->is_32bit()); in fix_types_in_deref_chain() 1137 var->type->without_array()->is_16bit() != in visit_enter() 1138 rhs_var->type->without_array()->is_16bit())) && in visit_enter() 1141 var->type->without_array()->is_16bit() && in visit_enter() [all …]
|
| D | link_uniforms.cpp | 47 assert(type->without_array()->is_struct() in process() 48 || type->without_array()->is_interface()); in process() 83 const glsl_type *t_without_array = t->without_array(); in process() 182 } else if (t->without_array()->is_struct() || in recursion() 183 t->without_array()->is_interface() || in recursion()
|
| D | link_uniform_blocks.cpp | 118 v->RowMajor = type->without_array()->is_matrix() && row_major; in visit_field() 161 type_for_size = type->without_array(); in visit_field() 279 const glsl_type *type = b->type->without_array(); in process_block_array_leaf() 380 block_type->without_array()->name); in create_buffer_blocks() 443 (b->type->without_array()->interface_packing == in link_uniform_blocks() 451 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 | gl_nir_link_uniform_initializers.c | 288 const struct glsl_type *without_array = in gl_nir_set_uniform_initializers() local 291 if (glsl_type_is_sampler(without_array) || in gl_nir_set_uniform_initializers() 292 glsl_type_is_image(without_array)) { in gl_nir_set_uniform_initializers()
|
| D | link_varyings.cpp | 344 const glsl_type *type_without_array = type->without_array(); in check_location_aliasing() 369 if (info->var->type->without_array()->is_struct() || is_struct) { in check_location_aliasing() 523 const glsl_type *type_without_array = type->without_array(); in validate_explicit_variable_location()
|
| 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 | gl_nir_link_atomics.c | 239 const struct glsl_type *without_array = in gl_nir_link_assign_atomic_counter_resources() local 241 storage->array_stride = glsl_atomic_size(without_array); in gl_nir_link_assign_atomic_counter_resources()
|
| D | link_interface_blocks.cpp | 264 var->get_interface_type()->without_array()->name); in lookup() 286 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 | 516 const int components = var->type->without_array()->vector_elements; in lower_blend_equation_advanced() 528 if (outputs[0] && outputs[0]->type->without_array()->vector_elements == 4) { in lower_blend_equation_advanced()
|
| D | ast_to_hir.cpp | 2444 const glsl_type *const t = type->without_array(); in precision_qualifier_allowed() 2713 get_type_name_for_precision_qualifier(type->without_array()); in select_gles_precision() 2799 type = type->without_array(); in validate_component_layout_for_type() 2838 } else if (!type->without_array()->is_matrix()) { in validate_matrix_layout_for_type() 2883 const glsl_type *t_without_array = type->without_array(); in validate_xfb_offset_qualifier() 2967 const glsl_type *base_type = type->without_array(); in apply_explicit_binding() 3535 const glsl_type *base_type = var->type->without_array(); in apply_image_qualifier_to_variable() 4225 switch (var->type->without_array()->base_type) { in apply_type_qualifier_to_variable() 5442 const glsl_type *check_type = var->type->without_array(); in hir() 5507 const glsl_type *check_type = var->type->without_array(); in hir() [all …]
|
| D | lower_named_interface_blocks.cpp | 150 const glsl_type * iface_t = var->type->without_array(); in run()
|
| D | opt_structure_splitting.cpp | 343 if (type->fields.structure[i].type->without_array()->is_image()) { in do_structure_splitting()
|
| D | linker.cpp | 1475 type_without_array = var->type->without_array(); in visit() 2946 assigned[i]->type->without_array(); in assign_attribute_or_color_locations() 2947 const glsl_type *type = var->type->without_array(); in assign_attribute_or_color_locations() 3018 if (var->type->without_array()->is_dual_slot()) in assign_attribute_or_color_locations() 3094 if (to_assign[i].var->type->without_array()->is_dual_slot()) in assign_attribute_or_color_locations() 3330 if (var->type->without_array()->is_subroutine()) in check_explicit_uniform_locations()
|
| D | glsl_to_nir.cpp | 550 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 556 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 566 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 572 var->data.compact = ir->type->without_array()->is_scalar(); in visit() 622 if (ir->type->without_array()->is_interface()) { in visit() 687 if (var->type->without_array()->is_image()) { in visit()
|
| D | ir_validate.cpp | 104 if (ir->var->type->without_array() != ir->type->without_array()) { in visit()
|
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
| D | sfn_nir_lower_64bit.cpp | 414 unsigned old_components = old_var->type->without_array()->components(); in split_load_deref_array() 436 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_array() 464 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_var() 507 assert(old_var->type->without_array()->components() > 2); in get_var_pair() 514 var2->type = glsl_dvec_type(old_var->type->without_array()->components() - 2); in get_var_pair() 825 if (var->type->without_array()->bit_size() == 64) in filter() 827 return (var->type->without_array()->components() != intr->num_components); in filter() 937 unsigned components = var->type->without_array()->components(); in load_deref_64_to_vec2() 938 if (var->type->without_array()->bit_size() == 64) { in load_deref_64_to_vec2() 956 deref->type = deref_array->type->without_array(); in load_deref_64_to_vec2() [all …]
|
| /third_party/mesa3d/src/compiler/ |
| D | glsl_types.cpp | 1832 const glsl_type *t = this->without_array(); in struct_location_offset() 1838 const glsl_type *wa = st->without_array(); in struct_location_offset() 1932 if (this->without_array()->is_struct() || in varying_count() 1933 this->without_array()->is_interface() || in varying_count() 2151 if (this->without_array()->is_matrix()) { in std140_size() 2157 element_type = this->without_array(); in std140_size() 2192 if (this->without_array()->is_struct()) { in std140_size() 2193 stride = this->without_array()->std140_size(row_major); in std140_size() 2196 this->without_array()->std140_base_alignment(row_major); in std140_size() 2544 if (this->without_array()->is_matrix()) { in std430_size() [all …]
|
| D | nir_types.cpp | 57 return type->without_array(); in glsl_without_array() 63 type = type->without_array(); in glsl_without_array_or_matrix()
|
| D | glsl_types.h | 1058 const glsl_type *without_array() const in without_array() function
|
| /third_party/mesa3d/src/compiler/spirv/ |
| D | vtn_variables.c | 1734 struct vtn_type *without_array = in vtn_pointer_from_ssa() local 1739 without_array, &nir_mode); in vtn_pointer_from_ssa() 1850 struct vtn_type *without_array = vtn_type_without_array(ptr_type->deref); in vtn_create_variable() local 1854 mode = vtn_storage_class_to_mode(b, storage_class, without_array, &nir_mode); in vtn_create_variable() 1859 vtn_assert(without_array->block); in vtn_create_variable() 1863 !without_array->block) { in vtn_create_variable() 1994 glsl_type_is_struct_or_ifc(without_array->type)) { in vtn_create_variable() 1995 vtn_foreach_decoration(b, vtn_value(b, without_array->id, in vtn_create_variable() 2184 var->var->data.image.format = without_array->image_format; in vtn_create_variable()
|
| /third_party/mesa3d/src/compiler/nir/ |
| D | nir_validate.c | 1526 const struct glsl_type *without_array = glsl_without_array(var->type); in validate_var_decl() local 1527 validate_assert(state, glsl_type_is_struct_or_ifc(without_array)); in validate_var_decl() 1528 validate_assert(state, var->num_members == glsl_get_length(without_array)); in validate_var_decl()
|
| /third_party/mesa3d/src/mesa/main/ |
| D | shader_query.cpp | 1125 (array_index * var->type->without_array()->matrix_columns); in program_resource_location() 1147 if (RESOURCE_UNI(res)->type->without_array()->is_struct()) in program_resource_location()
|
| D | uniform_query.cpp | 1036 if (storage->type->without_array()->is_sampler()) { in associate_uniform_storage() 1040 } else if (storage->type->without_array()->is_image()) { in associate_uniform_storage()
|