commit | 45bcc7845c4c62f4e334a4a28860767bbceaf8ba | [log] [tgz] |
---|---|---|
author | Jamie Madill <jmadill@chromium.org> | Mon Nov 07 13:58:48 2016 -0500 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 08 03:25:27 2016 +0000 |
tree | 23b1ca0af8d81ef8e93aeb68c66a5ecae9199dc4 | |
parent | 20c97cac2a15144b61ceec7404a9e6249c40f50a [diff] [blame] |
translator: Scope all classes with "sh". I was seeing an odd problem with our PoolAlloc conflicting with the glslang/Vulkan TIntermNode, so the fix was to move everything to a separate namespace. The bison grammars are also regenerated. No functional changes. BUG=angleproject:1576 Change-Id: I959c7afe4c092f0d458432c07b4dcee4d39513f3 Reviewed-on: https://chromium-review.googlesource.com/408267 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/compiler/translator/EmulatePrecision.cpp b/src/compiler/translator/EmulatePrecision.cpp index 94cdf50..c3c4902 100644 --- a/src/compiler/translator/EmulatePrecision.cpp +++ b/src/compiler/translator/EmulatePrecision.cpp
@@ -8,6 +8,9 @@ #include <memory> +namespace sh +{ + namespace { @@ -719,3 +722,5 @@ sh::IsGLSL130OrNewer(outputLanguage)); } } + +} // namespace sh