Home
last modified time | relevance | path

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

12

/external/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()
203 glsl_type_is_array(glsl_get_array_element(type)))) { in set_uniform_initializer()
204 const struct glsl_type *element_type = glsl_get_array_element(type); in set_uniform_initializer()
220 const struct glsl_type *element_type = glsl_get_array_element(type); in set_uniform_initializer()
Dgl_nir_link_uniforms.c68 const struct glsl_type *e_type = glsl_get_array_element(type); in uniform_storage_size()
107 glsl_type_is_array(glsl_get_array_element(var->type))) in update_array_sizes()
160 var->type = glsl_array_type(glsl_get_array_element(var->type), in update_array_sizes()
445 deref_type = glsl_get_array_element(deref_type); in add_var_use_deref()
477 type = glsl_get_array_element(type)) { in add_var_use_deref()
875 (glsl_type_is_array(glsl_get_array_element(type)) || in find_and_update_named_uniform_storage()
876 glsl_type_is_struct_or_ifc(glsl_get_array_element(type))))) { in find_and_update_named_uniform_storage()
902 field_type = glsl_get_array_element(type); in find_and_update_named_uniform_storage()
1067 entry->children = build_type_tree_for_type(glsl_get_array_element(type)); in build_type_tree_for_type()
1177 (glsl_type_is_array(glsl_get_array_element(type)) || in nir_link_uniform()
[all …]
Dgl_nir_linker.c213 type = glsl_get_array_element(type); in add_shader_variable()
216 glsl_get_type_name(glsl_get_array_element(interface_type)); in add_shader_variable()
272 const struct glsl_type *array_type = glsl_get_array_element(type); in add_shader_variable()
Dgl_nir_link_atomics.c91 glsl_type_is_array(glsl_get_array_element(t))) { in process_atomic_variable()
93 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()
391 field_type = glsl_get_array_element(type); in iterate_type_fill_variables()
/external/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c55 type = glsl_get_array_element(type); in get_variable_io_mask()
284 type = glsl_get_array_element(type); in get_unmoveable_components_masks()
382 type = glsl_get_array_element(type); in remap_slots_and_components()
510 type = glsl_get_array_element(type); in gather_varying_component_info()
568 type = glsl_get_array_element(type); in gather_varying_component_info()
630 type = glsl_get_array_element(type); in gather_varying_component_info()
1107 type = glsl_get_array_element(type); in nir_assign_io_var_locations()
1132 assert(glsl_type_is_scalar(glsl_get_array_element(type))); in nir_assign_io_var_locations()
1157 glsl_count_attribute_slots(glsl_get_array_element(type), false); in nir_assign_io_var_locations()
1252 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_lower_clip_cull_distance_arrays.c52 type = glsl_get_array_element(type); in get_unwrapped_array_length()
Dnir_split_vars.c89 wrap_type_in_array(type, glsl_get_array_element(array_type)); in wrap_type_in_array()
101 type = glsl_get_array_element(type); in num_array_levels_in_array_of_vector_type()
420 type = glsl_get_array_element(type); in init_var_list_array_infos()
1015 type = glsl_get_array_element(type); in get_vec_var_usage()
1384 vec_type = glsl_get_array_element(vec_type); in shrink_vec_var_list()
1507 deref->type = glsl_get_array_element(parent->type); in shrink_vec_var_access_impl()
Dnir_lower_io_arrays_to_elements.c94 type = glsl_get_array_element(type); in get_array_elements()
322 type = glsl_get_array_element(type); in lower_io_arrays_to_elements()
Dnir_opt_memcpy.c99 const struct glsl_type *elem_type = glsl_get_array_element(type); in type_is_tightly_packed()
Dnir_gather_info.c179 type = glsl_get_array_element(type); in mark_whole_variable()
190 type = glsl_get_array_element(type); in mark_whole_variable()
238 type = glsl_get_array_element(type); in try_mask_partial_io()
Dnir_lower_atomics_to_ssbo.c161 return is_atomic_uint(glsl_get_array_element(type)); in is_atomic_uint()
Dnir_deref.c799 child->type = glsl_get_array_element(parent->type); in nir_deref_instr_fixup_child_types()
978 parent_type = glsl_get_array_element(parent_type); in opt_remove_sampler_cast()
979 cast_type = glsl_get_array_element(cast_type); in opt_remove_sampler_cast()
Dnir_gather_xfb_info.c82 const struct glsl_type *child_type = glsl_get_array_element(type); in add_var_xfb_outputs()
Dnir_validate.c490 instr->type == glsl_get_array_element(parent->type)); in validate_deref_instr()
1367 const struct glsl_type *elem_type = glsl_get_array_element(type); in validate_constant()
1390 const struct glsl_type *type = glsl_get_array_element(var->type); in validate_var_decl()
1393 assert(glsl_type_is_scalar(glsl_get_array_element(type))); in validate_var_decl()
Dnir_opt_find_array_copies.c159 create_match_node(glsl_get_array_element(type), state); in node_for_wildcard()
Dnir_builder.h1118 deref->type = glsl_get_array_element(parent->type); in nir_build_deref_array()
1179 deref->type = glsl_get_array_element(parent->type); in nir_build_deref_array_wildcard()
/external/mesa3d/src/compiler/
Dnir_types.cpp44 glsl_get_array_element(const glsl_type* type) in glsl_get_array_element() function
924 (glsl_type_is_array(glsl_get_array_element(type)) || in glsl_type_is_leaf()
925 glsl_type_is_struct_or_ifc(glsl_get_array_element(type))))) { in glsl_type_is_leaf()
Dnir_types.h69 const struct glsl_type *glsl_get_array_element(const struct glsl_type *type);
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c503 type = glsl_get_array_element(type); in nir_tgsi_scan_shader()
603 type = glsl_get_array_element(type); in nir_tgsi_scan_shader()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c323 unsigned stride = glsl_count_attribute_slots(glsl_get_array_element(type), false); in mark_16bit_ps_input()
325 mark_16bit_ps_input(info, glsl_get_array_element(type), location + i * stride); in mark_16bit_ps_input()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp135 const struct glsl_type *element_type = glsl_get_array_element(type); in count_uniform_storage_slots()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c42 glsl_type_count_function_params(glsl_get_array_element(type)); in glsl_type_count_function_params()
67 const struct glsl_type *elem_type = glsl_get_array_element(type); in glsl_type_add_to_function_params()

12