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

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

Issue 552013007: Remove outdated ANGLE_SH_VERSION if-def stuff. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
diff --git a/gpu/command_buffer/service/shader_translator.h b/gpu/command_buffer/service/shader_translator.h
index d936e12161da9924fd7307599bf279a5b93f9047..d2d7ef8a4a16e111f2795749cf98bd5d3ca6b689 100644
--- a/gpu/command_buffer/service/shader_translator.h
+++ b/gpu/command_buffer/service/shader_translator.h
@@ -66,11 +66,7 @@ class ShaderTranslatorInterface {
// Initializes the translator.
// Must be called once before using the translator object.
virtual bool Init(
-#if (ANGLE_SH_VERSION >= 126)
sh::GLenum shader_type,
-#else
- ShShaderType shader_type,
-#endif
ShShaderSpec shader_spec,
const ShBuiltInResources* resources,
GlslImplementationType glsl_implementation_type,
@@ -120,11 +116,7 @@ class GPU_EXPORT ShaderTranslator
// Overridden from ShaderTranslatorInterface.
virtual bool Init(
-#if (ANGLE_SH_VERSION >= 126)
sh::GLenum shader_type,
-#else
- ShShaderType shader_type,
-#endif
ShShaderSpec shader_spec,
const ShBuiltInResources* resources,
GlslImplementationType glsl_implementation_type,
« no previous file with comments | « gpu/command_buffer/service/program_manager_unittest.cc ('k') | gpu/command_buffer/service/shader_translator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698