projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b010f
)
Fix build if NV_EXTENSIONS is not set
author
Henrik Rydgard
<hrydgard@gmail.com>
Mon, 23 Jan 2017 15:25:50 +0000
(16:25 +0100)
committer
Henrik Rydgard
<hrydgard@gmail.com>
Mon, 23 Jan 2017 15:27:08 +0000
(16:27 +0100)
glslang/MachineIndependent/ParseHelper.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/ParseHelper.cpp
b/glslang/MachineIndependent/ParseHelper.cpp
index a560966af4607128152833bf10076d9f09fc0232..1c12eddd0cec4742e54b72f9ef4895eae5c3cae2 100644
(file)
--- a/
glslang/MachineIndependent/ParseHelper.cpp
+++ b/
glslang/MachineIndependent/ParseHelper.cpp
@@
-3969,6
+3969,8
@@
void TParseContext::setLayoutQualifier(const TSourceLoc& loc, TPublicType& publi
return;
}
}
+#else
+ }
#endif
error(loc, "unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)", id.c_str(), "");
}