Home
last modified time | relevance | path

Searched refs:glsl_get_array_element (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c43 glsl_type_is_array(glsl_get_array_element(type))) { in set_opaque_binding()
44 const struct glsl_type *element_type = glsl_get_array_element(type); in set_opaque_binding()
204 glsl_type_is_array(glsl_get_array_element(type)))) { in set_uniform_initializer()
205 const struct glsl_type *element_type = glsl_get_array_element(type); in set_uniform_initializer()
221 const struct glsl_type *element_type = glsl_get_array_element(type); in set_uniform_initializer()
Dgl_nir_link_uniforms.c70 const struct glsl_type *e_type = glsl_get_array_element(type); in uniform_storage_size()
109 glsl_type_is_array(glsl_get_array_element(var->type))) in update_array_sizes()
162 var->type = glsl_array_type(glsl_get_array_element(var->type), in update_array_sizes()
472 deref_type = glsl_get_array_element(deref_type); in add_var_use_deref()
504 type = glsl_get_array_element(type)) { in add_var_use_deref()
913 (glsl_type_is_array(glsl_get_array_element(type)) || in find_and_update_named_uniform_storage()
914 glsl_type_is_struct_or_ifc(glsl_get_array_element(type))))) { in find_and_update_named_uniform_storage()
940 field_type = glsl_get_array_element(type); in find_and_update_named_uniform_storage()
1105 entry->children = build_type_tree_for_type(glsl_get_array_element(type)); in build_type_tree_for_type()
1215 (glsl_type_is_array(glsl_get_array_element(type)) || in nir_link_uniform()
[all …]
Dgl_nir_link_varyings.c57 type = glsl_get_array_element(type); in get_varying_type()
98 (glsl_type_is_array(t) && glsl_type_is_array(glsl_get_array_element(t)))) { in create_xfb_varying_names()
105 create_xfb_varying_names(mem_ctx, glsl_get_array_element(t), name, in create_xfb_varying_names()
327 glsl_get_array_element(xfb_decl->matched_candidate->type); in xfb_decl_assign_location()
1784 glsl_type_is_array(glsl_get_array_element(type))) { in tfeedback_candidate_generator()
1793 glsl_get_array_element(type), in tfeedback_candidate_generator()
2036 type = glsl_get_array_element(type); in set_variable_io_mask()
2191 type = glsl_get_array_element(type); in remove_unused_io_vars()
2261 type = glsl_get_array_element(type); in remove_unused_varyings()
2277 type = glsl_get_array_element(type); in remove_unused_varyings()
[all …]
Dgl_nir_link_atomics.c93 glsl_type_is_array(glsl_get_array_element(t))) { in process_atomic_variable()
95 process_atomic_variable(glsl_get_array_element(t), in process_atomic_variable()
Dgl_nir_link_uniform_blocks.c327 field_type = glsl_get_array_element(type); in iterate_type_count_variables()
395 field_type = glsl_get_array_element(type); in iterate_type_fill_variables()
Dgl_nir_linker.c340 type = glsl_get_array_element(type); in add_shader_variable()
343 glsl_get_type_name(glsl_get_array_element(interface_type)); in add_shader_variable()
399 const struct glsl_type *array_type = glsl_get_array_element(type); in add_shader_variable()
Dgl_nir_lower_packed_varyings.c225 type = glsl_get_array_element(type); in needs_lowering()
630 type = glsl_get_array_element(type); in lower_arraylike()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c52 type = glsl_get_array_element(type); in get_unwrapped_array_length()
56 type = glsl_get_array_element(type); in get_unwrapped_array_length()
Dnir_linking_helpers.c55 type = glsl_get_array_element(type); in get_variable_io_mask()
317 type = glsl_get_array_element(type); in get_unmoveable_components_masks()
420 type = glsl_get_array_element(type); in remap_slots_and_components()
560 type = glsl_get_array_element(type); in gather_varying_component_info()
618 type = glsl_get_array_element(type); in gather_varying_component_info()
684 type = glsl_get_array_element(type); in gather_varying_component_info()
1486 type = glsl_get_array_element(type); in nir_assign_io_var_locations()
1511 assert(glsl_type_is_scalar(glsl_get_array_element(type))); in nir_assign_io_var_locations()
1536 glsl_count_attribute_slots(glsl_get_array_element(type), false); in nir_assign_io_var_locations()
1634 type = glsl_get_array_element(type); in get_linked_variable_io_mask()
Dnir_split_per_member_structs.c52 member_type(glsl_get_array_element(type), index); in member_type()
82 t = glsl_get_array_element(t); in split_variable()
Dnir_lower_io_to_vector.c58 return glsl_get_array_element(var->type); in get_per_vertex_type()
71 resize_array_vec_type(glsl_get_array_element(type), num_components); in resize_array_vec_type()
106 a_type_tail = glsl_get_array_element(a_type_tail); in variables_can_merge()
107 b_type_tail = glsl_get_array_element(b_type_tail); in variables_can_merge()
Dnir_gather_info.c205 type = glsl_get_array_element(type); in mark_whole_variable()
210 type = glsl_get_array_element(type); in mark_whole_variable()
279 type = glsl_get_array_element(type); in try_mask_partial_io()
999 glsl_count_attribute_slots(glsl_get_array_element(var->type), false); in nir_shader_gather_info()
Dnir_lower_io_arrays_to_elements.c94 type = glsl_get_array_element(type); in get_array_elements()
320 type = glsl_get_array_element(type); in lower_io_arrays_to_elements()
Dnir_split_vars.c88 type = glsl_get_array_element(type); in num_array_levels_in_array_of_vector_type()
408 type = glsl_get_array_element(type); in init_var_list_array_infos()
1004 type = glsl_get_array_element(type); in get_vec_var_usage()
1373 vec_type = glsl_get_array_element(vec_type); in shrink_vec_var_list()
1496 deref->type = glsl_get_array_element(parent->type); in shrink_vec_var_access_impl()
Dnir_lower_readonly_images_to_tex.c32 get_texture_type_for_image(glsl_get_array_element(type)); in get_texture_type_for_image()
Dnir_lower_atomics_to_ssbo.c187 return is_atomic_uint(glsl_get_array_element(type)); in is_atomic_uint()
Dnir_opt_memcpy.c99 const struct glsl_type *elem_type = glsl_get_array_element(type); in type_is_tightly_packed()
Dnir_validate.c499 instr->type == glsl_get_array_element(parent->type)); in validate_deref_instr()
1489 const struct glsl_type *elem_type = glsl_get_array_element(type); in validate_constant()
1512 const struct glsl_type *type = glsl_get_array_element(var->type); in validate_var_decl()
1516 type = glsl_get_array_element(type); in validate_var_decl()
1519 assert(glsl_type_is_scalar(glsl_get_array_element(type))); in validate_var_decl()
Dnir_deref.c880 child->type = glsl_get_array_element(parent->type); in nir_deref_instr_fixup_child_types()
1083 parent_type = glsl_get_array_element(parent_type); in opt_remove_sampler_cast()
1084 cast_type = glsl_get_array_element(cast_type); in opt_remove_sampler_cast()
Dnir_lower_const_arrays_to_uniforms.c120 rebuild_const_array_initialiser(glsl_get_array_element(type), mem_ctx); in rebuild_const_array_initialiser()
/third_party/mesa3d/src/compiler/
Dnir_types.cpp45 glsl_get_array_element(const glsl_type* type) in glsl_get_array_element() function
964 glsl_type_count(glsl_get_array_element(type), base_type); in glsl_type_count()
1067 (glsl_type_is_array(glsl_get_array_element(type)) || in glsl_type_is_leaf()
1068 glsl_type_is_struct_or_ifc(glsl_get_array_element(type))))) { in glsl_type_is_leaf()
1091 glsl_type_wrap_in_arrays(type, glsl_get_array_element(arrays)); in glsl_type_wrap_in_arrays()
Dnir_types.h69 const struct glsl_type *glsl_get_array_element(const struct glsl_type *type);
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c126 type = glsl_get_array_element(type); in get_additional_semantic_info()
188 type = glsl_get_array_element(type); in get_additional_semantic_info()
351 type = glsl_get_array_element(type); in get_semantic_in_name()
647 type = glsl_get_array_element(type); in process_output_signature()
Ddxil_nir_tess.c380 var->type = glsl_array_type(glsl_get_array_element(var->type), num_control_points, 0); in dxil_nir_set_tcs_patches_in()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c496 type = glsl_get_array_element(type); in nir_tgsi_scan_shader()
596 type = glsl_get_array_element(type); in nir_tgsi_scan_shader()

12