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

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

Issue 23819037: Uniforms and attributes name conflicts should cause link failure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 c995e2f2eb39f1143250d79dd85179e3cee2c570..c6c361bc9c630c46f8156dec2a17abe804adc6c1 100644
--- a/gpu/command_buffer/service/program_manager.h
+++ b/gpu/command_buffer/service/program_manager.h
@@ -195,6 +195,9 @@ class GPU_EXPORT Program : public base::RefCounted<Program> {
// is not declared in vertex shader.
bool DetectVaryingsMismatch() const;
+ // Return true if a varying or an attribute share the same name.
+ bool DetectGlobalNameConflicts() const;
+
// Return false if varyings can't be packed into the max available
// varying registers.
bool CheckVaryingsPacking() const;
« no previous file with comments | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | gpu/command_buffer/service/program_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698