/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | namer.cc | 94 std::string Namer::GetMemberName(uint32_t struct_id, in GetMemberName() argument 97 auto where = struct_member_names_.find(struct_id); in GetMemberName() 160 bool Namer::SuggestSanitizedMemberName(uint32_t struct_id, in SuggestSanitizedMemberName() argument 164 auto& name_vector = struct_member_names_[struct_id]; in SuggestSanitizedMemberName() 175 void Namer::ResolveMemberNamesForStruct(uint32_t struct_id, in ResolveMemberNamesForStruct() argument 177 auto& name_vector = struct_member_names_[struct_id]; in ResolveMemberNamesForStruct()
|
D | namer.h | 131 bool SuggestSanitizedMemberName(uint32_t struct_id, 141 void ResolveMemberNamesForStruct(uint32_t struct_id, uint32_t num_members);
|
/third_party/spirv-tools/source/val/ |
D | validate_annotation.cpp | 294 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local 296 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate() 300 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate() 308 << _.getIdName(struct_id) in ValidateGroupMemberDecorate() 335 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local 343 _.RegisterDecorationForId(struct_id, in RegisterDecorations() 375 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local 379 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
|
D | validate_decorations.cpp | 90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument 113 const auto inst = vstate.FindDef(struct_id); in getStructMembers() 118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument 121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers() 131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument 132 std::vector<bool> hasOffset(getStructMembers(struct_id, vstate).size(), in isMissingOffsetInStruct() 135 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() 143 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in isMissingOffsetInStruct() [all …]
|
D | validate_type.cpp | 339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local 365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct() 407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct() 421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct() 424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
|
D | validation_state.h | 410 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument 413 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember() 414 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_decorations.cpp | 90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument 113 const auto inst = vstate.FindDef(struct_id); in getStructMembers() 118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument 121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers() 131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument 132 const auto* inst = vstate.FindDef(struct_id); in isMissingOffsetInStruct() 137 struct_members = getStructMembers(struct_id, vstate); in isMissingOffsetInStruct() 140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() [all …]
|
D | validate_annotation.cpp | 514 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local 516 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate() 520 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate() 528 << _.getIdName(struct_id) in ValidateGroupMemberDecorate() 555 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local 563 _.RegisterDecorationForId(struct_id, in RegisterDecorations() 595 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local 599 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
|
D | validate_type.cpp | 339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local 365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct() 407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct() 421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct() 424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
|
D | validation_state.h | 396 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument 399 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember() 400 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument 113 const auto inst = vstate.FindDef(struct_id); in getStructMembers() 118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument 121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers() 131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument 132 const auto* inst = vstate.FindDef(struct_id); in isMissingOffsetInStruct() 137 struct_members = getStructMembers(struct_id, vstate); in isMissingOffsetInStruct() 140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() [all …]
|
D | validate_annotation.cpp | 514 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local 516 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate() 520 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate() 528 << _.getIdName(struct_id) in ValidateGroupMemberDecorate() 555 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local 563 _.RegisterDecorationForId(struct_id, in RegisterDecorations() 595 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local 599 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
|
D | validate_type.cpp | 339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local 365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct() 407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct() 421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct() 424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
|
D | validation_state.h | 396 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument 399 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember() 400 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/ |
D | validation_state.h | 246 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument 249 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember() 250 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | validate_decorations.cpp | 33 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 34 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
|
D | validate_instruction.cpp | 326 const uint32_t struct_id = inst->words[1]; in RegisterDecorations() local 334 _.RegisterDecorationForId(struct_id, in RegisterDecorations() 366 const uint32_t struct_id = inst->words[i]; in RegisterDecorations() local 370 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
|
D | validate_id.cpp | 210 const uint32_t struct_id = inst->words[i]; in isValid() local 212 auto struct_instr = module_.FindDef(struct_id); in isValid() 214 DIAG(i) << "OpGroupMemberDecorate Structure type <id> '" << struct_id in isValid() 223 << struct_id << " is out of bounds. The structure has " in isValid() 411 const uint32_t struct_id = inst->words[1]; in isValid() local 429 << struct_id << " contains structure <id> " << memberTypeId << "."; in isValid() 455 for (auto decoration : vstate.id_decorations(struct_id)) { in isValid() 469 << struct_id << " does not meet this requirement."; in isValid() 473 vstate.RegisterStructTypeWithBuiltInMember(struct_id); in isValid()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_ibus.c | 74 const char *struct_id = NULL; in IBus_GetVariantText() local 93 dbus->message_iter_get_basic(&sub2, &struct_id); in IBus_GetVariantText() 94 if (!struct_id || SDL_strncmp(struct_id, "IBusText", sizeof("IBusText")) != 0) { in IBus_GetVariantText()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_decoration_test.cpp | 77 const uint32_t struct_id = 2; in TEST_F() local 78 EXPECT_THAT(vstate_->id_decorations(struct_id), in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.h | 294 uint32_t struct_id, 508 uint32_t GenerateStructMember(uint32_t struct_id,
|
D | builder.cc | 2374 auto struct_id = GenerateExpression(accessor->structure); in GenerateIntrinsicCall() local 2375 if (struct_id == 0) { in GenerateIntrinsicCall() 2378 params.push_back(Operand::Int(struct_id)); in GenerateIntrinsicCall() 4132 auto struct_id = result.to_i(); in GenerateStructType() local 4137 {Operand::Int(struct_id), in GenerateStructType() 4147 {Operand::Int(struct_id), Operand::Int(SpvDecorationBlock)}); in GenerateStructType() 4151 auto mem_id = GenerateStructMember(struct_id, i, struct_type->Members()[i]); in GenerateStructType() 4163 uint32_t Builder::GenerateStructMember(uint32_t struct_id, in GenerateStructMember() argument 4167 {Operand::Int(struct_id), Operand::Int(idx), in GenerateStructMember() 4178 {Operand::Int(struct_id), Operand::Int(idx), in GenerateStructMember() [all …]
|
/third_party/spirv-tools/source/opt/ |
D | eliminate_dead_members_pass.cpp | 649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | eliminate_dead_members_pass.cpp | 658 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 659 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | eliminate_dead_members_pass.cpp | 658 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 659 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|