summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/include/TestTextureCreation.h
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/include/TestTextureCreation.h
parentFixed few compiler warnings (diff)
downloadDiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz
DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip
Added test result reporting
Diffstat (limited to 'Tests/TestApp/include/TestTextureCreation.h')
-rw-r--r--Tests/TestApp/include/TestTextureCreation.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/TestApp/include/TestTextureCreation.h b/Tests/TestApp/include/TestTextureCreation.h
index 20b44c3..a3b2907 100644
--- a/Tests/TestApp/include/TestTextureCreation.h
+++ b/Tests/TestApp/include/TestTextureCreation.h
@@ -23,9 +23,11 @@
#pragma once
+#include "UnitTestBase.h"
+
const bool bIsGL43 = false;
-class TestTextureCreation
+class TestTextureCreation : public UnitTestBase
{
public:
TestTextureCreation(Diligent::IRenderDevice *pDevice, Diligent::IDeviceContext *pContext);
@@ -35,4 +37,6 @@ private:
void CheckFormatSize( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::Uint32 RefSize );
void CheckNumComponents( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::Uint32 RefComponents );
void CheckComponentType( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::COMPONENT_TYPE RefType );
+
+ int m_NumFormatsTested = 0;
};