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

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

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase for commit Created 5 years 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/gles2_cmd_validation_implementation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
index dab154e4ffe0b07417ea5ba53355113957a91152..aeaecd068f2e86b5af89a2953c755ec67e92b162 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -171,6 +171,10 @@ static const GLenum valid_compressed_texture_format_table_es3[] = {
GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
};
+static const GLenum valid_coverage_modulation_components_table[] = {
+ GL_RGB, GL_RGBA, GL_ALPHA, GL_NONE,
+};
+
bool Validators::DrawModeValidator::IsValid(const GLenum value) const {
switch (value) {
case GL_POINTS:
@@ -1312,6 +1316,9 @@ Validators::Validators()
bufferuiv(valid_bufferuiv_table, arraysize(valid_bufferuiv_table)),
capability(valid_capability_table, arraysize(valid_capability_table)),
compressed_texture_format(),
+ coverage_modulation_components(
+ valid_coverage_modulation_components_table,
+ arraysize(valid_coverage_modulation_components_table)),
dst_blend_factor(valid_dst_blend_factor_table,
arraysize(valid_dst_blend_factor_table)),
equation(valid_equation_table, arraysize(valid_equation_table)),

Powered by Google App Engine
This is Rietveld 408576698