| 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 a17f6ce61cad2acf67a9339244694c4885ce6a6d..04b1206a41b8b563afa7d9b669ea51418704a858 100644
|
| --- a/gpu/command_buffer/service/shader_translator.h
|
| +++ b/gpu/command_buffer/service/shader_translator.h
|
| @@ -44,7 +44,8 @@ class ShaderTranslatorInterface
|
| ShShaderSpec shader_spec,
|
| const ShBuiltInResources* resources,
|
| ShShaderOutput shader_output_language,
|
| - ShCompileOptions driver_bug_workarounds) = 0;
|
| + ShCompileOptions driver_bug_workarounds,
|
| + bool gl_shader_interm_output) = 0;
|
|
|
| // Translates the given shader source.
|
| // Returns true if translation is successful, false otherwise.
|
| @@ -100,7 +101,8 @@ class GPU_EXPORT ShaderTranslator
|
| ShShaderSpec shader_spec,
|
| const ShBuiltInResources* resources,
|
| ShShaderOutput shader_output_language,
|
| - ShCompileOptions driver_bug_workarounds) override;
|
| + ShCompileOptions driver_bug_workarounds,
|
| + bool gl_shader_interm_output) override;
|
|
|
| // Overridden from ShaderTranslatorInterface.
|
| bool Translate(const std::string& shader_source,
|
| @@ -126,6 +128,7 @@ class GPU_EXPORT ShaderTranslator
|
|
|
| ShHandle compiler_;
|
| ShCompileOptions driver_bug_workarounds_;
|
| + bool gl_shader_interm_output_;
|
| base::ObserverList<DestructionObserver> destruction_observers_;
|
| };
|
|
|
|
|