Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: gpu/command_buffer/service/shader_translator.h

Issue 16737007: Make it possible to switch between two different versions of ANGLE. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/shader_translator.h
===================================================================
--- gpu/command_buffer/service/shader_translator.h (revision 205645)
+++ gpu/command_buffer/service/shader_translator.h (working copy)
@@ -13,7 +13,12 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "gpu/gpu_export.h"
+
+#if defined(ANGLE_DX11)
+#include "third_party/angle_dx11/include/GLSLANG/ShaderLang.h"
+#else
#include "third_party/angle/include/GLSLANG/ShaderLang.h"
+#endif
namespace gpu {
namespace gles2 {

Powered by Google App Engine
This is Rietveld 408576698