summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/ShaderConverterTest.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-19 05:08:25 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-19 05:08:25 +0000
commit5268f35ec9a8f340344bd6d9fe14bba78e398e6e (patch)
tree3f93703a320b5d34d0a0c56c9913de7801d4bd16 /Tests/TestApp/src/ShaderConverterTest.cpp
parentFixed tri domain tessellation test issue on D3D12 (diff)
downloadDiligentEngine-5268f35ec9a8f340344bd6d9fe14bba78e398e6e.tar.gz
DiligentEngine-5268f35ec9a8f340344bd6d9fe14bba78e398e6e.zip
Some minor updates to unit tests
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
-rw-r--r--Tests/TestApp/src/ShaderConverterTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp
index 5bff49f..6e7b78f 100644
--- a/Tests/TestApp/src/ShaderConverterTest.cpp
+++ b/Tests/TestApp/src/ShaderConverterTest.cpp
@@ -66,13 +66,15 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC
std::string status;
if(pRenderDevice->GetDeviceCaps().bComputeShadersSupported)
{
-#if PLATFORM_LINUX || PLATFORM_WIN32
+#if PLATFORM_LINUX
CreationAttrs.FilePath = "Shaders\\CSConversionTest.fx";
CreationAttrs.EntryPoint = "TestCS";
CreationAttrs.Desc.ShaderType = SHADER_TYPE_COMPUTE;
RefCntAutoPtr<IShader> pShader;
pRenderDevice->CreateShader( CreationAttrs, &pShader );
VERIFY_EXPR( pShader );
+#elif PLATFORM_WIN32
+ status = "Skipped compute shader conversion test as on Win32, only 8 image uniforms are allowed. Besides, an error is generated when passing image as a function argument.";
#else
status = "Skipped compute shader conversion test";
#endif