diff options
Diffstat (limited to 'Tests/TestApp/src/TestShaderResArrays.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestShaderResArrays.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderResArrays.cpp b/Tests/TestApp/src/TestShaderResArrays.cpp index 9b2b422..dc65b9a 100644 --- a/Tests/TestApp/src/TestShaderResArrays.cpp +++ b/Tests/TestApp/src/TestShaderResArrays.cpp @@ -32,7 +32,8 @@ using namespace Diligent; -TestShaderResArrays::TestShaderResArrays(IRenderDevice *pDevice, IDeviceContext *pDeviceContext, bool bUseOpenGL, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent) +TestShaderResArrays::TestShaderResArrays(IRenderDevice *pDevice, IDeviceContext *pDeviceContext, bool bUseOpenGL, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent) : + UnitTestBase("Shader resource array test") { m_pRenderDevice = pDevice; m_pDeviceContext = pDeviceContext; @@ -187,4 +188,6 @@ void TestShaderResArrays::Draw() DrawAttrs.Topology = Diligent::PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; DrawAttrs.NumVertices = 4; // Draw quad m_pDeviceContext->Draw( DrawAttrs ); + + SetStatus(TestResult::Succeeded); } |
