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

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

Issue 1126243002: Check for shader version mismatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/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.

Powered by Google App Engine
This is Rietveld 408576698