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

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

Issue 2399113003: Add gl tests to make sure when a buffer is unmapped, all access path generates an INVALID_OPERATION. (Closed)
Patch Set: format Created 4 years, 2 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 754d5b0630b16d7d450787076dbbfbfd6b3fb257..50a2fc430034363ff87039f7c7bb2acf249abfe3 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -693,6 +693,9 @@ void Program::Update() {
UpdateVertexInputBaseTypes();
UpdateUniformBlockSizeInfo();
+ effective_transform_feedback_buffer_mode_ = transform_feedback_buffer_mode_;
+ effective_transform_feedback_varyings_ = transform_feedback_varyings_;
Zhenyao Mo 2016/10/07 21:05:36 This behavior will also be tested in the webgl2 co
+
valid_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698