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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/gpu_timing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68df541127a94a0e920ec016e3e4a3cbca3f86a9..5512be9508255f6f6cfa560498e0b245eba2a503 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -462,6 +462,13 @@ static const GLbitfield valid_sync_flush_flags_table[] = {
0,
};
+static const GLenum valid_sync_parameter_table[] = {
+ GL_SYNC_STATUS,
+ GL_OBJECT_TYPE,
+ GL_SYNC_CONDITION,
+ GL_SYNC_FLAGS,
+};
+
static const GLenum valid_texture_3_d_target_table[] = {
GL_TEXTURE_3D,
GL_TEXTURE_2D_ARRAY,
@@ -695,6 +702,8 @@ Validators::Validators()
arraysize(valid_subscription_target_table)),
sync_flush_flags(valid_sync_flush_flags_table,
arraysize(valid_sync_flush_flags_table)),
+ sync_parameter(valid_sync_parameter_table,
+ arraysize(valid_sync_parameter_table)),
texture_3_d_target(valid_texture_3_d_target_table,
arraysize(valid_texture_3_d_target_table)),
texture_bind_target(valid_texture_bind_target_table,
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/gpu_timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698