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 3102b105f454c65fcc140c52a592c07ecaae9f48..361c2dcf4e4f67f7e0de5a471bbf26e9d2770d7a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
@@ -211,6 +211,16 @@ static GLenum valid_get_max_index_type_table[] = { |
GL_UNSIGNED_INT, |
}; |
+static GLenum valid_get_tex_param_target_table[] = { |
+ GL_TEXTURE_2D, |
+ GL_TEXTURE_CUBE_MAP_POSITIVE_X, |
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_X, |
+ GL_TEXTURE_CUBE_MAP_POSITIVE_Y, |
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, |
+ GL_TEXTURE_CUBE_MAP_POSITIVE_Z, |
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, |
+}; |
+ |
static GLenum valid_hint_mode_table[] = { |
GL_FASTEST, |
GL_NICEST, |
@@ -482,6 +492,9 @@ Validators::Validators() |
get_max_index_type( |
valid_get_max_index_type_table, arraysize( |
valid_get_max_index_type_table)), |
+ get_tex_param_target( |
+ valid_get_tex_param_target_table, arraysize( |
+ valid_get_tex_param_target_table)), |
hint_mode( |
valid_hint_mode_table, arraysize(valid_hint_mode_table)), |
hint_target( |