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

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

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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.cc
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index 397529441f0e1ae0dc68386b865114604d6fdf45..fb1818300d0e187a18d5643d588734425aedf31e 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -497,7 +497,6 @@ void Program::Update() {
}
}
-#if !defined(NDEBUG)
Peter Kasting 2016/05/19 07:43:37 Because this section and the one below are already
if (manager_->gpu_preferences_.enable_gpu_service_logging_gpu) {
DVLOG(1) << "----: attribs for service_id: " << service_id();
for (size_t ii = 0; ii < attrib_infos_.size(); ++ii) {
@@ -508,10 +507,9 @@ void Program::Update() {
<< ", name = " << info.name;
}
}
-#endif
+
UpdateUniforms();
-#if !defined(NDEBUG)
if (manager_->gpu_preferences_.enable_gpu_service_logging_gpu) {
DVLOG(1) << "----: uniforms for service_id: " << service_id();
size_t ii = 0;
@@ -522,7 +520,6 @@ void Program::Update() {
<< ", name = " << info.name;
}
}
-#endif
UpdateFragmentInputs();
UpdateProgramOutputs();

Powered by Google App Engine
This is Rietveld 408576698