diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
| commit | ec3e81b7a7be77836ac52dc6168aa5ac4c498217 (patch) | |
| tree | 6feacc63f6f2cfa51463831a1ea7399f8de9be81 /Tests/TestApp/src/TestTessellation.cpp | |
| parent | Fixed few compiler warnings (diff) | |
| download | DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip | |
Added test result reporting
Diffstat (limited to 'Tests/TestApp/src/TestTessellation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTessellation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestTessellation.cpp b/Tests/TestApp/src/TestTessellation.cpp index 8acb890..dacb1cf 100644 --- a/Tests/TestApp/src/TestTessellation.cpp +++ b/Tests/TestApp/src/TestTessellation.cpp @@ -35,7 +35,7 @@ void TestTessellation::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont { if(!pDevice->GetDeviceCaps().bTessellationSupported) { - LOG_WARNING_MESSAGE("Tessellation is not supported"); + SetStatus(TestResult::Skipped, "Tessellation is not supported"); return; } @@ -134,4 +134,6 @@ void TestTessellation::Draw() m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); DrawAttrs.NumVertices = 1; // Draw 1 tri patch m_pDeviceContext->Draw(DrawAttrs); + + SetStatus(TestResult::Succeeded); } |
