From cfba7d8781b0897e0f5415e5fafca4268955bc06 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 29 Oct 2018 19:50:11 -0700 Subject: Updated core (using glslang to compile HLSL directly to SPIRV) --- Tests/TestApp/src/ShaderConverterTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp') 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 pStream; CreationAttrs.ppConversionStream = pStream.GetRawDblPtr(); -- cgit v1.2.3