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 9698fc128c772da96a83e0bc431ddbd4baee74c4..dbe9c14fa2695770aa1925a14297187507d567ce 100644 |
--- a/gpu/command_buffer/service/program_manager.h |
+++ b/gpu/command_buffer/service/program_manager.h |
@@ -215,6 +215,10 @@ class GPU_EXPORT Program : public base::RefCounted<Program> { |
// is not declared in vertex shader. |
bool DetectVaryingsMismatch(std::string* conflicting_name) const; |
+ // Return true if any built-in invariant matching rules are broken as in |
+ // GLSL ES spec 1.00.17, section 4.6.4, Invariance and Linkage. |
+ bool DetectBuiltInInvariantConflicts() const; |
+ |
// Return true if an uniform and an attribute share the same name. |
bool DetectGlobalNameConflicts(std::string* conflicting_name) const; |