Home
last modified time | relevance | path

Searched refs:caseType (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOptimizationTests.cpp311 … name, const char* description, CaseShaderType caseShaderType, CaseType caseType, int numRepetitio… in LoopUnrollCase() argument
314 , m_caseType (caseType) in LoopUnrollCase()
331 static inline string expressionTemplate (CaseType caseType) in expressionTemplate() argument
333 switch (caseType) in expressionTemplate()
438 … name, const char* description, CaseShaderType caseShaderType, CaseType caseType, bool useConstant… in ConstantPropagationCase() argument
440 , m_caseType (caseType) in ConstantPropagationCase()
540 …ntext, const char* name, const char* description, CaseShaderType caseShaderType, CaseType caseType) in CommonSubexpressionCase() argument
542 , m_caseType (caseType) in CommonSubexpressionCase()
681 …ntext, const char* name, const char* description, CaseShaderType caseShaderType, CaseType caseType) in DeadCodeEliminationCase() argument
683 , m_caseType (caseType) in DeadCodeEliminationCase()
[all …]
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOptimizationTests.cpp314 … name, const char* description, CaseShaderType caseShaderType, CaseType caseType, int numRepetitio… in LoopUnrollCase() argument
317 , m_caseType (caseType) in LoopUnrollCase()
334 static inline string expressionTemplate (CaseType caseType) in expressionTemplate() argument
336 switch (caseType) in expressionTemplate()
441 … name, const char* description, CaseShaderType caseShaderType, CaseType caseType, bool useConstant… in ConstantPropagationCase() argument
443 , m_caseType (caseType) in ConstantPropagationCase()
551 …ntext, const char* name, const char* description, CaseShaderType caseShaderType, CaseType caseType) in CommonSubexpressionCase() argument
553 , m_caseType (caseType) in CommonSubexpressionCase()
692 …ntext, const char* name, const char* description, CaseShaderType caseShaderType, CaseType caseType) in DeadCodeEliminationCase() argument
694 , m_caseType (caseType) in DeadCodeEliminationCase()
[all …]
/third_party/vk-gl-cts/executor/
DxeTestCaseListParser.cpp33 static TestCaseType getTestCaseType (const char* caseType) in getTestCaseType() argument
39 TestCaseType caseType; in getTestCaseType() member
50 if (deStringEqual(caseType, s_caseTypeMap[ndx].name)) in getTestCaseType()
51 return s_caseTypeMap[ndx].caseType; in getTestCaseType()
54 XE_FAIL((string("Unknown test case type '") + caseType + "'").c_str()); in getTestCaseType()
106 …const char* caseType = m_xmlParser.hasAttribute("CaseType") ? m_xmlParser.getAttribute("CaseType… in parse() local
108 XE_CHECK_MSG(name && description && caseType, "Missing attribute in <TestCase>"); in parse()
111 bool isGroup = deStringEqual(caseType, "TestGroup") == DE_TRUE; in parse()
113 …<TestNode*>(static_cast<TestGroup*>(parent)->createCase(getTestCaseType(caseType), name, descripti… in parse()
DxeTestCase.cpp31 const char* getTestCaseTypeName (TestCaseType caseType) in getTestCaseTypeName() argument
33 switch (caseType) in getTestCaseTypeName()
198 TestCase* TestGroup::createCase (TestCaseType caseType, const char* name, const char* description) in createCase() argument
200 return TestCase::createAsChild(this, caseType, name, description); in createCase()
241 TestCase* TestCase::createAsChild(TestGroup* parent, TestCaseType caseType, const char *name, const… in createAsChild() argument
243 return new TestCase(parent, caseType, name, description); in createAsChild()
246 TestCase::TestCase (TestGroup* parent, TestCaseType caseType, const char* name, const char* descrip… in TestCase() argument
248 , m_caseType (caseType) in TestCase()
287 TestCase* TestHierarchyBuilder::createCase (const char* path, TestCaseType caseType) in createCase() argument
314 return curGroup->createCase(caseType, components.back().c_str(), "" /* description */); in createCase()
DxeTestCase.hpp46 const char* getTestCaseTypeName (TestCaseType caseType);
101 TestCase* createCase (TestCaseType caseType, const char* name, const char* description);
127 …static TestCase* createAsChild (TestGroup* parent, TestCaseType caseType, const char* name, con…
130 … TestCase (TestGroup* parent, TestCaseType caseType, const char* name, const char* description);
143 TestCase* createCase (const char* path, TestCaseType caseType);
DxeTestResultParser.cpp257 static TestCaseType getTestCaseType (const char* caseType) in getTestCaseType() argument
259 …aseType)getEnumValue("test case type", s_testTypeMap, DE_LENGTH_OF_ARRAY(s_testTypeMap), caseType); in getTestCaseType()
471 m_result->caseType = TESTCASETYPE_SELF_VALIDATE; in handleElementStart()
474 m_result->caseType = getTestCaseType(m_xmlParser.getAttribute("CaseType")); in handleElementStart()
480 m_result->caseType = getTestCaseTypeFromPath(m_result->casePath.c_str()); in handleElementStart()
892 result->caseType = TESTCASETYPE_SELF_VALIDATE; in parseTestCaseResultFromData()
923 if (result->caseType == TESTCASETYPE_LAST) in parseTestCaseResultFromData()
DxeTestCaseResult.hpp117 TestCaseResultHeader (void) : caseType(TESTCASETYPE_LAST), statusCode(TESTSTATUSCODE_LAST) {} in TestCaseResultHeader()
120 TestCaseType caseType; //!< Test case type. member in xe::TestCaseResultHeader
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp348 CaseType caseType; member
389 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? "layout(location = 1) patch out mediump int… in initPrograms()
390 …caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? "layout(location = 1) patch out mediump int i… in initPrograms()
395 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? " in_te_primitiveIDFromTCS = gl_Primitiv… in initPrograms()
396 …caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? " in_te_patchVerticesInFromTCS = gl_PatchV… in initPrograms()
412 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms()
423 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? "layout(location = 1) patch in mediump int … in initPrograms()
424 …caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? "layout(location = 1) patch in mediump int in… in initPrograms()
431 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? " bool ok = in_te_primitiveIDFromTCS == 3;… in initPrograms()
432 caseDef.caseType == CASETYPE_PRIMITIVE_ID_TES ? " bool ok = gl_PrimitiveID == 3;\n" : in initPrograms()
[all …]
DvktTessellationCommonEdgeTests.cpp70 CaseType caseType; member
132 << (caseDef.caseType == CASETYPE_PRECISE ? "#extension GL_EXT_gpu_shader5 : require\n" : "") in initPrograms()
141 << (caseDef.caseType == CASETYPE_PRECISE ? "precise gl_TessLevelOuter;\n\n" : "") in initPrograms()
175 << (caseDef.caseType == CASETYPE_BASIC ? in initPrograms()
180 : caseDef.caseType == CASETYPE_PRECISE ? in initPrograms()
194 << (caseDef.caseType == CASETYPE_PRECISE ? "#extension GL_EXT_gpu_shader5 : require\n" : "") in initPrograms()
203 << (caseDef.caseType == CASETYPE_PRECISE ? "precise gl_Position;\n\n" : "") in initPrograms()
244 DE_ASSERT(caseDef.caseType == CASETYPE_BASIC || caseDef.caseType == CASETYPE_PRECISE); in test()
299 const int secondTriangleVertexIndexOffset = caseDef.caseType == CASETYPE_BASIC ? 0 : 1; in test()
316 if (caseDef.caseType == CASETYPE_PRECISE && (i+j) % 2 == 0) in test()
[all …]
/third_party/vk-gl-cts/scripts/
Dconvert_case_list_to_xml.py26 def __init__(self, casePath, description, caseType): argument
29 self.caseType = caseType
59 element.setAttribute("CaseType", testCase.caseType)
81 caseType = m.group(3) variable
83 parent.children.append(TestCase(casePath, description, caseType))
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp90 CaseType caseType; member
97 : caseType (type) in TestParams()
103 if (caseType == CaseType::DEPTH_BOUNDS) in TestParams()
108 bool expectClearColor (CaseType caseType) in expectClearColor() argument
110 return (caseType != CaseType::ALPHA_COVERAGE_BEFORE && caseType != CaseType::ALPHA_COVERAGE_AFTER); in expectClearColor()
113 bool needsDepthStencilAttachment (CaseType caseType) in needsDepthStencilAttachment() argument
115 …return (caseType == CaseType::DEPTH_BOUNDS || caseType == CaseType::DEPTH_NEVER || caseType == Cas… in needsDepthStencilAttachment()
161 if (m_params.caseType == CaseType::DEPTH_BOUNDS) in checkSupport()
166 else if (m_params.caseType == CaseType::DEMOTE) in checkSupport()
170 else if (m_params.caseType == CaseType::TERMINATE_INVOCATION) in checkSupport()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fMultisampleTests.cpp745 … (Context& context, const char* name, const char* description, CaseType caseType, int numFboSample…
766 … (Context& context, const char* name, const char* description, CaseType caseType, int numFboSample… in CommonEdgeCase() argument
767 …: MultisampleCase (context, name, description, caseType == CASETYPE_SMALL_QUADS ? 128 : 32, numFb… in CommonEdgeCase()
768 , m_caseType (caseType) in CommonEdgeCase()
769 …, m_numIterations (caseType == CASETYPE_SMALL_QUADS ? getIterationCount(m_testCtx, DEFAULT_SM… in CommonEdgeCase()
770 …: caseType == CASETYPE_BIGGER_THAN_VIEWPORT_QUAD ? getIterationCount(m_testCtx, DEFAULT_BIGGER_THA… in CommonEdgeCase()
1645 CaseType caseType = (CaseType)caseTypeI; in init() local
1646 int numFboSamples = caseType == CASETYPE_DEFAULT_FRAMEBUFFER ? -1 in init()
1647 : caseType == CASETYPE_FBO_4_SAMPLES ? 4 in init()
1648 : caseType == CASETYPE_FBO_8_SAMPLES ? 8 in init()
[all …]
Des3fTextureUnitTests.cpp698 …desc, int numUnits /* \note If non-positive, use all units */, CaseType caseType, deUint32 randSee…
744 …xt& context, const char* name, const char* desc, int numUnits, CaseType caseType, deUint32 randSee… in TextureUnitCase() argument
747 , m_caseType (caseType) in TextureUnitCase()
1259 …for (int caseType = (int)TextureUnitCase::CASE_ONLY_2D; caseType < (int)TextureUnitCase::CASE_LAST… in init() local
1261 …const char* caseTypeGroupName = (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_… in init()
1262 : (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_CUBE ? "only_cube" in init()
1263 … : (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_2D_ARRAY ? "only_2d_array" in init()
1264 : (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_3D ? "only_3d" in init()
1265 : (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_MIXED ? "mixed" in init()
1274 …de::toString(testNdx).c_str(), "", numUnits, (TextureUnitCase::CaseType)caseType, deUint32Hash((de… in init()
Des3fUniformApiTests.cpp941 …ext& context, const char* name, const char* description, CaseShaderType caseType, const SharedPtr<…
2186 …, const SharedPtr<const UniformCollection>& uniformCollection, CaseType caseType, deUint32 additio…
2189 static const char* getCaseTypeName (CaseType caseType);
2190 static const char* getCaseTypeDescription (CaseType caseType);
2196 const char* UniformInfoQueryCase::getCaseTypeName (const CaseType caseType) in getCaseTypeName() argument
2198 switch (caseType) in getCaseTypeName()
2209 const char* UniformInfoQueryCase::getCaseTypeDescription (const CaseType caseType) in getCaseTypeDescription() argument
2211 switch (caseType) in getCaseTypeDescription()
2222 …t SharedPtr<const UniformCollection>& uniformCollection, const CaseType caseType, const deUint32 a… in UniformInfoQueryCase() argument
2224 , m_caseType (caseType) in UniformInfoQueryCase()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderConstExprTests.cpp162 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests()
183 spec.caseType = glu::sl::CASETYPE_FRAGMENT_ONLY; in createTests()
216 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests()
237 spec.caseType = glu::sl::CASETYPE_FRAGMENT_ONLY; in createTests()
DglsShaderPerformanceCase.cpp41 …x, glu::RenderContext& renderCtx, const char* name, const char* description, PerfCaseType caseType) in ShaderPerformanceCase() argument
44 , m_caseType (caseType) in ShaderPerformanceCase()
46 , m_measurer (renderCtx, caseType) in ShaderPerformanceCase()
DglsShaderPerformanceCase.hpp47 …, glu::RenderContext& renderCtx, const char* name, const char* description, PerfCaseType caseType);
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureUnitTests.cpp542 …desc, int numUnits /* \note If non-positive, use all units */, CaseType caseType, deUint32 randSee…
581 …xt& context, const char* name, const char* desc, int numUnits, CaseType caseType, deUint32 randSee… in TextureUnitCase() argument
584 , m_caseType (caseType) in TextureUnitCase()
954 …for (int caseType = (int)TextureUnitCase::CASE_ONLY_2D; caseType < (int)TextureUnitCase::CASE_LAST… in init() local
956 …const char* caseTypeGroupName = (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_… in init()
957 (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_ONLY_CUBE ? "only_cube" : in init()
958 (TextureUnitCase::CaseType)caseType == TextureUnitCase::CASE_MIXED ? "mixed" : in init()
966 …de::toString(testNdx).c_str(), "", numUnits, (TextureUnitCase::CaseType)caseType, (deUint32)deInt3… in init()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp831 MixedBindingCase (Context& ctx, const char* name, const char* desc, CaseType caseType);
852 …BindingCase::MixedBindingCase (Context& ctx, const char* name, const char* desc, CaseType caseType) in MixedBindingCase() argument
854 , m_case (caseType) in MixedBindingCase()
858 DE_ASSERT(caseType < CASE_LAST); in MixedBindingCase()
1074 MixedApiCase (Context& ctx, const char* name, const char* desc, CaseType caseType);
1095 MixedApiCase::MixedApiCase (Context& ctx, const char* name, const char* desc, CaseType caseType) in MixedApiCase() argument
1097 , m_case (caseType) in MixedApiCase()
1100 DE_ASSERT(caseType < CASE_LAST); in MixedApiCase()
1294 DefaultVAOCase (Context& ctx, const char* name, const char* desc, CaseType caseType);
1303 DefaultVAOCase::DefaultVAOCase (Context& ctx, const char* name, const char* desc, CaseType caseType) in DefaultVAOCase() argument
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluShaderLibrary.hpp170 CaseType caseType; member
182 : caseType (CASETYPE_LAST) in ShaderCaseSpecification()
DgluShaderLibrary.cpp125 if (!de::inBounds(spec.caseType, (CaseType)0, CASETYPE_LAST)) in isValid()
151 if (spec.caseType != CASETYPE_COMPLETE) in isValid()
214 if (spec.caseType == CASETYPE_VERTEX_ONLY && (!hasVertex || hasFragment)) in isValid()
220 if (spec.caseType == CASETYPE_FRAGMENT_ONLY && (hasVertex || !hasFragment)) in isValid()
226 if (spec.caseType == CASETYPE_COMPLETE && (!hasVertex || !hasFragment)) in isValid()
1461 spec.caseType = CASETYPE_VERTEX_ONLY; in parseShaderCase()
1477 spec.caseType = CASETYPE_FRAGMENT_ONLY; in parseShaderCase()
1493 spec.caseType = CASETYPE_COMPLETE; in parseShaderCase()
1528 spec.caseType = CASETYPE_COMPLETE; in parseShaderCase()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuRandomOrderExecutor.cpp177 const qpTestCaseType caseType = nodeTypeToTestCaseType(testCase->getNodeType()); in execute() local
180 log.startCase(casePath.c_str(), caseType); in execute()
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuRandomOrderExecutor.cpp184 const qpTestCaseType caseType = nodeTypeToTestCaseType(testCase->getNodeType()); in execute() local
187 log.startCase(casePath.c_str(), caseType); in execute()
/third_party/vk-gl-cts/executor/tools/
DxeExtractValues.cpp59 xe::TestCaseType caseType; member
155 tagResult.caseType = xe::TESTCASETYPE_SELF_VALIDATE; in testCaseResultComplete()
/third_party/vk-gl-cts/framework/common/
DtcuTestSessionExecutor.cpp195 const qpTestCaseType caseType = nodeTypeToTestCaseType(testCase->getNodeType()); in enterTestCase() local
202 log.startCase(casePath.c_str(), caseType); in enterTestCase()

123