Home
last modified time | relevance | path

Searched refs:decorations (Results 1 – 25 of 52) sorted by relevance

123

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp326 auto decorations = decoManager->GetDecorationsFor(1u, false); in TEST_F() local
328 EXPECT_TRUE(decorations.empty()); in TEST_F()
329 decorations = decoManager->GetDecorationsFor(3u, false); in TEST_F()
334 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
367 auto decorations = decoManager->GetDecorationsFor(1u, false); in TEST_F() local
369 EXPECT_TRUE(decorations.empty()); in TEST_F()
370 decorations = decoManager->GetDecorationsFor(3u, false); in TEST_F()
375 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
408 auto decorations = decoManager->GetDecorationsFor(2u, false); in TEST_F() local
410 EXPECT_TRUE(decorations.empty()); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp326 auto decorations = decoManager->GetDecorationsFor(1u, false); in TEST_F() local
328 EXPECT_TRUE(decorations.empty()); in TEST_F()
329 decorations = decoManager->GetDecorationsFor(3u, false); in TEST_F()
334 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
367 auto decorations = decoManager->GetDecorationsFor(1u, false); in TEST_F() local
369 EXPECT_TRUE(decorations.empty()); in TEST_F()
370 decorations = decoManager->GetDecorationsFor(3u, false); in TEST_F()
375 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
408 auto decorations = decoManager->GetDecorationsFor(2u, false); in TEST_F() local
410 EXPECT_TRUE(decorations.empty()); in TEST_F()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp734 vector<Decorations> decorations; in initPrograms() local
739 decorations.push_back(Decorations("", in initPrograms()
748 decorations.push_back(Decorations(//Fragment in initPrograms()
757 decorations.push_back(Decorations(//Fragment in initPrograms()
774 decorations.push_back(Decorations("", in initPrograms()
784 decorations.push_back(Decorations(//Fragment in initPrograms()
793 decorations.push_back(Decorations(//Fragment in initPrograms()
810 decorations.push_back(Decorations(//Fragment in initPrograms()
841 for (deUint32 ndx = 0; ndx < decorations.size(); ++ndx) in initPrograms()
884 +decorations[ndx].vertex+ in initPrograms()
[all …]
DvktSpvAsmVariableInitTests.cpp87 const string decorations = variable
122 + decorations + string( in addComputeVariableInitPrivateTest()
200 StringTemplate decoration (decorations); in addGraphicsVariableInitPrivateTest()
DvktSpvAsmTypeTests.cpp797 vector<string>& decorations,
1305 vector<string>& decorations, in createStageTests() argument
1464 for (deUint32 elemNdx = 0; elemNdx < decorations.size(); ++elemNdx) in createStageTests()
1465 fragments["decoration"] += decorations[elemNdx]; in createStageTests()
1711 vector<string> decorations; in createTests() local
1773 createStageTests(testName, resources, totalElements, decorations, in createTests()
1782 decorations.reserve(1); in createTests()
1786 decorations.push_back(createInputDecoration(0)); in createTests()
1795 createStageTests(testName, resources, totalElements, decorations, in createTests()
1815 vector<string> decorations; in createTests() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_function.cpp127 const auto& decorations = _.id_decorations(inst->id()); in ValidateFunctionParameter() local
130 decorations.begin(), decorations.end(), [](const Decoration& d) { in ValidateFunctionParameter()
135 decorations.begin(), decorations.end(), [](const Decoration& d) { in ValidateFunctionParameter()
159 const auto& decorations = _.id_decorations(inst->id()); in ValidateFunctionParameter() local
162 decorations.begin(), decorations.end(), [](const Decoration& d) { in ValidateFunctionParameter()
167 decorations.begin(), decorations.end(), [](const Decoration& d) { in ValidateFunctionParameter()
Dvalidate_decorations.cpp82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() local
84 decorations.begin(), decorations.end(), in isBuiltInVar()
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() local
93 decorations.begin(), decorations.end(), [](const Decoration& d) { in isBuiltInStruct()
101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() local
102 return std::any_of(decorations.begin(), decorations.end(), in hasImportLinkageAttribute()
631 const auto& decorations = vstate.id_decorations(var_id); in CheckBuiltInVariable() local
632 for (const auto& d : decorations) { in CheckBuiltInVariable()
1229 const auto& decorations = kv.second; in CheckDecorationsFromDecoration() local
1230 if (decorations.empty()) continue; in CheckDecorationsFromDecoration()
[all …]
Dvalidation_state.h409 const auto& decorations = id_decorations_.find(id); in HasDecoration() local
410 if (decorations == id_decorations_.end()) return false; in HasDecoration()
413 decorations->second.begin(), decorations->second.end(), in HasDecoration()
/external/deqp-deps/glslang/SPIRV/
DSpvPostProcess.cpp236 std::for_each(decorations.begin(), decorations.end(), function); in postProcess()
249 std::for_each(decorations.begin(), decorations.end(), function); in postProcess()
322 decorations.erase(std::remove_if(decorations.begin(), decorations.end(), in postProcess()
327 decorations.end()); in postProcess()
362 std::for_each(decorations.begin(), decorations.end(), function); in postProcess()
DGlslangToSpv.cpp1669 … OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitBinary() local
1672 rValue = createBinaryOperation(node->getOp(), decorations, in visitBinary()
1823 OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitBinary() local
1826 spv::Id result = createBinaryOperation(node->getOp(), decorations, in visitBinary()
1915 OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitUnary() local
1921 …result = createConversion(node->getOp(), decorations, resultType(), operand, node->getOperand()->g… in visitUnary()
1925 …result = createUnaryOperation(node->getOp(), decorations, resultType(), operand, node->getOperand(… in visitUnary()
1929 result = createInvertedSwizzle(decorations.precision, *node->getOperand(), result); in visitUnary()
1930 builder.addDecoration(result, decorations.nonUniform); in visitUnary()
1969 spv::Id result = createBinaryOperation(op, decorations, in visitUnary()
[all …]
DSpvBuilder.cpp1136 decorations.push_back(std::unique_ptr<Instruction>(dec)); in addDecoration()
1149 decorations.push_back(std::unique_ptr<Instruction>(dec)); in addDecoration()
1162 decorations.push_back(std::unique_ptr<Instruction>(dec)); in addDecorationId()
1177 decorations.push_back(std::unique_ptr<Instruction>(dec)); in addMemberDecoration()
1191 decorations.push_back(std::unique_ptr<Instruction>(dec)); in addMemberDecoration()
1201 std::vector<std::vector<Decoration>> decorations; in makeEntryPoint() local
1203 …Function = makeFunctionEntry(NoPrecision, makeVoidType(), entryPoint, params, decorations, &entry); in makeEntryPoint()
1210 …td::vector<Id>& paramTypes, const std::vector<std::vector<Decoration>>& decorations, Block **entry) in makeFunctionEntry() argument
1219 for (unsigned p = 0; p < (unsigned)decorations.size(); ++p) { in makeFunctionEntry()
1220 for (int d = 0; d < (int)decorations[p].size(); ++d) in makeFunctionEntry()
[all …]
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp45 decorations[targetId].Apply(
72 auto const &srcDecorations = decorations[insn.word(1)];
76 decorations[insn.word(i)].Apply(srcDecorations);
83 auto const &srcDecorations = decorations[insn.word(1)];
232 auto d = decorations.find(resultId); in ProcessInterfaceVariable()
233 if (d != decorations.end() && d->second.HasBuiltIn) in ProcessInterfaceVariable()
359 auto const it = decorations.find(id); in PopulateInterfaceInner()
360 if (it != decorations.end()) in PopulateInterfaceInner()
429 auto const it = decorations.find(id); in PopulateInterface()
430 if (it != decorations.end()) in PopulateInterface()
DSpirvShader.hpp189 std::unordered_map<uint32_t, Decorations> decorations; member in sw::SpirvShader
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_conversion_test.cpp35 const std::string& decorations = "", const std::string& types = "", in GenerateShaderCode() argument
161 after_extension_before_decorations + decorations + in GenerateShaderCode()
649 const std::string decorations = R"( in TEST_F() local
674 decorations, types, variables) in TEST_F()
690 const std::string decorations = R"( in TEST_F() local
715 decorations, types, variables) in TEST_F()
731 const std::string decorations = R"( in TEST_F() local
756 decorations, types, variables) in TEST_F()
772 const std::string decorations = R"( in TEST_F() local
797 decorations, types, variables) in TEST_F()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dprettify.js760 out.push.apply(out, job.decorations);
856 var decorations = [basePos, PR_PLAIN];
902 decorations.push(basePos + tokenStart, style);
919 decorate, decorations);
925 decorations);
930 decorate, decorations);
933 job.decorations = decorations;
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() local
84 decorations.begin(), decorations.end(), in isBuiltInVar()
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() local
93 decorations.begin(), decorations.end(), [](const Decoration& d) { in isBuiltInStruct()
101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() local
102 return std::any_of(decorations.begin(), decorations.end(), in hasImportLinkageAttribute()
624 const auto& decorations = vstate.id_decorations(var_id); in CheckBuiltInVariable() local
625 for (const auto& d : decorations) { in CheckBuiltInVariable()
1189 const auto& decorations = kv.second; in CheckDecorationsFromDecoration() local
1190 if (decorations.empty()) continue; in CheckDecorationsFromDecoration()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_conversion_test.cpp35 const std::string& decorations = "", const std::string& types = "", in GenerateShaderCode() argument
161 after_extension_before_decorations + decorations + in GenerateShaderCode()
649 const std::string decorations = R"( in TEST_F() local
674 decorations, types, variables) in TEST_F()
690 const std::string decorations = R"( in TEST_F() local
715 decorations, types, variables) in TEST_F()
731 const std::string decorations = R"( in TEST_F() local
756 decorations, types, variables) in TEST_F()
772 const std::string decorations = R"( in TEST_F() local
797 decorations, types, variables) in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddecoration_manager.cpp333 std::vector<T> decorations; in InternalGetDecorationsFor() local
337 if (ids_iter == id_to_decoration_insts_.end()) return decorations; in InternalGetDecorationsFor()
343 &decorations](const std::vector<Instruction*>& direct_decorations) { in InternalGetDecorationsFor()
348 if (include_linkage || !is_linkage) decorations.push_back(inst); in InternalGetDecorationsFor()
363 return decorations; in InternalGetDecorationsFor()
Dtype_manager.cpp137 std::vector<Instruction*> decorations = in AnalyzeTypes() local
139 for (auto dec : decorations) { in AnalyzeTypes()
415 for (auto vec : type->decorations()) { in AttachDecorations()
570 for (const auto& dec : type.decorations()) { in RebuildType()
759 std::vector<Instruction*> decorations = in RecordIfTypeDefinition() local
761 for (auto dec : decorations) { in RecordIfTypeDefinition()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddecoration_manager.cpp333 std::vector<T> decorations; in InternalGetDecorationsFor() local
337 if (ids_iter == id_to_decoration_insts_.end()) return decorations; in InternalGetDecorationsFor()
343 &decorations](const std::vector<Instruction*>& direct_decorations) { in InternalGetDecorationsFor()
348 if (include_linkage || !is_linkage) decorations.push_back(inst); in InternalGetDecorationsFor()
363 return decorations; in InternalGetDecorationsFor()
Dtype_manager.cpp137 std::vector<Instruction*> decorations = in AnalyzeTypes() local
139 for (auto dec : decorations) { in AnalyzeTypes()
415 for (auto vec : type->decorations()) { in AttachDecorations()
570 for (const auto& dec : type.decorations()) { in RebuildType()
756 std::vector<Instruction*> decorations = in RecordIfTypeDefinition() local
758 for (auto dec : decorations) { in RecordIfTypeDefinition()
/external/deqp-deps/glslang/Test/
Dspv.multiStructFuncall.frag5 S s2; // no decorations on S
/external/swiftshader/third_party/SPIRV-Tools/
DCHANGES80 - #1915: Improve handling of group decorations.
104 - #1882: Improve the validation of decorations to reduce memory usage.
138 - Fix over-duplication of decorations
149 - #1736: Fix handling of decorations and phis in merge-return
150 - #1787: Fix handling of decorations related to access chains
343 - Check Vulkan prohibition of Location or Component decorations on BuiltIn variables.
429 decorations.
485 #622: Remove names and decorations when inlining
/external/deqp-deps/SPIRV-Tools/
DCHANGES59 - #1915: Improve handling of group decorations.
83 - #1882: Improve the validation of decorations to reduce memory usage.
117 - Fix over-duplication of decorations
128 - #1736: Fix handling of decorations and phis in merge-return
129 - #1787: Fix handling of decorations related to access chains
322 - Check Vulkan prohibition of Location or Component decorations on BuiltIn variables.
408 decorations.
464 #622: Remove names and decorations when inlining
/external/spirv-llvm/test/SPIRV/transcoding/
Dvector_casts.ll10 ; Check vector conversions w\o decorations are translated back to calls

123