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>2011-07-07 23:28:11 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 23:28:11 +0000
commit302ce6d93bce9050a23f3d02cf7c36d2a9d9a153 (patch)
tree29a7f80e9011493ba920f57124259c77efb66f88 /gpu/command_buffer/service/gles2_cmd_validation_autogen.h
parent53d887fe6cc732e8baf180e8d76b7d03b6425659 (diff)
downloadchromium_src-302ce6d93bce9050a23f3d02cf7c36d2a9d9a153.zip
chromium_src-302ce6d93bce9050a23f3d02cf7c36d2a9d9a153.tar.gz
chromium_src-302ce6d93bce9050a23f3d02cf7c36d2a9d9a153.tar.bz2
Correct reporting of compressed texture formats and shader binary formats
NOTE: There's an issue here that before this change the largest number of values returned by glGetXXX was 4 and now it's undefined. The issue will come up if there are ever more than 15 because the GLES2Implementation only currently handles 15. See GLES2Implementation::kMaxSizeOfSimpleResult. http://code.google.com/p/chromium/issues/detail?id=88227 TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/7304002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91781 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 fa02ff5..00e9ef9 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h
@@ -38,6 +38,7 @@ ValueValidator<GLenum> read_pixel_format;
ValueValidator<GLenum> render_buffer_format;
ValueValidator<GLenum> render_buffer_parameter;
ValueValidator<GLenum> render_buffer_target;
+ValueValidator<GLenum> shader_binary_format;
ValueValidator<GLenum> shader_parameter;
ValueValidator<GLenum> shader_precision;
ValueValidator<GLenum> shader_type;