summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/service/shader_translator_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/service/shader_translator_cache.h')
-rw-r--r--chromium/gpu/command_buffer/service/shader_translator_cache.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/chromium/gpu/command_buffer/service/shader_translator_cache.h b/chromium/gpu/command_buffer/service/shader_translator_cache.h
index 6b0b1a57ef3..471b081ac72 100644
--- a/chromium/gpu/command_buffer/service/shader_translator_cache.h
+++ b/chromium/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;
}