summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-09-20 07:44:19 +0000
committerazhirnov <zh1dron@gmail.com>2020-09-20 07:44:19 +0000
commit6447cc4b0c06bc018c02ecc3040f4f925e9a2b2c (patch)
tree85218fb5251030beb968660e262f694f450ef7ee /Graphics/GraphicsEngineVulkan
parentCMake utils: added package_required_dlls to enable packaging shader compiler ... (diff)
downloadDiligentCore-6447cc4b0c06bc018c02ecc3040f4f925e9a2b2c.tar.gz
DiligentCore-6447cc4b0c06bc018c02ecc3040f4f925e9a2b2c.zip
added ability to use #include in glsl
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp
index 718cc39a..855bdb0a 100644
--- a/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp
@@ -103,6 +103,7 @@ ShaderVkImpl::ShaderVkImpl(IReferenceCounters* pRefCounters,
m_SPIRV = GLSLangUtils::GLSLtoSPIRV(m_Desc.ShaderType, GLSLSource.c_str(),
static_cast<int>(GLSLSource.length()),
+ CreationAttribs.pShaderSourceStreamFactory,
CreationAttribs.ppCompilerOutput);
}
#endif