summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 02:00:26 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 02:00:26 +0000
commit9edc6b2c8f0e0992c2f17eb5434d7c3044baff19 (patch)
treeab01dd716b3d0f01675029635ffde9ff9f4d64d9 /gpu/command_buffer/service/gles2_cmd_validation_autogen.h
parentd5d9bf9b6414fecc6c9c764b05fb7f0f9a8c8745 (diff)
downloadchromium_src-9edc6b2c8f0e0992c2f17eb5434d7c3044baff19.zip
chromium_src-9edc6b2c8f0e0992c2f17eb5434d7c3044baff19.tar.gz
chromium_src-9edc6b2c8f0e0992c2f17eb5434d7c3044baff19.tar.bz2
Make CopyTexImage2D and CopyTexSubImage2D fail if
formats are incompatible. TEST=unit tests, more WebGL conformance tests pass. BUG=none Review URL: http://codereview.chromium.org/6028005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_validation_autogen.h')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation_autogen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
index 97084ee..c528c1b 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
@@ -52,6 +52,7 @@ ValueValidator<GLint> vertex_attrib_size;
ValueValidator<GLenum> vertex_attrib_type;
ValueValidator<GLenum> vertex_attribute;
ValueValidator<GLenum> vertex_pointer;
+ValueValidator<GLint> zero_only;
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_