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 92b2c4bb92a6d2fc3ad262fbb7fe7263337a5391..bef6443bb17d76e00122153200befb9ed6f3dd32 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc |
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc |
@@ -1471,6 +1471,7 @@ void GLES2Util::GetColorFormatComponentSizes( |
case GL_R16F: |
case GL_R16UI: |
case GL_R16I: |
+ case 0x822A: // GL_R16_EXT |
*r = 16; |
break; |
case GL_R32F: |
@@ -1765,6 +1766,8 @@ uint32_t GLES2Util::ConvertToSizedFormat(uint32_t format, uint32_t type) { |
return GL_R16F; |
case GL_FLOAT: |
return GL_R32F; |
+ case GL_UNSIGNED_SHORT: |
+ return 0x822A; // GL_R16_EXT |
default: |
NOTREACHED(); |
break; |