diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2019-12-17 06:37:13 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2019-12-17 06:37:13 +0000 |
| commit | 5046c0ae9c0c951d47a3396791c71e94d193c1ce (patch) | |
| tree | 7a379cf3fcf0697f4eb7a28b0d02ba89c090f212 /Graphics/GLSLTools | |
| parent | Updated draw test command reference image to be quad instead of a triangle (diff) | |
| download | DiligentCore-5046c0ae9c0c951d47a3396791c71e94d193c1ce.tar.gz DiligentCore-5046c0ae9c0c951d47a3396791c71e94d193c1ce.zip | |
Enabled draw command reference in Vulkan
Diffstat (limited to 'Graphics/GLSLTools')
| -rw-r--r-- | Graphics/GLSLTools/src/SPIRVUtils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Graphics/GLSLTools/src/SPIRVUtils.cpp b/Graphics/GLSLTools/src/SPIRVUtils.cpp index 42eb2c87..acc20b03 100644 --- a/Graphics/GLSLTools/src/SPIRVUtils.cpp +++ b/Graphics/GLSLTools/src/SPIRVUtils.cpp @@ -338,8 +338,9 @@ static std::vector<unsigned int> CompileShaderInternal(glslang::TShader& IDataBlob** ppCompilerOutput) { Shader.setAutoMapBindings(true); - TBuiltInResource Resources = InitResources(); - auto ParseResult = pIncluder != nullptr ? + TBuiltInResource Resources = InitResources(); + + auto ParseResult = pIncluder != nullptr ? Shader.parse(&Resources, 100, false, messages, *pIncluder) : Shader.parse(&Resources, 100, false, messages); if (!ParseResult) |
