From 5268f35ec9a8f340344bd6d9fe14bba78e398e6e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 18 Feb 2018 21:08:25 -0800 Subject: Some minor updates to unit tests --- Tests/TestApp/src/ShaderConverterTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp') 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 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 -- cgit v1.2.3