Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dnamer.cc95 uint32_t member_index) const { in GetMemberName()
100 if (member_index < member_names.size()) { in GetMemberName()
101 result = member_names[member_index]; in GetMemberName()
161 uint32_t member_index, in SuggestSanitizedMemberName() argument
166 name_vector.resize(std::max(name_vector.size(), size_t(member_index + 1))); in SuggestSanitizedMemberName()
167 auto& entry = name_vector[member_index]; in SuggestSanitizedMemberName()
Dparser_impl_test_helper.h186 uint32_t member_index) const { in GetDecorationsForMember() argument
187 return impl_.GetDecorationsForMember(id, member_index); in GetDecorationsForMember()
200 uint32_t member_index, in ConvertMemberDecoration() argument
203 return impl_.ConvertMemberDecoration(struct_type_id, member_index, in ConvertMemberDecoration()
Dparser_impl.cc408 uint32_t member_index) const { in GetDecorationsForMember()
413 (inst->GetSingleWordInOperand(1) != member_index)) { in GetDecorationsForMember()
437 uint32_t member_index, in ConvertMemberDecoration() argument
449 << decoration.size() - 1 << ": member " << member_index << " of " in ConvertMemberDecoration()
471 << member_index << " of " << ShowType(struct_type_id); in ConvertMemberDecoration()
477 << decoration.size() - 1 << ": member " << member_index << " of " in ConvertMemberDecoration()
511 << member_index << " of " << ShowType(struct_type_id); in ConvertMemberDecoration()
1103 for (uint32_t member_index = 0; member_index < members.size(); in ConvertType() local
1104 ++member_index) { in ConvertType()
1105 const auto member_type_id = type_mgr_->GetId(members[member_index]); in ConvertType()
[all …]
Dnamer.h90 std::string GetMemberName(uint32_t id, uint32_t member_index) const;
132 uint32_t member_index,
Dparser_impl.h235 uint32_t member_index) const;
285 uint32_t member_index,
408 std::string GetMemberName(const Struct& struct_type, int member_index);
416 int member_index);
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/third_party/spirv-tools/source/reduce/
Dremove_struct_member_reduction_opportunity.h32 uint32_t member_index) in RemoveStructMemberReductionOpportunity() argument
34 member_index_(member_index), in RemoveStructMemberReductionOpportunity()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c117 unsigned member_index, in lp_llvm_texture_member() argument
145 indices[3] = lp_build_const_int32(gallivm, member_index); in lp_llvm_texture_member()
207 unsigned member_index, in LP_LLVM_TEXTURE_MEMBER()
223 indices[3] = lp_build_const_int32(gallivm, member_index); in LP_LLVM_TEXTURE_MEMBER()
269 unsigned member_index, in LP_LLVM_SAMPLER_MEMBER()
290 indices[3] = lp_build_const_int32(gallivm, member_index); in LP_LLVM_SAMPLER_MEMBER()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c107 unsigned member_index, in draw_llvm_texture_member() argument
130 indices[3] = lp_build_const_int32(gallivm, member_index); in draw_llvm_texture_member()
158 unsigned member_index, in draw_llvm_sampler_member() argument
176 indices[3] = lp_build_const_int32(gallivm, member_index); in draw_llvm_sampler_member()
204 unsigned member_index, in draw_llvm_image_member() argument
227 indices[3] = lp_build_const_int32(gallivm, member_index); in draw_llvm_image_member()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Ddecoration.h63 uint32_t member_index = kInvalidMember)
64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
Dvalidate_constants.cpp216 for (uint32_t constituent_index = 2, member_index = 1; in ValidateConstantComposite() local
218 constituent_index++, member_index++) { in ValidateConstantComposite()
236 result_type->GetOperandAs<uint32_t>(member_index); in ValidateConstantComposite()
Dvalidation_state.h397 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
401 decoration.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
Dvalidate_memory.cpp304 for (size_t member_index = 1; member_index < inst->operands().size(); in DoesStructContainRTA() local
305 ++member_index) { in DoesStructContainRTA()
306 const auto member_id = inst->GetOperandAs<uint32_t>(member_index); in DoesStructContainRTA()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Ddecoration.h63 uint32_t member_index = kInvalidMember)
64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
Dvalidate_constants.cpp216 for (uint32_t constituent_index = 2, member_index = 1; in ValidateConstantComposite() local
218 constituent_index++, member_index++) { in ValidateConstantComposite()
236 result_type->GetOperandAs<uint32_t>(member_index); in ValidateConstantComposite()
Dvalidation_state.h397 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
401 decoration.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
/third_party/spirv-tools/source/val/
Ddecoration.h63 uint32_t member_index = kInvalidMember)
64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
Dvalidation_state.h407 uint32_t member_index, InputIt begin, in RegisterDecorationsForStructMember() argument
412 dec.set_struct_member_index(member_index); in RegisterDecorationsForStructMember()
430 uint32_t member_index) { in id_member_decorations() argument
435 Decoration min_decoration((SpvDecoration)0, {}, member_index); in id_member_decorations()
436 Decoration max_decoration(SpvDecorationMax, {}, member_index); in id_member_decorations()
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()
Dvalidate_memory.cpp302 for (size_t member_index = 1; member_index < inst->operands().size(); in DoesStructContainRTA() local
303 ++member_index) { in DoesStructContainRTA()
304 const auto member_id = inst->GetOperandAs<uint32_t>(member_index); in DoesStructContainRTA()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_c.h843 …spvc_compiler_set_member_decoration(spvc_compiler compiler, spvc_type_id id, unsigned member_index,
846 … unsigned member_index, SpvDecoration decoration,
848 … void spvc_compiler_set_member_name(spvc_compiler compiler, spvc_type_id id, unsigned member_index,
852 … unsigned member_index, SpvDecoration decoration);
856 … unsigned member_index, SpvDecoration decoration);
862 … unsigned member_index, SpvDecoration decoration);
864 … unsigned member_index, SpvDecoration decoration);
865 …har *spvc_compiler_get_member_name(spvc_compiler compiler, spvc_type_id id, unsigned member_index);
Dspirv_cross_c.cpp1857 …spvc_compiler_set_member_decoration(spvc_compiler compiler, spvc_type_id id, unsigned member_index, in spvc_compiler_set_member_decoration() argument
1860 …compiler->compiler->set_member_decoration(id, member_index, static_cast<spv::Decoration>(decoratio… in spvc_compiler_set_member_decoration()
1863 …mpiler_set_member_decoration_string(spvc_compiler compiler, spvc_type_id id, unsigned member_index, in spvc_compiler_set_member_decoration_string() argument
1866 …compiler->compiler->set_member_decoration_string(id, member_index, static_cast<spv::Decoration>(de… in spvc_compiler_set_member_decoration_string()
1870 void spvc_compiler_set_member_name(spvc_compiler compiler, spvc_type_id id, unsigned member_index, … in spvc_compiler_set_member_name() argument
1872 compiler->compiler->set_member_name(id, member_index, argument); in spvc_compiler_set_member_name()
1880 …vc_compiler_unset_member_decoration(spvc_compiler compiler, spvc_type_id id, unsigned member_index, in spvc_compiler_unset_member_decoration() argument
1883 …compiler->compiler->unset_member_decoration(id, member_index, static_cast<spv::Decoration>(decorat… in spvc_compiler_unset_member_decoration()
1891 …spvc_compiler_has_member_decoration(spvc_compiler compiler, spvc_type_id id, unsigned member_index, in spvc_compiler_has_member_decoration() argument
1894 …return compiler->compiler->has_member_decoration(id, member_index, static_cast<spv::Decoration>(de… in spvc_compiler_has_member_decoration()
[all …]
/third_party/vulkan-loader/scripts/
Dhelper_file_generator.py308member_index = next((i for i, v in enumerate(self.structMembers) if v[0] == handle_type), None)
309 if member_index is not None:
310 for item in self.structMembers[member_index].members:
/third_party/spirv-tools/source/opt/
Dinstrument_pass.h237 std::unique_ptr<Instruction> NewMemberName(uint32_t id, uint32_t member_index,

12