From 93babb02154b7afbed469904a03acd6666d46ec1 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 25 Oct 2018 21:22:17 -0700 Subject: Added HLSL definitions to SPIRV compiler + fixed bug in SPIRV shader resources --- Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp index 0e70d7fa..177d1f3f 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp @@ -33,7 +33,7 @@ namespace Diligent { -const Char* g_HLSLDefinitions = +static const Char* g_HLSLDefinitions = { #include "HLSLDefinitions_inc.fxh" }; -- cgit v1.2.3