diff options
Diffstat (limited to 'Tests/TestApp/src/TestCopyTexData.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestCopyTexData.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestCopyTexData.cpp b/Tests/TestApp/src/TestCopyTexData.cpp index cbd6a24..5bb65e1 100644 --- a/Tests/TestApp/src/TestCopyTexData.cpp +++ b/Tests/TestApp/src/TestCopyTexData.cpp @@ -30,6 +30,7 @@ using namespace Diligent; TestCopyTexData::TestCopyTexData( IRenderDevice *pDevice, IDeviceContext *pContext ) : + UnitTestBase("Texture data copy test"), m_pDevice(pDevice), m_pContext(pContext) { @@ -68,12 +69,17 @@ TestCopyTexData::TestCopyTexData( IRenderDevice *pDevice, IDeviceContext *pConte TEX_FORMAT_R8_UINT, TEX_FORMAT_R8_SINT }; + int NumFormatsTested = 0; for( auto f = 0; f < _countof( TestFormats ); ++f ) { Test2DTexture(TestFormats[f]); Test2DTexArray(TestFormats[f]); Test3DTexture(TestFormats[f]); + ++NumFormatsTested; } + std::stringstream infoss; + infoss << "Formats tested: " << NumFormatsTested; + SetStatus(TestResult::Succeeded, infoss.str().c_str()); } void TestCopyTexData::Test2DTexture( TEXTURE_FORMAT Format ) |
