summaryrefslogtreecommitdiffstats
path: root/tools/glslang/glslang.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-14 11:31:23 -0700
committerGitHub <noreply@github.com>2017-07-14 11:31:23 -0700
commitd9366db8993c566fbb0af780c13db438dbf74022 (patch)
tree7f8302ad4eb9558e1260ad8aed048f1292092489 /tools/glslang/glslang.cpp
parent47e94a14a174ce501883c85b7c742c10b785b4f5 (diff)
parent2bf87743ffe73f041036ae62c8bf53f09215ca53 (diff)
Merge pull request #89 from tfoleyNV/glpervertex-location-fix
Don't use "auto locations" mode in glslang
Diffstat (limited to 'tools/glslang/glslang.cpp')
-rw-r--r--tools/glslang/glslang.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/glslang/glslang.cpp b/tools/glslang/glslang.cpp
index 98bcf14d6..2890a98ad 100644
--- a/tools/glslang/glslang.cpp
+++ b/tools/glslang/glslang.cpp
@@ -118,15 +118,6 @@ static int glslang_compileGLSLToSPIRV(glslang_CompileRequest* request)
&request->sourcePath,
1);
- // Note: this seems required to get past a bug where
- // glslang complains about a declaration of `out gl_PerVertex`
- // that it (seemingly) *should* allow according to the GLSL-for-Vulkan
- // extension.
- shader->setAutoMapLocations(true);
-
- // Let's auto-map the bindings too, just because we can
- shader->setAutoMapBindings(true);
-
EShMessages messages = EShMessages(EShMsgSpvRules | EShMsgVulkanRules);
if( !shader->parse(&gResources, 110, false, messages) )