Home
last modified time | relevance | path

Searched refs:without_array (Results 1 – 25 of 37) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlower_precision.cpp158 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()
1027 !var->type->without_array()->is_32bit() || in visit()
1061 assert(ir->type->without_array()->is_32bit()); in fix_types_in_deref_chain()
1071 assert(deref_array->array->type->without_array()->is_32bit()); in fix_types_in_deref_chain()
1123 var->type->without_array()->is_16bit() != in visit_enter()
1124 rhs_var->type->without_array()->is_16bit())) && in visit_enter()
1127 var->type->without_array()->is_16bit() && in visit_enter()
1128 rhs_const->type->without_array()->is_32bit()))) { in visit_enter()
[all …]
Dlower_buffer_access.cpp188 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()
Dlink_uniform_blocks.cpp117 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()
Dlink_uniforms.cpp264 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()
1038 assert(!type->without_array()->is_struct()); in visit_field()
1039 assert(!type->without_array()->is_interface()); in visit_field()
1090 if (current_var->type->without_array()->is_struct() || in visit_field()
[all …]
Dast_array_index.cpp251 } 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()
Dgl_nir_link_uniform_initializers.c287 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()
Dlink_uniform_initializers.cpp192 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()
Dlink_varyings.cpp93 } else if (t->without_array()->is_struct() || in create_xfb_varying_names()
94 t->without_array()->is_interface() || in create_xfb_varying_names()
172 const glsl_type *type_wa = type->without_array(); in process_xfb_layout_qualifiers()
471 const glsl_type *type_without_array = type->without_array(); in check_location_aliasing()
496 if (info->var->type->without_array()->is_struct() || is_struct) { in check_location_aliasing()
650 const glsl_type *type_without_array = type->without_array(); in validate_explicit_variable_location()
1085 this->matched_candidate->type->without_array()->is_64bit() ? 2 : 1; in assign_location()
2385 assert(!type->without_array()->is_struct()); in visit_field()
2386 assert(!type->without_array()->is_interface()); in visit_field()
2466 input_var->get_interface_type()->without_array()->name, in populate_consumer_input_sets()
[all …]
Dlink_interface_blocks.cpp250 var->get_interface_type()->without_array()->name); in lookup()
272 var->get_interface_type()->without_array()->name, var); in store()
Dir_set_program_inouts.cpp120 var->type->without_array()->is_dual_slot()) in mark()
311 if (type->without_array()->is_dual_slot()) in try_mark_partial_variable()
Dlower_subroutine.cpp96 if (ir->sub_var->type->without_array() == fn->subroutine_types[i]) { in visit_leave()
Dgl_nir_link_atomics.c237 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()
Dlower_xfb_varying.cpp180 *type = (*type)->without_array(); in get_deref()
Dlower_blend_equation_advanced.cpp515 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()
Dast_to_hir.cpp2393 const glsl_type *const t = type->without_array(); in precision_qualifier_allowed()
2662 get_type_name_for_precision_qualifier(type->without_array()); in select_gles_precision()
2760 } else if (!type->without_array()->is_matrix()) { in validate_matrix_layout_for_type()
2805 const glsl_type *t_without_array = type->without_array(); in validate_xfb_offset_qualifier()
2889 const glsl_type *base_type = type->without_array(); in apply_explicit_binding()
3457 const glsl_type *base_type = var->type->without_array(); in apply_image_qualifier_to_variable()
3715 const glsl_type *type = var->type->without_array(); in apply_layout_qualifier_to_variable()
4160 switch (var->type->without_array()->base_type) { in apply_type_qualifier_to_variable()
5355 const glsl_type *check_type = var->type->without_array(); in hir()
5419 const glsl_type *check_type = var->type->without_array(); in hir()
[all …]
Dlower_packed_varyings.cpp727 packed_type->without_array() == glsl_type::ivec4_type in get_packed_varying_deref()
796 type = type->without_array(); in needs_lowering()
Dlower_named_interface_blocks.cpp150 const glsl_type * iface_t = var->type->without_array(); in run()
Dlink_atomics.cpp249 var->type->without_array()->atomic_size() : 0); in link_assign_atomic_counter_resources()
Dopt_structure_splitting.cpp346 if (type->fields.structure[i].type->without_array()->is_image()) { in do_structure_splitting()
Dglsl_to_nir.cpp518 var->data.compact = ir->type->without_array()->is_scalar(); in visit()
524 var->data.compact = ir->type->without_array()->is_scalar(); in visit()
534 var->data.compact = ir->type->without_array()->is_scalar(); in visit()
540 var->data.compact = ir->type->without_array()->is_scalar(); in visit()
584 if (ir->type->without_array()->is_interface()) { in visit()
648 if (var->type->without_array()->is_image()) { in visit()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1642 const glsl_type *t = this->without_array(); in struct_location_offset()
1648 const glsl_type *wa = st->without_array(); in struct_location_offset()
1741 if (this->without_array()->is_struct() || in varying_count()
1742 this->without_array()->is_interface() || in varying_count()
1960 if (this->without_array()->is_matrix()) { in std140_size()
1966 element_type = this->without_array(); in std140_size()
2001 if (this->without_array()->is_struct()) { in std140_size()
2002 stride = this->without_array()->std140_size(row_major); in std140_size()
2005 this->without_array()->std140_base_alignment(row_major); in std140_size()
2353 if (this->without_array()->is_matrix()) { in std430_size()
[all …]
Dnir_types.cpp56 return type->without_array(); in glsl_without_array()
62 type = type->without_array(); in glsl_without_array_or_matrix()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp153 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()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1619 struct vtn_type *without_array = in vtn_pointer_from_ssa() local
1624 without_array, &nir_mode); in vtn_pointer_from_ssa()
1745 struct vtn_type *without_array = vtn_type_without_array(ptr_type->deref); in vtn_create_variable() local
1749 mode = vtn_storage_class_to_mode(b, storage_class, without_array, &nir_mode); in vtn_create_variable()
1754 vtn_assert(without_array->block); in vtn_create_variable()
1759 !without_array->block) { in vtn_create_variable()
1776 if (without_array->base_type == vtn_base_type_image) { in vtn_create_variable()
1777 if (glsl_type_is_image(without_array->glsl_image)) in vtn_create_variable()
1779 else if (glsl_type_is_sampler(without_array->glsl_image)) in vtn_create_variable()
1785 glsl_get_explicit_size(without_array->type, false); in vtn_create_variable()
[all …]
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2388 num_params *= type->without_array()->matrix_columns; in visit_field()
2390 bool is_dual_slot = type->without_array()->is_dual_slot(); in visit_field()
2399 unsigned dmul = type->without_array()->is_64bit() ? 2 : 1; in visit_field()
2400 unsigned comps = type->without_array()->vector_elements * dmul; in visit_field()
2576 if (storage->type->without_array()->is_sampler()) { in _mesa_associate_uniform_storage()
2580 } else if (storage->type->without_array()->is_image()) { in _mesa_associate_uniform_storage()

12