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

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

Issue 1949303003: Improve indexed gl state related GL commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tex
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/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 24fe49f94668c10fa8adb6e0564bafde487a7ae4..ff8c77ed1e3e0d4548b3e7722d9d23f68b3b0092 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -1308,6 +1308,9 @@ void FeatureInfo::EnableES3Validators() {
validators_.attachment.RemoveValues(
kColorAttachments + max_color_attachments,
kTotalColorAttachmentEnums - max_color_attachments);
+ validators_.read_buffer.RemoveValues(
+ kColorAttachments + max_color_attachments,
+ kTotalColorAttachmentEnums - max_color_attachments);
}
GLint max_draw_buffers = 0;

Powered by Google App Engine
This is Rietveld 408576698