Index: gpu/command_buffer/service/program_manager.h |
diff --git a/gpu/command_buffer/service/program_manager.h b/gpu/command_buffer/service/program_manager.h |
index a3de24bfc5a42be6509e67eedd96d5bb59028a9c..a620ee2ae1593a52bf791f51daed2292b034f92c 100644 |
--- a/gpu/command_buffer/service/program_manager.h |
+++ b/gpu/command_buffer/service/program_manager.h |
@@ -213,6 +213,9 @@ class GPU_EXPORT Program : public base::RefCounted<Program> { |
// returns false if error. |
bool SetUniformLocationBinding(const std::string& name, GLint location); |
+ // Detects if the shader version combination is not valid. |
+ bool DetectShaderVersionMismatch() const; |
+ |
// Detects if there are attribute location conflicts from |
// glBindAttribLocation() calls. |
// We only consider the declared attributes in the program. |