Home
last modified time | relevance | path

Searched refs:member_index (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_jit_types.c88 unsigned member_index, in lp_llvm_buffer_member() argument
104 lp_build_const_int32(gallivm, member_index), in lp_llvm_buffer_member()
113 indices[2] = lp_build_const_int32(gallivm, member_index); in lp_llvm_buffer_member()
119 LLVMTypeRef res_type = LLVMStructGetTypeAtIndex(buffer_type, member_index); in lp_llvm_buffer_member()
341 unsigned member_index, in lp_build_llvm_texture_member() argument
361 lp_build_const_int32(gallivm, member_index), in lp_build_llvm_texture_member()
388 indices[3] = lp_build_const_int32(gallivm, member_index); in lp_build_llvm_texture_member()
396 LLVMTypeRef res_type = LLVMStructGetTypeAtIndex(LLVMGetElementType(tex_type), member_index); in lp_build_llvm_texture_member()
403 LLVMTypeRef res_type = LLVMStructGetTypeAtIndex(LLVMGetElementType(tex_type), member_index); in lp_build_llvm_texture_member()
504 unsigned member_index, in LP_BUILD_LLVM_TEXTURE_MEMBER()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/thiserror-impl/src/
Dfmt.rs15 let mut member_index = Map::new(); in expand_shorthand() localVariable
17 member_index.insert(&field.member, i); in expand_shorthand()
54 if !member_index.contains_key(&member) { in expand_shorthand()
67 if let Some(&field) = member_index.get(&member) { in expand_shorthand()
107 if read.starts_with('}') && member_index.contains_key(&member) { in expand_shorthand()
/aosp_15_r20/external/vulkan-validation-layers/scripts/
H A Dhelper_file_generator.py319member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == handle_type), None)
320 if member_index is not None:
321 for item in self.structMembers[member_index].members:
477member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == member.type), None)
478 … if member_index is not None and self.NeedSafeStruct(self.structMembers[member_index]) == True:
1236member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == member.type), None)
1237 … if member_index is not None and self.NeedSafeStruct(self.structMembers[member_index]) == True:
1300member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == member.type), None)
1301 … if member_index is not None and self.NeedSafeStruct(self.structMembers[member_index]) == True:
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidation_state.h408 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
413 dec.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
431 uint32_t member_index) { in id_member_decorations() argument
436 Decoration min_decoration((spv::Decoration)0, {}, member_index); in id_member_decorations()
437 Decoration max_decoration(spv::Decoration::Max, {}, member_index); in id_member_decorations()
Ddecoration.h63 uint32_t member_index = kInvalidMember)
64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
Dvalidate_constants.cpp215 for (uint32_t constituent_index = 2, member_index = 1; in ValidateConstantComposite() local
217 constituent_index++, member_index++) { in ValidateConstantComposite()
235 result_type->GetOperandAs<uint32_t>(member_index); in ValidateConstantComposite()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/reduce/
H A Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidation_state.h408 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
413 dec.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
431 uint32_t member_index) { in id_member_decorations() argument
436 Decoration min_decoration((spv::Decoration)0, {}, member_index); in id_member_decorations()
437 Decoration max_decoration(spv::Decoration::Max, {}, member_index); in id_member_decorations()
H A Ddecoration.h63 uint32_t member_index = kInvalidMember)
64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
H A Dvalidate_constants.cpp215 for (uint32_t constituent_index = 2, member_index = 1; in ValidateConstantComposite() local
217 constituent_index++, member_index++) { in ValidateConstantComposite()
235 result_type->GetOperandAs<uint32_t>(member_index); in ValidateConstantComposite()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/val/
H A Dvalidation_state.h423 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
428 dec.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
446 uint32_t member_index) { in id_member_decorations() argument
451 Decoration min_decoration((spv::Decoration)0, {}, member_index); in id_member_decorations()
452 Decoration max_decoration(spv::Decoration::Max, {}, member_index); in id_member_decorations()
H A Ddecoration.h70 uint32_t member_index = kInvalidMember)
71 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
H A Dvalidate_constants.cpp215 for (uint32_t constituent_index = 2, member_index = 1; in ValidateConstantComposite() local
217 constituent_index++, member_index++) { in ValidateConstantComposite()
235 result_type->GetOperandAs<uint32_t>(member_index); in ValidateConstantComposite()
/aosp_15_r20/external/libxaac/encoder/drc_src/
H A Dimpd_drc_uni_drc_eq.c254 if (pstr_cascade_alignment_group->member_index[i] == index_c1) { in impd_drc_check_presence_and_add_cascade()
256 if (pstr_cascade_alignment_group->member_index[j] == index_c2) { in impd_drc_check_presence_and_add_cascade()
261 pstr_cascade_alignment_group->member_index[pstr_cascade_alignment_group->member_count] = in impd_drc_check_presence_and_add_cascade()
293 pstr_cascade_alignment_group[group_count].member_index[0] = i; in impd_drc_derive_cascade_alignment_groups()
294 pstr_cascade_alignment_group[group_count].member_index[1] = j; in impd_drc_derive_cascade_alignment_groups()
303 pstr_cascade_alignment_group[group_count].member_index[i] = i; in impd_drc_derive_cascade_alignment_groups()
374 cascade_index = pstr_cascade_alignment_group[i].member_index[j]; in impd_drc_phase_align_cascade_group()
384 cascade_index = pstr_cascade_alignment_group[i].member_index[j]; in impd_drc_phase_align_cascade_group()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dscalar_replacement_pass.h270 uint32_t member_index);
279 uint32_t member_index);
H A Dscalar_replacement_pass.cpp950 uint32_t member_index) { in CopyDecorationsToVariable() argument
952 CopyNecessaryMemberDecorationsToVariable(from, to, member_index); in CopyDecorationsToVariable()
978 Instruction* from, Instruction* to, uint32_t member_index) { in CopyNecessaryMemberDecorationsToVariable() argument
984 if (dec_inst->GetSingleWordInOperand(1) != member_index) { in CopyNecessaryMemberDecorationsToVariable()
H A Dinst_debug_printf_pass.h168 std::unique_ptr<Instruction> NewMemberName(uint32_t id, uint32_t member_index,
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h270 uint32_t member_index);
279 uint32_t member_index);
Dscalar_replacement_pass.cpp950 uint32_t member_index) { in CopyDecorationsToVariable() argument
952 CopyNecessaryMemberDecorationsToVariable(from, to, member_index); in CopyDecorationsToVariable()
978 Instruction* from, Instruction* to, uint32_t member_index) { in CopyNecessaryMemberDecorationsToVariable() argument
984 if (dec_inst->GetSingleWordInOperand(1) != member_index) { in CopyNecessaryMemberDecorationsToVariable()
Dinst_debug_printf_pass.h168 std::unique_ptr<Instruction> NewMemberName(uint32_t id, uint32_t member_index,
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/
H A Dscalar_replacement_pass.h270 uint32_t member_index);
279 uint32_t member_index);
H A Dscalar_replacement_pass.cpp950 uint32_t member_index) { in CopyDecorationsToVariable() argument
952 CopyNecessaryMemberDecorationsToVariable(from, to, member_index); in CopyDecorationsToVariable()
978 Instruction* from, Instruction* to, uint32_t member_index) { in CopyNecessaryMemberDecorationsToVariable() argument
984 if (dec_inst->GetSingleWordInOperand(1) != member_index) { in CopyNecessaryMemberDecorationsToVariable()
/aosp_15_r20/external/vulkan-validation-layers/layers/
H A Dshader_validation.cpp622 unsigned member_index = insn.word(2); in CollectInterfaceBlockMembers() local
626 member_components[member_index] = component; in CollectInterfaceBlockMembers()
630 member_relaxed_precision[member_index] = 1; in CollectInterfaceBlockMembers()
634 member_patch[member_index] = 1; in CollectInterfaceBlockMembers()
644 unsigned member_index = insn.word(2); in CollectInterfaceBlockMembers() local
645 unsigned member_type_id = type.word(2 + member_index); in CollectInterfaceBlockMembers()
650 auto component_it = member_components.find(member_index); in CollectInterfaceBlockMembers()
652 …bool is_relaxed_precision = member_relaxed_precision.find(member_index) != member_relaxed_precisio… in CollectInterfaceBlockMembers()
653 bool member_is_patch = is_patch || member_patch.count(member_index) > 0; in CollectInterfaceBlockMembers()

12