Index: gpu/command_buffer/build_gles2_cmd_buffer.py |
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py |
index 76be4ff1ae35057472d44e0cb20f8ce975e7fb86..b82c649411b03ce2ade10b2a014606b51e3ea8ee 100755 |
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py |
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py |
@@ -1642,6 +1642,21 @@ _NAMED_TYPE_INFO = { |
'GL_DOUBLE', |
], |
}, |
+ 'VertexAttribIType': { |
+ 'type': 'GLenum', |
+ 'valid': [ |
+ 'GL_BYTE', |
+ 'GL_UNSIGNED_BYTE', |
+ 'GL_SHORT', |
+ 'GL_UNSIGNED_SHORT', |
+ 'GL_INT', |
+ 'GL_UNSIGNED_INT', |
+ ], |
+ 'invalid': [ |
+ 'GL_FLOAT', |
+ 'GL_DOUBLE', |
+ ], |
+ }, |
'TextureBorder': { |
'type': 'GLint', |
'is_complete': True, |
@@ -3256,7 +3271,7 @@ _FUNCTION_INFO = { |
'VertexAttribIPointer': { |
'type': 'Manual', |
'cmd_args': 'GLuint indx, GLintVertexAttribSize size, ' |
- 'GLenumVertexAttribType type, GLsizei stride, ' |
+ 'GLenumVertexAttribIType type, GLsizei stride, ' |
'GLuint offset', |
'client_test': False, |
'unsafe': True, |