diff options
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
| -rw-r--r-- | Tests/TestApp/src/ShaderConverterTest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp index a18229b..51dcfa3 100644 --- a/Tests/TestApp/src/ShaderConverterTest.cpp +++ b/Tests/TestApp/src/ShaderConverterTest.cpp @@ -35,7 +35,8 @@ using namespace Diligent; -ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceContext *pContext ) +ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceContext *pContext ) : + UnitTestBase("Shader Converter Test") { ShaderCreationAttribs CreationAttrs; CreationAttrs.FilePath = "Shaders\\ConverterTest.fx"; @@ -62,6 +63,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC VERIFY_EXPR( pShader ); } + std::string status; if(pRenderDevice->GetDeviceCaps().bComputeShadersSupported) { CreationAttrs.FilePath = "Shaders\\CSConversionTest.fx"; @@ -70,5 +72,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC RefCntAutoPtr<IShader> pShader; //pRenderDevice->CreateShader( CreationAttrs, &pShader ); //VERIFY_EXPR( pShader ); + status = "Skipped compute shader conversion test"; } + SetStatus(TestResult::Succeeded, status.c_str()); } |
