Index: gpu/command_buffer/service/shader_translator_cache.h |
diff --git a/gpu/command_buffer/service/shader_translator_cache.h b/gpu/command_buffer/service/shader_translator_cache.h |
index 6b0b1a57ef35cfc3a727a8962db1af05803dbae3..471b081ac728cf4c7585bfe254abbcb36bd14c58 100644 |
--- a/gpu/command_buffer/service/shader_translator_cache.h |
+++ b/gpu/command_buffer/service/shader_translator_cache.h |
@@ -35,8 +35,7 @@ class GPU_EXPORT ShaderTranslatorCache |
sh::GLenum shader_type, |
ShShaderSpec shader_spec, |
const ShBuiltInResources* resources, |
- ShaderTranslatorInterface::GlslImplementationType |
- glsl_implementation_type, |
+ ShShaderOutput shader_output_language, |
ShCompileOptions driver_bug_workarounds); |
private: |
@@ -49,21 +48,19 @@ class GPU_EXPORT ShaderTranslatorCache |
sh::GLenum shader_type; |
ShShaderSpec shader_spec; |
ShBuiltInResources resources; |
- ShaderTranslatorInterface::GlslImplementationType |
- glsl_implementation_type; |
+ ShShaderOutput shader_output_language; |
ShCompileOptions driver_bug_workarounds; |
ShaderTranslatorInitParams(sh::GLenum shader_type, |
ShShaderSpec shader_spec, |
const ShBuiltInResources& resources, |
- ShaderTranslatorInterface::GlslImplementationType |
- glsl_implementation_type, |
+ ShShaderOutput shader_output_language, |
ShCompileOptions driver_bug_workarounds) { |
memset(this, 0, sizeof(*this)); |
this->shader_type = shader_type; |
this->shader_spec = shader_spec; |
this->resources = resources; |
- this->glsl_implementation_type = glsl_implementation_type; |
+ this->shader_output_language = shader_output_language; |
this->driver_bug_workarounds = driver_bug_workarounds; |
} |