/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() argument 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 268 const Decoration& decoration, const Instruction& inst); 269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 276 const Decoration& decoration, const Instruction& inst); 277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, [all …]
|
D | validate_decorations.cpp | 72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local 73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride() 74 return decoration.params()[0]; in GetArrayStride() 140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local 141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct() 142 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct() 144 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct() 145 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct() 339 for (auto& decoration : vstate.id_decorations(member_id)) { in getSize() local 340 if (SpvDecorationOffset == decoration.dec_type() && in getSize() [all …]
|
D | validate_annotation.cpp | 25 std::string LogStringForDecoration(uint32_t decoration) { in LogStringForDecoration() argument 26 switch (decoration) { in LogStringForDecoration() 374 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate() local 382 if ((decoration == SpvDecorationGLSLShared) || in ValidateDecorate() 383 (decoration == SpvDecorationGLSLPacked)) { in ValidateDecorate() 386 << LogStringForDecoration(decoration) in ValidateDecorate() 391 if (DecorationTakesIdParameters(decoration)) { in ValidateDecorate() 398 if (IsMemberDecorationOnly(decoration)) { in ValidateDecorate() 400 << LogStringForDecoration(decoration) in ValidateDecorate() 404 if (auto error = ValidateDecorationTarget(_, decoration, inst, target)) { in ValidateDecorate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() argument 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 259 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 268 const Decoration& decoration, const Instruction& inst); 269 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 271 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 273 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 276 const Decoration& decoration, const Instruction& inst); 277 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, [all …]
|
D | validate_decorations.cpp | 72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local 73 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride() 74 return decoration.params()[0]; in GetArrayStride() 140 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local 141 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct() 142 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct() 144 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct() 145 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct() 339 for (auto& decoration : vstate.id_decorations(member_id)) { in getSize() local 340 if (SpvDecorationOffset == decoration.dec_type() && in getSize() [all …]
|
D | validate_annotation.cpp | 25 std::string LogStringForDecoration(uint32_t decoration) { in LogStringForDecoration() argument 26 switch (decoration) { in LogStringForDecoration() 374 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate() local 382 if ((decoration == SpvDecorationGLSLShared) || in ValidateDecorate() 383 (decoration == SpvDecorationGLSLPacked)) { in ValidateDecorate() 386 << LogStringForDecoration(decoration) in ValidateDecorate() 391 if (DecorationTakesIdParameters(decoration)) { in ValidateDecorate() 398 if (IsMemberDecorationOnly(decoration)) { in ValidateDecorate() 400 << LogStringForDecoration(decoration) in ValidateDecorate() 404 if (auto error = ValidateDecorationTarget(_, decoration, inst, target)) { in ValidateDecorate() [all …]
|
/third_party/spirv-tools/source/val/ |
D | validate_builtins.cpp | 61 const Decoration& decoration, in GetUnderlyingType() argument 64 if (decoration.struct_member_index() != Decoration::kInvalidMember) { in GetUnderlyingType() 71 *underlying_type = inst.word(decoration.struct_member_index() + 2); in GetUnderlyingType() 263 spv_result_t ValidateSingleBuiltInAtDefinition(const Decoration& decoration, 272 const Decoration& decoration, const Instruction& inst); 273 spv_result_t ValidateFragCoordAtDefinition(const Decoration& decoration, 275 spv_result_t ValidateFragDepthAtDefinition(const Decoration& decoration, 277 spv_result_t ValidateFrontFacingAtDefinition(const Decoration& decoration, 280 const Decoration& decoration, const Instruction& inst); 281 spv_result_t ValidateInvocationIdAtDefinition(const Decoration& decoration, [all …]
|
D | validate_decorations.cpp | 74 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() local 75 if (SpvDecorationArrayStride == decoration.dec_type()) { in GetArrayStride() 76 return decoration.params()[0]; in GetArrayStride() 150 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct() local 151 if (SpvDecorationOffset == decoration.dec_type() && in isMissingOffsetInStruct() 152 Decoration::kInvalidMember != decoration.struct_member_index()) { in isMissingOffsetInStruct() 154 if (decoration.params()[0] == 0xffffffff) return true; in isMissingOffsetInStruct() 155 hasOffset[decoration.struct_member_index()] = true; in isMissingOffsetInStruct() 374 for (auto decoration = member_decorations.begin; in getSize() local 375 decoration != member_decorations.end; ++decoration) { in getSize() [all …]
|
D | validate_annotation.cpp | 250 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorate() local 258 if ((decoration == SpvDecorationGLSLShared) || in ValidateDecorate() 259 (decoration == SpvDecorationGLSLPacked)) { in ValidateDecorate() 262 << _.SpvDecorationString(decoration) in ValidateDecorate() 267 if (DecorationTakesIdParameters(decoration)) { in ValidateDecorate() 274 if (IsMemberDecorationOnly(decoration)) { in ValidateDecorate() 276 << _.SpvDecorationString(decoration) in ValidateDecorate() 280 if (auto error = ValidateDecorationTarget(_, decoration, inst, target)) { in ValidateDecorate() 290 const auto decoration = inst->GetOperandAs<SpvDecoration>(1); in ValidateDecorateId() local 291 if (!DecorationTakesIdParameters(decoration)) { in ValidateDecorateId() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_variable_decoration_test.cc | 24 auto deco = p->decoration(); in TEST_F() 39 auto deco = p->decoration(); in TEST_F() 49 auto deco = p->decoration(); in TEST_F() 59 auto deco = p->decoration(); in TEST_F() 70 auto deco = p->decoration(); in TEST_F() 94 auto deco = p->decoration(); in TEST_P() 128 auto deco = p->decoration(); in TEST_F() 138 auto deco = p->decoration(); in TEST_F() 148 auto deco = p->decoration(); in TEST_F() 158 auto deco = p->decoration(); in TEST_F() [all …]
|
D | parser_impl_function_decoration_test.cc | 26 auto deco = p->decoration(); in TEST_F() 46 auto deco = p->decoration(); in TEST_F() 68 auto deco = p->decoration(); in TEST_F() 91 auto deco = p->decoration(); in TEST_F() 115 auto deco = p->decoration(); in TEST_F() 125 auto deco = p->decoration(); in TEST_F() 135 auto deco = p->decoration(); in TEST_F() 145 auto deco = p->decoration(); in TEST_F() 155 auto deco = p->decoration(); in TEST_F() 165 auto deco = p->decoration(); in TEST_F() [all …]
|
D | parser_impl_struct_member_decoration_test.cc | 24 auto deco = p->decoration(); in TEST_F() 40 auto deco = p->decoration(); in TEST_F() 50 auto deco = p->decoration(); in TEST_F() 60 auto deco = p->decoration(); in TEST_F() 71 auto deco = p->decoration(); in TEST_F() 82 auto deco = p->decoration(); in TEST_F() 98 auto deco = p->decoration(); in TEST_F() 108 auto deco = p->decoration(); in TEST_F() 118 auto deco = p->decoration(); in TEST_F() 129 auto deco = p->decoration(); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_parsed_ir.cpp | 300 return m->decoration.alias; in get_name() 331 sanitize_identifier(m.decoration.alias, false, false); in fixup_reserved_names() 341 m.decoration.alias = name; in set_name() 355 void ParsedIR::set_decoration_string(ID id, Decoration decoration, const string &argument) in set_decoration_string() argument 357 auto &dec = meta[id].decoration; in set_decoration_string() 358 dec.decoration_flags.set(decoration); in set_decoration_string() 360 switch (decoration) in set_decoration_string() 371 void ParsedIR::set_decoration(ID id, Decoration decoration, uint32_t argument) in set_decoration() argument 373 auto &dec = meta[id].decoration; in set_decoration() 374 dec.decoration_flags.set(decoration); in set_decoration() [all …]
|
D | spirv_cross_parsed_ir.hpp | 126 void set_decoration(ID id, spv::Decoration decoration, uint32_t argument = 0); 127 void set_decoration_string(ID id, spv::Decoration decoration, const std::string &argument); 128 bool has_decoration(ID id, spv::Decoration decoration) const; 129 uint32_t get_decoration(ID id, spv::Decoration decoration) const; 130 const std::string &get_decoration_string(ID id, spv::Decoration decoration) const; 132 void unset_decoration(ID id, spv::Decoration decoration); 137 …void set_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration, uint32_t argumen… 138 void set_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration, 140 uint32_t get_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 141 …:string &get_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration) const; [all …]
|
D | spirv_parser.cpp | 42 static bool decoration_is_string(Decoration decoration) in decoration_is_string() argument 44 switch (decoration) in decoration_is_string() 372 auto &decorations = ir.meta[group_id].decoration; in parse() 381 auto decoration = static_cast<Decoration>(bit); in parse() local 383 if (decoration_is_string(decoration)) in parse() 385 ir.set_decoration_string(target, decoration, ir.get_decoration_string(group_id, decoration)); in parse() 389 ir.meta[target].decoration_word_offset[decoration] = in parse() 390 ir.meta[group_id].decoration_word_offset[decoration]; in parse() 391 ir.set_decoration(target, decoration, ir.get_decoration(group_id, decoration)); in parse() 401 auto &flags = ir.meta[group_id].decoration.decoration_flags; in parse() [all …]
|
/third_party/glslang/SPIRV/ |
D | SpvPostProcess.cpp | 258 const auto function = [&](const std::unique_ptr<Instruction>& decoration) { in postProcess() argument 259 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess() 260 decoration.get()->getIdOperand(0) == typeId && in postProcess() 261 decoration.get()->getImmediateOperand(1) == c && in postProcess() 262 (decoration.get()->getImmediateOperand(2) == DecorationOffset || in postProcess() 263 … decoration.get()->getImmediateOperand(2) == DecorationMatrixStride)) { in postProcess() 264 alignment |= decoration.get()->getImmediateOperand(3); in postProcess() 273 const auto function = [&](const std::unique_ptr<Instruction>& decoration) { in postProcess() argument 274 if (decoration.get()->getOpCode() == OpDecorate && in postProcess() 275 decoration.get()->getIdOperand(0) == typeId && in postProcess() [all …]
|
/third_party/libcoap/doc/ |
D | docbook.local.css | 20 text-decoration: none; 26 text-decoration: none; 30 text-decoration: underline; 36 text-decoration: none; 42 text-decoration: none; 46 text-decoration: underline;
|
/third_party/glslang/Test/ |
D | spv.450.tesc | 8 float sMem1; // should not see a patch decoration 9 float sMem2; // should not see a patch decoration 13 highp float bMem1; // should not see a location decoration 15 S s; // should see a patch decoration 24 highp float bMem1; // should not see a location decoration 26 S s; // should see a patch decoration
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | decoration_manager.cpp | 88 for (Instruction* decoration : group_decorations) { in RemoveDecorationsFrom() 89 if (!pred(*decoration)) group_decorations_to_keep.push_back(decoration); in RemoveDecorationsFrom() 137 for (Instruction* decoration : group_decorations_to_keep) { in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 395 void DecorationManager::AddDecoration(uint32_t inst_id, uint32_t decoration) { in AddDecoration() argument 399 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}}); in AddDecoration() 402 void DecorationManager::AddDecorationVal(uint32_t inst_id, uint32_t decoration, in AddDecorationVal() argument 407 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddDecorationVal() 413 uint32_t decoration, in AddMemberDecoration() argument 419 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddMemberDecoration() [all …]
|
D | decoration_manager.h | 95 bool HasDecoration(uint32_t id, uint32_t decoration); 100 void ForEachDecoration(uint32_t id, uint32_t decoration, 107 bool WhileEachDecoration(uint32_t id, uint32_t decoration, 114 bool FindDecoration(uint32_t id, uint32_t decoration, 136 void AddDecoration(uint32_t inst_id, uint32_t decoration); 139 void AddDecorationVal(uint32_t inst_id, uint32_t decoration, 144 uint32_t decoration, uint32_t decoration_value);
|
/third_party/spirv-tools/source/opt/ |
D | decoration_manager.cpp | 88 for (Instruction* decoration : group_decorations) { in RemoveDecorationsFrom() 89 if (!pred(*decoration)) group_decorations_to_keep.push_back(decoration); in RemoveDecorationsFrom() 137 for (Instruction* decoration : group_decorations_to_keep) { in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 395 void DecorationManager::AddDecoration(uint32_t inst_id, uint32_t decoration) { in AddDecoration() argument 399 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}}); in AddDecoration() 402 void DecorationManager::AddDecorationVal(uint32_t inst_id, uint32_t decoration, in AddDecorationVal() argument 407 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddDecorationVal() 413 uint32_t decoration, in AddMemberDecoration() argument 419 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddMemberDecoration() [all …]
|
D | decoration_manager.h | 95 bool HasDecoration(uint32_t id, uint32_t decoration); 100 void ForEachDecoration(uint32_t id, uint32_t decoration, 107 bool WhileEachDecoration(uint32_t id, uint32_t decoration, 114 bool FindDecoration(uint32_t id, uint32_t decoration, 136 void AddDecoration(uint32_t inst_id, uint32_t decoration); 139 void AddDecorationVal(uint32_t inst_id, uint32_t decoration, 144 uint32_t decoration, uint32_t decoration_value);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | decoration_manager.cpp | 88 for (Instruction* decoration : group_decorations) { in RemoveDecorationsFrom() 89 if (!pred(*decoration)) group_decorations_to_keep.push_back(decoration); in RemoveDecorationsFrom() 137 for (Instruction* decoration : group_decorations_to_keep) { in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 395 void DecorationManager::AddDecoration(uint32_t inst_id, uint32_t decoration) { in AddDecoration() argument 399 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}}); in AddDecoration() 402 void DecorationManager::AddDecorationVal(uint32_t inst_id, uint32_t decoration, in AddDecorationVal() argument 407 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddDecorationVal() 413 uint32_t decoration, in AddMemberDecoration() argument 419 {spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, {decoration}}, in AddMemberDecoration() [all …]
|
D | decoration_manager.h | 95 bool HasDecoration(uint32_t id, uint32_t decoration); 100 void ForEachDecoration(uint32_t id, uint32_t decoration, 107 bool WhileEachDecoration(uint32_t id, uint32_t decoration, 114 bool FindDecoration(uint32_t id, uint32_t decoration, 136 void AddDecoration(uint32_t inst_id, uint32_t decoration); 139 void AddDecorationVal(uint32_t inst_id, uint32_t decoration, 144 uint32_t decoration, uint32_t decoration_value);
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | Precise_test.cpp | 141 spv::Decoration decoration; in ValidateDecorations() local 142 spirv::ParseMemberDecorate(instruction, &type, &member, &decoration, nullptr); in ValidateDecorations() 146 EXPECT_NE(decoration, spv::DecorationNoContraction); in ValidateDecorations() 151 spv::Decoration decoration; in ValidateDecorations() local 152 spirv::ParseDecorate(instruction, &target, &decoration, nullptr); in ValidateDecorations() 154 if (decoration == spv::DecorationNoContraction) in ValidateDecorations()
|