Home
last modified time | relevance | path

Searched refs:glsl_array_size (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c66 if (index_in_array < glsl_array_size(parent->type)) { in lower_tex_src_to_offset()
69 base_index = glsl_array_size(parent->type) - 1; in lower_tex_src_to_offset()
Dnir_lower_amul.c260 unsigned size = MAX2(1, glsl_array_size(var->type)); in nir_lower_amul()
267 unsigned size = MAX2(1, glsl_array_size(var->type)); in nir_lower_amul()
Dnir_split_64bit_vec3_and_vec4.c116 int stride = glsl_array_size((*p)->type); in get_linear_array_offset()
/third_party/mesa3d/src/compiler/
Dnir_types.h68 int glsl_array_size(const struct glsl_type *type);
Dnir_types.cpp39 glsl_array_size(const struct glsl_type *type) in glsl_array_size() function
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c128 int words = BITSET_WORDS(glsl_array_size(var->type)); in update_array_sizes()
143 if (max_array_size == glsl_array_size(var->type)) in update_array_sizes()
147 if (max_array_size != glsl_array_size(var->type)) { in update_array_sizes()
159 (max_array_size * (num_slots / glsl_array_size(var->type))); in update_array_sizes()
Dgl_nir_opt_dead_builtin_varyings.c120 info->texcoord_usage |= (1 << glsl_array_size(var->type)) - 1; in gather_info_on_varying_deref()
Dgl_nir_link_varyings.c348 actual_array_size = glsl_array_size(xfb_decl->matched_candidate->type); in xfb_decl_assign_location()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_tess.c326 unsigned old_array_size = glsl_array_size(var->type); in dxil_nir_fixup_tess_level_for_domain()
Ddxil_nir.c1210 arrayed_io_length = glsl_array_size(old_type); in dxil_nir_split_clip_cull_distance_instr()
1215 int old_length = glsl_array_size(old_type); in dxil_nir_split_clip_cull_distance_instr()
1867 if (!glsl_type_is_array(var->type) || glsl_array_size(var->type) != 1) in lower_ubo_array_one_to_static()
Dnir_to_dxil.c1621 ctx->tess_input_control_point_count = glsl_array_size(var->type); in emit_metadata()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c546 unsigned size = glsl_array_size(glsl_get_struct_field(strct_type, 0)); in bound_bo_access_instr()
547 …bool has_unsized = glsl_array_size(glsl_get_struct_field(strct_type, glsl_get_length(strct_type) -… in bound_bo_access_instr()
713 …(glsl_type_is_array(var->type) ? glsl_array_size(var->type) : glsl_get_vector_elements(var->type))… in find_var_with_location_frac()
799 num_components *= glsl_array_size(arraytype); in get_slot_components()
928 num_components /= glsl_array_size(var->type); in update_so_info()
948 …if (glsl_type_is_array(var->type) && glsl_array_size(var->type) > 1 && glsl_type_is_interface(glsl… in update_so_info()
1530 unsigned elements = glsl_array_size(type); in rewrite_64bit_type()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp298 for (int i = 0; i < glsl_array_size(var->type); i++) { in zero_array_members()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c677 …(!glsl_type_is_array(var->type) || glsl_array_size(var->type) == 1 || !glsl_type_is_interface(gls… in emit_output()
1418 for (unsigned i = 0; i < glsl_array_size(var->type); i++) { in emit_so_info()
1689 for (unsigned i = 0; i < glsl_array_size(var->type); i++) { in emit_so_outputs()