diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-18 18:51:33 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-18 18:51:33 +0000 |
| commit | 76402a7cac694c853025383fd5a2dbb6f512a6c0 (patch) | |
| tree | 6e8e701c6b937ecd03c430a54856f34313648304 /Tests/TestApp/src/ShaderConverterTest.cpp | |
| parent | Fixed device orientation change handling in Unity emulator app (diff) | |
| download | DiligentEngine-76402a7cac694c853025383fd5a2dbb6f512a6c0.tar.gz DiligentEngine-76402a7cac694c853025383fd5a2dbb6f512a6c0.zip | |
Enabled CS conversion test in the test app; updated core submodule
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
| -rw-r--r-- | Tests/TestApp/src/ShaderConverterTest.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp index fed7be2..5bff49f 100644 --- a/Tests/TestApp/src/ShaderConverterTest.cpp +++ b/Tests/TestApp/src/ShaderConverterTest.cpp @@ -66,12 +66,16 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC std::string status; if(pRenderDevice->GetDeviceCaps().bComputeShadersSupported) { +#if PLATFORM_LINUX || PLATFORM_WIN32 CreationAttrs.FilePath = "Shaders\\CSConversionTest.fx"; CreationAttrs.EntryPoint = "TestCS"; CreationAttrs.Desc.ShaderType = SHADER_TYPE_COMPUTE; RefCntAutoPtr<IShader> pShader; - //pRenderDevice->CreateShader( CreationAttrs, &pShader ); - //VERIFY_EXPR( pShader ); + pRenderDevice->CreateShader( CreationAttrs, &pShader ); + VERIFY_EXPR( pShader ); +#else + status = "Skipped compute shader conversion test"; +#endif } else status = "Skipped compute shader conversion test"; |
