Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (revision 112643) |
+++ gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (working copy) |
@@ -382,6 +382,17 @@ |
GL_RGBA, |
}; |
+static GLenum valid_texture_internal_format_storage_table[] = { |
+ GL_RGB565, |
+ GL_RGBA4, |
+ GL_RGB5_A1, |
+ GL_ALPHA8_EXT, |
+ GL_LUMINANCE8_EXT, |
+ GL_LUMINANCE8_ALPHA8_EXT, |
+ GL_RGB8_OES, |
+ GL_RGBA8_OES, |
+}; |
+ |
static GLenum valid_texture_mag_filter_mode_table[] = { |
GL_NEAREST, |
GL_LINEAR, |
@@ -413,6 +424,11 @@ |
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, |
}; |
+static GLenum valid_texture_usage_table[] = { |
+ GL_NONE, |
+ GL_FRAMEBUFFER_ATTACHMENT_ANGLE, |
+}; |
+ |
static GLenum valid_texture_wrap_mode_table[] = { |
GL_CLAMP_TO_EDGE, |
GL_MIRRORED_REPEAT, |
@@ -550,6 +566,9 @@ |
texture_internal_format( |
valid_texture_internal_format_table, arraysize( |
valid_texture_internal_format_table)), |
+ texture_internal_format_storage( |
+ valid_texture_internal_format_storage_table, arraysize( |
+ valid_texture_internal_format_storage_table)), |
texture_mag_filter_mode( |
valid_texture_mag_filter_mode_table, arraysize( |
valid_texture_mag_filter_mode_table)), |
@@ -561,6 +580,8 @@ |
valid_texture_parameter_table)), |
texture_target( |
valid_texture_target_table, arraysize(valid_texture_target_table)), |
+ texture_usage( |
+ valid_texture_usage_table, arraysize(valid_texture_usage_table)), |
texture_wrap_mode( |
valid_texture_wrap_mode_table, arraysize( |
valid_texture_wrap_mode_table)), |