Home
last modified time | relevance | path

Searched refs:glsl_get_struct_field (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_split_per_member_structs.c58 return glsl_get_struct_field(type, index); in member_type()
98 glsl_get_struct_field(var->interface_type, i); in split_variable()
Dnir_gather_xfb_info.c97 const struct glsl_type *child_type = glsl_get_struct_field(type, i); in add_var_xfb_outputs()
250 const struct glsl_type *ftype = glsl_get_struct_field(itype, f); in nir_gather_xfb_info_with_varyings()
Dnir_deref.c295 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align); in struct_type_get_field_offset()
888 child->type = glsl_get_struct_field(parent->type, in nir_deref_instr_fixup_child_types()
1137 if (cast->type != glsl_get_struct_field(parent->type, 0)) in opt_replace_struct_wrapper_cast()
Dnir_lower_const_arrays_to_uniforms.c123 rebuild_const_array_initialiser(glsl_get_struct_field(type, i), mem_ctx); in rebuild_const_array_initialiser()
Dnir_validate.c480 glsl_get_struct_field(parent->type, instr->strct.index)); in validate_deref_instr()
1485 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in validate_constant()
Dnir_gather_info.c253 const struct glsl_type *field_type = glsl_get_struct_field(parent_type, i); in get_io_offset()
Dnir_lower_io.c279 field_offset += type_size(glsl_get_struct_field(parent->type, i), bts); in get_io_offset()
2584 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in write_constant()
Dnir_split_vars.c125 glsl_get_struct_field(struct_type, i), in init_field_for_type()
Dnir_print.c513 print_constant(c->elements[i], glsl_get_struct_field(type, i), state); in print_constant()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c325 field_type = glsl_get_struct_field(type, i); in iterate_type_count_variables()
391 field_type = glsl_get_struct_field(type, i); in iterate_type_fill_variables()
Dgl_nir_lower_xfb_varying.c105 *type = glsl_get_struct_field(*type, idx); in get_deref()
Dgl_nir_link_uniforms.c66 size += uniform_storage_size(glsl_get_struct_field(type, i)); in uniform_storage_size()
932 field_type = glsl_get_struct_field(type, i); in find_and_update_named_uniform_storage()
1111 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in build_type_tree_for_type()
1258 field_type = glsl_get_struct_field(type, i); in nir_link_uniform()
Dgl_nir_link_uniform_initializers.c196 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in set_uniform_initializer()
Dgl_nir_link_varyings.c92 create_xfb_varying_names(mem_ctx, glsl_get_struct_field(t, i), name, in create_xfb_varying_names()
169 glsl_get_struct_field(type_wa, glsl_get_field_index(type_wa, var->name)); in process_xfb_layout_qualifiers()
1777 glsl_get_struct_field(type, i), NULL); in tfeedback_candidate_generator()
Dgl_nir_linker.c366 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in add_shader_variable()
Dgl_nir_lower_packed_varyings.c701 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in lower_varying()
/third_party/mesa3d/src/compiler/
Dnir_types.cpp76 glsl_get_struct_field(const glsl_type *type, unsigned index) in glsl_get_struct_field() function
973 count += glsl_type_count(glsl_get_struct_field(type, i), base_type); in glsl_type_count()
Dnir_types.h46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type,
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c491 …unsigned idx = glsl_get_explicit_stride(glsl_get_struct_field(glsl_without_array(var->type), 0)) >… in get_bo_vars()
546 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()
771 const struct glsl_type *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()
1198 const struct glsl_type *array_type = glsl_get_struct_field(bare_type, 0); in get_bo_var()
1544 glsl_type_contains_64bit(glsl_get_struct_field(type, i + 1))) { in rewrite_64bit_type()
1862 members[i]->type = glsl_get_struct_field(var->type, i); in split_blocks()
2248 …if (glsl_type_is_unsized_array(glsl_get_struct_field(interface_type, glsl_get_length(interface_typ… in unbreak_bos()
2588 handle_bindless_var(nir, var, glsl_get_struct_field(type, i), bindless); in handle_bindless_var()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c282 mark_16bit_ps_input(info, glsl_get_struct_field(type, i), location); in mark_16bit_ps_input()
283 location += glsl_count_attribute_slots(glsl_get_struct_field(type, i), false); in mark_16bit_ps_input()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c445 types[i] = get_glsl_type(ctx, glsl_get_struct_field(type, i)); in get_glsl_type()
985 …unsigned bitsize = glsl_get_bit_size(glsl_get_array_element(glsl_get_struct_field(glsl_without_arr… in get_bo_array_type()
989 const struct glsl_type *first_type = glsl_get_struct_field(type, 0); in get_bo_array_type()
1009 … unsigned bitsize = glsl_get_bit_size(glsl_get_array_element(glsl_get_struct_field(bare_type, 0))); in get_bo_struct_type()
1017 …const struct glsl_type *last_member = glsl_get_struct_field(bare_type, glsl_get_length(bare_type) … in get_bo_struct_type()
1044 …unsigned bitsize = glsl_get_bit_size(glsl_get_array_element(glsl_get_struct_field(glsl_without_arr… in emit_bo()
1460 *arraytype = glsl_get_struct_field(slot_type, i); in unroll_struct_type()
1465 …_builder_emit_composite_extract(&ctx->builder, get_glsl_type(ctx, glsl_get_struct_field(slot_type,… in unroll_struct_type()
2724 const struct glsl_type *last_member = glsl_get_struct_field(bare_type, last_member_idx); in emit_get_ssbo_size()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c48 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_count_function_params()
74 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_add_to_function_params()
Dspirv_to_nir.c219 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_undef_ssa_value()
263 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_const_ssa_value()
2583 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_create_ssa_value()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c93 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in gather_usage_helper()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c519 const struct glsl_type *elm_type = glsl_get_struct_field(type, i); in copy_const_initializer()

12