| 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 18e5136073112b485ee13fa50af62a2eeeb54b4a..bc19e4f05131df4f0daf9714abda4fc0a7bb6e82 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
|
| @@ -290,6 +290,13 @@ static GLenum valid_read_pixel_format_table[] = {
|
| GL_RGBA,
|
| };
|
|
|
| +static GLenum valid_read_pixel_type_table[] = {
|
| + GL_UNSIGNED_BYTE,
|
| + GL_UNSIGNED_SHORT_5_6_5,
|
| + GL_UNSIGNED_SHORT_4_4_4_4,
|
| + GL_UNSIGNED_SHORT_5_5_5_1,
|
| +};
|
| +
|
| static GLenum valid_render_buffer_format_table[] = {
|
| GL_RGBA4,
|
| GL_RGB565,
|
| @@ -555,6 +562,8 @@ Validators::Validators()
|
| read_pixel_format(
|
| valid_read_pixel_format_table, arraysize(
|
| valid_read_pixel_format_table)),
|
| + read_pixel_type(
|
| + valid_read_pixel_type_table, arraysize(valid_read_pixel_type_table)),
|
| render_buffer_format(
|
| valid_render_buffer_format_table, arraysize(
|
| valid_render_buffer_format_table)),
|
|
|