| Index: gpu/command_buffer/common/gles2_cmd_utils.cc
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| index 0d07f4e0c359d9a8fbd359879f16e9d7bf67d9e7..0ee8399ce470a5209103a62ab8bcc46d24a537b6 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -804,6 +804,12 @@ size_t GLES2Util::GetGLTypeSizeForTexturesAndBuffers(uint32_t type) {
|
| return sizeof(GLfloat); // NOLINT
|
| case GL_FIXED:
|
| return sizeof(GLfixed); // NOLINT
|
| + case GL_HALF_FLOAT:
|
| + return sizeof(GLushort); // NOLINT
|
| + case GL_INT_2_10_10_10_REV:
|
| + return sizeof(GLint); // NOLINT
|
| + case GL_UNSIGNED_INT_2_10_10_10_REV:
|
| + return sizeof(GLuint); // NOLINT
|
| default:
|
| return 0;
|
| }
|
|
|