summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/ShaderConverterTest.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-30 02:50:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-30 02:50:11 +0000
commitcfba7d8781b0897e0f5415e5fafca4268955bc06 (patch)
treebb25e2a3ded639f9d35d8ee8f5bb2cca6668cb09 /Tests/TestApp/src/ShaderConverterTest.cpp
parentUpdated core (fixed CMake bug introduced by glslang) (diff)
downloadDiligentEngine-cfba7d8781b0897e0f5415e5fafca4268955bc06.tar.gz
DiligentEngine-cfba7d8781b0897e0f5415e5fafca4268955bc06.zip
Updated core (using glslang to compile HLSL directly to SPIRV)
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
-rw-r--r--Tests/TestApp/src/ShaderConverterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp
index 51ee397..8fbe0b4 100644
--- a/Tests/TestApp/src/ShaderConverterTest.cpp
+++ b/Tests/TestApp/src/ShaderConverterTest.cpp
@@ -44,7 +44,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC
CreationAttrs.pShaderSourceStreamFactory = &BasicSSSFactory;
CreationAttrs.SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL;
CreationAttrs.Desc.Name = "Test converted shader";
- CreationAttrs.UseCombinedTextureSamplers = true;
+ CreationAttrs.UseCombinedTextureSamplers = pRenderDevice->GetDeviceCaps().IsGLDevice();
RefCntAutoPtr<IHLSL2GLSLConversionStream> pStream;
CreationAttrs.ppConversionStream = pStream.GetRawDblPtr();