summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index dd9bfab..8ff4959 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1494,8 +1494,11 @@ _FUNCTION_INFO = {
'decoder_func': 'DoTexParameteriv',
},
'TexSubImage2D': {
- 'type': 'Data',
- 'decoder_func': 'DoTexSubImage2D',
+ 'type': 'Manual',
+ 'immediate': True,
+ 'cmd_args': 'GLenum target, GLint level, GLint xoffset, GLint yoffset, '
+ 'GLsizei width, GLsizei height, GLenum format, GLenum type, '
+ 'const void* pixels, GLboolean internal'
},
'Uniform1f': {'type': 'PUTXn', 'data_type': 'GLfloat', 'count': 1},
'Uniform1fv': {