/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderDiscardTests.cpp | 101 ShaderDiscardCase (tcu::TestContext& testCtx, 118 ShaderDiscardCase::ShaderDiscardCase (tcu::TestContext& testCtx, 124 : ShaderRenderCase (testCtx, name, description, false, evalFunc, new SamplerUniformSetup(usesTexture), DE_NULL) 333 de::MovePtr<ShaderDiscardCase> makeDiscardCase (tcu::TestContext& testCtx, DiscardTemplate tmpl, DiscardMode mode) 354 return de::MovePtr<ShaderDiscardCase>(new ShaderDiscardCase(testCtx, name.c_str(), description.c_str(), shaderTemplate.specialize(params).c_str(), getEvalFunc(mode), mode == DISCARDMODE_TEXTURE)); 370 ShaderDiscardTests::ShaderDiscardTests (tcu::TestContext& testCtx) 371 : TestCaseGroup(testCtx, "discard", "Discard statement tests") 388 tcu::TestCaseGroup* createDiscardTests (tcu::TestContext& testCtx) 390 return new ShaderDiscardTests(testCtx);
|
vktShaderRenderSwitchTests.cpp | 54 ShaderSwitchCase (tcu::TestContext& testCtx, 65 ShaderSwitchCase::ShaderSwitchCase (tcu::TestContext& testCtx, 73 : ShaderRenderCase (testCtx, name, description, isVertexCase, evalFunc, new UniformSetup(setupUniformsFunc), DE_NULL) 106 static de::MovePtr<ShaderSwitchCase> makeSwitchCase (tcu::TestContext& testCtx, const string& name, const string& desc, SwitchType type, bool isVertex, const LineStream& switchBody) 167 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx.str(), frag.str(), 189 ShaderSwitchTests::ShaderSwitchTests (tcu::TestContext& testCtx) 190 : tcu::TestCaseGroup (testCtx, "switch", "Switch statement tests") 489 tcu::TestCaseGroup* createSwitchTests (tcu::TestContext& testCtx) 491 return new ShaderSwitchTests(testCtx);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesShaderIntrinsics.cpp | 34 tcu::TestCaseGroup* createSparseResourcesShaderIntrinsicsTests (tcu::TestContext& testCtx) 36 de::MovePtr<tcu::TestCaseGroup> testGroup(new tcu::TestCaseGroup(testCtx, "shader_intrinsics", "Sparse Resources Shader Intrinsics")); 81 de::MovePtr<tcu::TestCaseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, (getImageTypeName(imageType) + functions[functionNdx]).c_str(), "")); 86 de::MovePtr<tcu::TestCaseGroup> formatGroup(new tcu::TestCaseGroup(testCtx, getShaderImageFormatQualifier(format).c_str(), "")); 111 formatGroup->addChild(new SparseCaseOpImageSparseFetch(testCtx, stream.str(), function, imageType, imageSize, format)); 114 formatGroup->addChild(new SparseCaseOpImageSparseRead(testCtx, stream.str(), function, imageType, imageSize, format)); 117 formatGroup->addChild(new SparseCaseOpImageSparseSampleExplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); 120 formatGroup->addChild(new SparseCaseOpImageSparseSampleImplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); 123 formatGroup->addChild(new SparseCaseOpImageSparseGather(testCtx, stream.str(), function, imageType, imageSize, format));
|
/external/deqp/modules/gles2/functional/ |
es2fFboStateQueryTests.cpp | 46 void checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) 52 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage; 53 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) 54 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value"); 58 void checkAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, GLenum reference) 63 if (state.verifyValidity(testCtx)) 64 checkIntEquals(testCtx, state, reference); 67 void checkColorAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum pname, GLenum reference) 69 checkAttachmentParam(testCtx, gl, target, GL_COLOR_ATTACHMENT0, pname, reference);
|
es2fShaderStateQueryTests.cpp | 73 bool checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) 79 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage; 80 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) 81 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value"); 87 void checkPointerEquals (tcu::TestContext& testCtx, const void* got, const void* expected) 93 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage; 94 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) 95 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value"); 99 void verifyShaderParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint shader, GLenum pname, GLenum reference) 104 if (state.verifyValidity(testCtx)) [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcContext.cpp | 37 Context::Context(tcu::TestContext& testCtx, glu::ContextType contextType) 38 : m_testCtx(testCtx), m_renderCtx(DE_NULL), m_contextInfo(DE_NULL)
|
glcRobustnessTests.cpp | 48 RobustnessBase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType); 56 RobustnessBase::RobustnessBase(tcu::TestContext& testCtx, const char* name, const char* description, 58 : tcu::TestCase(testCtx, name, description), m_ApiType(apiType) 94 NoResetNotificationCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) 95 : RobustnessBase(testCtx, name, description, apiType) 150 LoseContextOnResetCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ApiType apiType) 151 : RobustnessBase(testCtx, name, description, apiType) 187 static deqp::Context* createContext(tcu::TestContext& testCtx, glu::ApiType apiType) 189 deqp::Context* context = new deqp::Context(testCtx, glu::ContextType(apiType)); 192 testCtx.setTestResult(QP_TEST_RESULT_INTERNAL_ERROR, "Pointer to context is NULL.") [all...] |
glcContext.hpp | 49 Context(tcu::TestContext& testCtx, glu::ContextType contextType = glu::ContextType());
|
/external/deqp/external/openglcts/modules/gles31/ |
es31cTestPackage.cpp | 106 tcu::TestContext& testCtx = m_testPackage.getContext().getTestContext(); 126 testCtx.getLog() << e; 127 testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Resource error in context post-iteration routine"); 128 testCtx.setTerminateAfter(true); 133 testCtx.getLog() << e; 134 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine"); 139 ES31TestPackage::ES31TestPackage(tcu::TestContext& testCtx, const char* packageName) 140 : deqp::TestPackage(testCtx, packageName, "OpenGL ES 3.1 Conformance Tests",
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiMaintenance3Check.cpp | 103 Maintenance3StructTestCase (tcu::TestContext& testCtx) 104 : TestCase(testCtx, "maintenance3_properties", "tests VkPhysicalDeviceMaintenance3Properties struct") 275 Maintenance3DescriptorTestCase (tcu::TestContext& testCtx) 276 : TestCase(testCtx, "descriptor_set", "tests vkGetDescriptorSetLayoutSupport struct") 290 tcu::TestCaseGroup* createMaintenance3Tests (tcu::TestContext& testCtx) 292 de::MovePtr<tcu::TestCaseGroup> main3Tests(new tcu::TestCaseGroup(testCtx, "maintenance3_check", "Maintenance3 Tests")); 293 main3Tests->addChild(new Maintenance3StructTestCase(testCtx)); 294 main3Tests->addChild(new Maintenance3DescriptorTestCase(testCtx));
|
vktApiVersionCheck.cpp | 84 APIVersionTestCase (tcu::TestContext& testCtx) 85 : TestCase (testCtx, "version", "Prints out API info.") 193 APIEntryPointsTestCase (tcu::TestContext& testCtx) 194 : TestCase (testCtx, "entry_points", "Prints out API info.") 209 tcu::TestCaseGroup* createVersionSanityCheckTests (tcu::TestContext & testCtx) 211 de::MovePtr<tcu::TestCaseGroup> versionTests (new tcu::TestCaseGroup(testCtx, "version_check", "API Version Tests")); 212 versionTests->addChild(new APIVersionTestCase(testCtx)); 213 versionTests->addChild(new APIEntryPointsTestCase(testCtx));
|
vktApiGranularityTests.cpp | 379 GranularityCase (tcu::TestContext& testCtx, 392 GranularityCase::GranularityCase (tcu::TestContext& testCtx, 397 : vkt::TestCase (testCtx, name, description) 414 tcu::TestCaseGroup* createGranularityQueryTests (tcu::TestContext& testCtx) 416 de::MovePtr<tcu::TestCaseGroup> group (new tcu::TestCaseGroup(testCtx, "granularity", "Granularity query tests")); 418 de::MovePtr<tcu::TestCaseGroup> single (new tcu::TestCaseGroup(testCtx, "single", "Single texture granularity tests.")); 419 de::MovePtr<tcu::TestCaseGroup> multi (new tcu::TestCaseGroup(testCtx, "multi", "Multiple textures with same format granularity tests.")); 420 de::MovePtr<tcu::TestCaseGroup> random (new tcu::TestCaseGroup(testCtx, "random", "Multiple textures with a guaranteed format occurence.")); 421 de::MovePtr<tcu::TestCaseGroup> inRenderPass (new tcu::TestCaseGroup(testCtx, "in_render_pass", "Single texture granularity tests, inside render pass")); 489 single->addChild(new GranularityCase(testCtx, name.c_str(), description, attachments)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawTestCaseUtil.hpp | 72 InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, typename Instance::TestSpec testSpec) 73 : TestCase (testCtx, name, desc)
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateTestCaseUtil.hpp | 75 InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, 77 : TestCase (testCtx, name, desc)
|
/external/deqp/framework/common/ |
tcuResultCollector.cpp | 104 void ResultCollector::setTestContextResult (TestContext& testCtx) 106 testCtx.setTestResult(getResult(), getMessage().c_str());
|
tcuTestHierarchyUtil.cpp | 125 void writeXmlCaselistsToFiles (TestPackageRoot& root, TestContext& testCtx, const CommandLine& cmdLine) 127 DefaultHierarchyInflater inflater (testCtx); 128 de::MovePtr<const CaseListFilter> caseListFilter (testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive())); 183 void writeTxtCaselistsToFiles (TestPackageRoot& root, TestContext& testCtx, const CommandLine& cmdLine) 185 DefaultHierarchyInflater inflater (testCtx); 186 de::MovePtr<const CaseListFilter> caseListFilter (testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive()));
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.hpp | 47 ShaderPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, PerfCaseType caseType); 90 ShaderPerformanceCaseGroup (tcu::TestContext& testCtx, const char* name, const char* description);
|
glsAttributeLocationTests.cpp | 686 void runTest (tcu::TestContext& testCtx, 696 TestLog& log = testCtx.getLog(); 714 logAttributes(testCtx.getLog(), attributes); 789 testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass"); 791 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Fail"); 804 BindAttributeTest::BindAttributeTest (tcu::TestContext& testCtx, 808 : TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize).c_str()) 829 BindMaxAttributesTest::BindMaxAttributesTest (tcu::TestContext& testCtx, 833 : TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize).c_str()) 863 BindAliasingAttributeTest::BindAliasingAttributeTest (tcu::TestContext& testCtx, [all...] |
/external/deqp/modules/internal/ |
ditSeedBuilderTests.cpp | 44 SeedBuilderTest (tcu::TestContext& testCtx, const T& value, deUint32 seed, const char* name, const char* description) 45 : tcu::TestCase (testCtx, name, description) 78 SeedBuilderMultipleValuesTest (tcu::TestContext& testCtx) 79 : tcu::TestCase(testCtx, "multiple_values", "Test that multiple values all change the seed.") 116 SeedBuilderTests (tcu::TestContext& testCtx) 117 : tcu::TestCaseGroup(testCtx, "seed_builder", "Seed builder tests.") 177 tcu::TestCaseGroup* createSeedBuilderTests (tcu::TestContext& testCtx) 179 return new SeedBuilderTests(testCtx);
|
/external/deqp/modules/egl/ |
teglTestPackage.cpp | 178 static const eglu::NativeDisplayFactory& getDefaultDisplayFactory (tcu::TestContext& testCtx) 180 const eglu::NativeDisplayFactory& factory = eglu::selectNativeDisplayFactory(testCtx.getPlatform().getEGLPlatform().getNativeDisplayFactoryRegistry(), testCtx.getCommandLine()); 185 TestPackage::TestPackage (tcu::TestContext& testCtx) 186 : tcu::TestPackage (testCtx, "dEQP-EGL", "dEQP EGL Tests")
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineSamplerTests.cpp | 569 MovePtr<tcu::TestCaseGroup> createSamplerMagFilterTests (tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) 571 MovePtr<tcu::TestCaseGroup> samplerMagFilterTests (new tcu::TestCaseGroup(testCtx, "mag_filter", "Tests for magnification filter")); 574 samplerMagFilterTests->addChild(new SamplerMagFilterTest(testCtx, "linear", "Magnifies image using VK_TEX_FILTER_LINEAR", imageViewType, imageFormat, VK_FILTER_LINEAR)); 575 samplerMagFilterTests->addChild(new SamplerMagFilterTest(testCtx, "nearest", "Magnifies image using VK_TEX_FILTER_NEAREST", imageViewType, imageFormat, VK_FILTER_NEAREST)); 580 MovePtr<tcu::TestCaseGroup> createSamplerMinFilterTests (tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) 582 MovePtr<tcu::TestCaseGroup> samplerMinFilterTests (new tcu::TestCaseGroup(testCtx, "min_filter", "Tests for minification filter")); 585 samplerMinFilterTests->addChild(new SamplerMinFilterTest(testCtx, "linear", "Minifies image using VK_TEX_FILTER_LINEAR", imageViewType, imageFormat, VK_FILTER_LINEAR)); 586 samplerMinFilterTests->addChild(new SamplerMinFilterTest(testCtx, "nearest", "Minifies image using VK_TEX_FILTER_NEAREST", imageViewType, imageFormat, VK_FILTER_NEAREST)); 591 MovePtr<tcu::TestCaseGroup> createSamplerLodTests (tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat, VkSamplerMipmapMode mipmapMode) 614 MovePtr<tcu::TestCaseGroup> samplerLodTests (new tcu::TestCaseGroup(testCtx, "lod", "Tests for sampler LOD")) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemCopyImageToBufferTests.cpp | 79 CopyImageToBufferTestCase (tcu::TestContext& testCtx, 84 : TestCase (testCtx, name, "Copy image to buffer.") 333 tcu::TestCaseGroup* createCopyImageToFloatBufferTests(tcu::TestContext& testCtx, CmdBufferType cmdBufferType) 377 de::MovePtr<tcu::TestCaseGroup> copyStaticTests (new tcu::TestCaseGroup(testCtx, "static", "Copy Image to Buffer Tests with static input")); 387 copyStaticTests->addChild(new CopyImageToBufferTestCase<tcu::Vec4>(testCtx, name.c_str(), testData[ndx].fillValue, testData[ndx].data, cmdBufferType)); 391 de::MovePtr<tcu::TestCaseGroup> copyRandomTests (new tcu::TestCaseGroup(testCtx, "random", "Copy Image to Buffer Tests with random input")); 393 de::Random rnd (testCtx.getCommandLine().getBaseSeed()); 418 copyRandomTests->addChild(new CopyImageToBufferTestCase<tcu::Vec4>(testCtx, name.c_str(), clearValue.color, data, cmdBufferType)); 423 de::MovePtr<tcu::TestCaseGroup> copyTests (new tcu::TestCaseGroup(testCtx, groupName.c_str(), groupDesc.c_str())); 431 tcu::TestCaseGroup* createCopyImageToFloatBufferTests (tcu::TestContext& testCtx) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderStateQueryTests.cpp | 76 bool checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) 82 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage; 83 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) 84 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value"); 90 void checkPointerEquals (tcu::TestContext& testCtx, const void* got, const void* expected) 96 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage; 97 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) 98 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value"); 102 void verifyShaderParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint shader, GLenum pname, GLenum reference) 107 if (state.verifyValidity(testCtx)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryBasicGeometryShaderTests.cpp | 655 GeometryOutputCountTest (TestContext& testCtx, 667 GeometryOutputCountTest::GeometryOutputCountTest (TestContext& testCtx, const char* name, const char* description, const vector<int> pattern) 668 : TestCase (testCtx, name, description) 746 VaryingOutputCountCase (TestContext& testCtx, 758 VaryingOutputCountCase::VaryingOutputCountCase (TestContext& testCtx, const char* name, const char* description, const VaryingSource test, const ShaderInstancingMode mode) 759 : TestCase (testCtx, name, description) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureCompressedFormatTests.cpp | 128 tcu::TestContext& testCtx = compressedTextureTests->getTestContext(); 172 compressedTextureTests->addChild(new TextureTestCase<Compressed2DTestInstance>(testCtx, (nameBase + "_2d_" + sizes[sizeNdx].name).c_str(), (formatStr + ", TEXTURETYPE_2D").c_str(), testParameters)); 178 tcu::TestCaseGroup* createTextureCompressedFormatTests (tcu::TestContext& testCtx) 180 return createTestGroup(testCtx, "compressed", "Texture compressed format tests.", populateTextureCompressedFormatTests);
|