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

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, add bogus spec text 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 7a201b708a620a73148a442029af5f4675c88749..cf9742066c5107ea792cb4fff01b737a9511f46c 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -105,6 +105,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,
+};
+
static const GLenum valid_draw_mode_table[] = {
GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES,
GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES,
@@ -997,6 +1001,9 @@ Validators::Validators()
cmp_function(valid_cmp_function_table,
arraysize(valid_cmp_function_table)),
compressed_texture_format(),
+ coverage_modulation_components(
+ valid_coverage_modulation_components_table,
+ arraysize(valid_coverage_modulation_components_table)),
draw_mode(valid_draw_mode_table, arraysize(valid_draw_mode_table)),
dst_blend_factor(valid_dst_blend_factor_table,
arraysize(valid_dst_blend_factor_table)),

Powered by Google App Engine
This is Rietveld 408576698