/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() 1031 var->type->without_array()->base_type == GLSL_TYPE_FLOAT))) || in visit() 1032 !var->type->without_array()->is_32bit() || in visit() 1066 assert(ir->type->without_array()->is_32bit()); in fix_types_in_deref_chain() 1076 assert(deref_array->array->type->without_array()->is_32bit()); in fix_types_in_deref_chain() 1128 var->type->without_array()->is_16bit() != in visit_enter() 1129 rhs_var->type->without_array()->is_16bit())) && in visit_enter() 1132 var->type->without_array()->is_16bit() && in visit_enter() [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_struct(); in is_dereferenced_thing_row_major() 244 return matrix || deref->type->without_array()->is_struct(); 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_struct()) { in setup_buffer_access()
|
D | link_uniform_blocks.cpp | 117 v->RowMajor = type->without_array()->is_matrix() && row_major; in visit_field() 160 type_for_size = type->without_array(); in visit_field() 276 const glsl_type *type = b->type->without_array(); in process_block_array_leaf() 376 block_type->without_array()->name); in create_buffer_blocks() 439 (b->type->without_array()->interface_packing == in link_uniform_blocks() 447 block_size.process(b->type->without_array(), "", in link_uniform_blocks()
|
D | link_uniforms.cpp | 264 assert(type->without_array()->is_struct() in process() 265 || type->without_array()->is_interface()); in process() 300 const glsl_type *t_without_array = t->without_array(); in process() 399 } else if (t->without_array()->is_struct() || in recursion() 400 t->without_array()->is_interface() || in recursion() 552 assert(!type->without_array()->is_struct()); in visit_field() 553 assert(!type->without_array()->is_interface()); in visit_field() 1051 assert(!type->without_array()->is_struct()); in visit_field() 1052 assert(!type->without_array()->is_interface()); in visit_field() 1103 if (current_var->type->without_array()->is_struct() || in visit_field() [all …]
|
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 | 287 const struct glsl_type *without_array = in gl_nir_set_uniform_initializers() local 290 if (glsl_type_is_sampler(without_array) || in gl_nir_set_uniform_initializers() 291 glsl_type_is_image(without_array)) { in gl_nir_set_uniform_initializers()
|
D | link_uniform_initializers.cpp | 192 const glsl_type *t_without_array = type->without_array(); in set_uniform_initializer() 290 } else if (type->without_array()->is_sampler() || in link_set_uniform_initializers() 291 type->without_array()->is_image()) { in link_set_uniform_initializers()
|
D | link_varyings.cpp | 100 } else if (t->without_array()->is_struct() || in create_xfb_varying_names() 101 t->without_array()->is_interface() || in create_xfb_varying_names() 179 const glsl_type *type_wa = type->without_array(); in process_xfb_layout_qualifiers() 478 const glsl_type *type_without_array = type->without_array(); in check_location_aliasing() 503 if (info->var->type->without_array()->is_struct() || is_struct) { in check_location_aliasing() 657 const glsl_type *type_without_array = type->without_array(); in validate_explicit_variable_location() 1104 this->matched_candidate->type->without_array()->is_64bit() ? 2 : 1; in assign_location() 2464 assert(!type->without_array()->is_struct()); in visit_field() 2465 assert(!type->without_array()->is_interface()); in visit_field() 2472 if (type->without_array()->is_64bit()) { in visit_field() [all …]
|
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 | lower_subroutine.cpp | 96 if (ir->sub_var->type->without_array() == fn->subroutine_types[i]) { in visit_leave()
|
D | gl_nir_link_atomics.c | 237 const struct glsl_type *without_array = in gl_nir_link_assign_atomic_counter_resources() local 239 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_packed_varyings.cpp | 669 unsigned dmul = rvalue->type->without_array()->is_64bit() ? 2 : 1; in lower_arraylike() 743 packed_type->without_array() == glsl_type::ivec4_type in get_packed_varying_deref() 812 type = type->without_array(); in needs_lowering()
|
D | lower_xfb_varying.cpp | 180 *type = (*type)->without_array(); in get_deref()
|
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 | 2430 const glsl_type *const t = type->without_array(); in precision_qualifier_allowed() 2699 get_type_name_for_precision_qualifier(type->without_array()); in select_gles_precision() 2785 type = type->without_array(); in validate_component_layout_for_type() 2824 } else if (!type->without_array()->is_matrix()) { in validate_matrix_layout_for_type() 2869 const glsl_type *t_without_array = type->without_array(); in validate_xfb_offset_qualifier() 2953 const glsl_type *base_type = type->without_array(); in apply_explicit_binding() 3521 const glsl_type *base_type = var->type->without_array(); in apply_image_qualifier_to_variable() 4202 switch (var->type->without_array()->base_type) { in apply_type_qualifier_to_variable() 5418 const glsl_type *check_type = var->type->without_array(); in hir() 5482 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 | 346 if (type->fields.structure[i].type->without_array()->is_image()) { in do_structure_splitting()
|
D | link_atomics.cpp | 249 var->type->without_array()->atomic_size() : 0); in link_assign_atomic_counter_resources()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_64bit.cpp | 227 unsigned old_components = old_var->type->without_array()->components(); in split_load_deref_array() 249 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_array() 277 unsigned old_components = old_var->type->without_array()->components(); in split_store_deref_var() 320 assert(old_var->type->without_array()->components() > 2); in get_var_pair() 327 var2->type = glsl_dvec_type(old_var->type->without_array()->components() - 2); in get_var_pair() 640 if (var->type->without_array()->bit_size() == 64) in filter() 642 return (var->type->without_array()->components() != intr->num_components); in filter() 752 unsigned components = var->type->without_array()->components(); in load_deref_64_to_vec2() 753 if (var->type->without_array()->bit_size() == 64) { in load_deref_64_to_vec2() 771 deref->type = deref_array->type->without_array(); in load_deref_64_to_vec2() [all …]
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 1719 const glsl_type *t = this->without_array(); in struct_location_offset() 1725 const glsl_type *wa = st->without_array(); in struct_location_offset() 1818 if (this->without_array()->is_struct() || in varying_count() 1819 this->without_array()->is_interface() || in varying_count() 2037 if (this->without_array()->is_matrix()) { in std140_size() 2043 element_type = this->without_array(); in std140_size() 2078 if (this->without_array()->is_struct()) { in std140_size() 2079 stride = this->without_array()->std140_size(row_major); in std140_size() 2082 this->without_array()->std140_base_alignment(row_major); in std140_size() 2430 if (this->without_array()->is_matrix()) { in std430_size() [all …]
|
D | nir_types.cpp | 56 return type->without_array(); in glsl_without_array() 62 type = type->without_array(); in glsl_without_array_or_matrix()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_nir_uniforms.cpp | 153 if (var->type->without_array()->is_sampler()) in brw_nir_setup_glsl_uniform() 156 if (var->type->without_array()->is_image()) { in brw_nir_setup_glsl_uniform() 314 assert(var->type->without_array()->is_image()); in brw_nir_lower_gl_images()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_variables.c | 1692 struct vtn_type *without_array = in vtn_pointer_from_ssa() local 1697 without_array, &nir_mode); in vtn_pointer_from_ssa() 1802 struct vtn_type *without_array = vtn_type_without_array(ptr_type->deref); in vtn_create_variable() local 1806 mode = vtn_storage_class_to_mode(b, storage_class, without_array, &nir_mode); in vtn_create_variable() 1811 vtn_assert(without_array->block); in vtn_create_variable() 1815 !without_array->block) { in vtn_create_variable() 1940 glsl_type_is_struct_or_ifc(without_array->type)) { in vtn_create_variable() 1941 vtn_foreach_decoration(b, vtn_value(b, without_array->id, in vtn_create_variable() 2139 var->var->data.image.format = without_array->image_format; in vtn_create_variable()
|
/third_party/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 2389 num_params *= type->without_array()->matrix_columns; in visit_field() 2391 bool is_dual_slot = type->without_array()->is_dual_slot(); in visit_field() 2400 unsigned dmul = type->without_array()->is_64bit() ? 2 : 1; in visit_field() 2401 unsigned comps = type->without_array()->vector_elements * dmul; in visit_field() 2579 if (storage->type->without_array()->is_sampler()) { in _mesa_associate_uniform_storage() 2583 } else if (storage->type->without_array()->is_image()) { in _mesa_associate_uniform_storage()
|