summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestBlendState.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-17 20:58:17 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-17 20:58:17 +0000
commitec3e81b7a7be77836ac52dc6168aa5ac4c498217 (patch)
tree6feacc63f6f2cfa51463831a1ea7399f8de9be81 /Tests/TestApp/src/TestBlendState.cpp
parentFixed few compiler warnings (diff)
downloadDiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz
DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip
Added test result reporting
Diffstat (limited to 'Tests/TestApp/src/TestBlendState.cpp')
-rw-r--r--Tests/TestApp/src/TestBlendState.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestBlendState.cpp b/Tests/TestApp/src/TestBlendState.cpp
index a01a2fa..e54e4ad 100644
--- a/Tests/TestApp/src/TestBlendState.cpp
+++ b/Tests/TestApp/src/TestBlendState.cpp
@@ -48,7 +48,7 @@ void TestBlendState::CreateTestBS( BlendStateDesc &BSDesc )
}
TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext ) :
- TestPipelineStateBase(pDevice),
+ TestPipelineStateBase(pDevice, "Blend state initialization test"),
m_pDeviceContext(pContext)
{
m_PSODesc.Name = "PSO-TestBlendStates";
@@ -247,4 +247,5 @@ TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext
m_pDevice->CreatePipelineState(m_PSODesc, &pPSO );
pScript->Run( m_pDeviceContext, "TestPSOArg", pPSO );
}
+ SetStatus(TestResult::Succeeded);
}