diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 00:49:13 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-21 00:49:13 +0000 |
commit | a0c3e97d31ec8cad60f4ae355c36032a58cb8f64 (patch) | |
tree | 628d4c2ff01edd2b125a307513c39b95a50a43da /gpu/command_buffer/build_gles2_cmd_buffer.py | |
parent | 15406b6ab2f2c701d6e82c8e53c22d1c570c739a (diff) | |
download | chromium_src-a0c3e97d31ec8cad60f4ae355c36032a58cb8f64.zip chromium_src-a0c3e97d31ec8cad60f4ae355c36032a58cb8f64.tar.gz chromium_src-a0c3e97d31ec8cad60f4ae355c36032a58cb8f64.tar.bz2 |
Some GL drivers incorrectly return "gl_DepthRange.far" as
a uniform when querying the uniforms. This CL checks for
that condition and hides that from the client programs.
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/1700002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-x | gpu/command_buffer/build_gles2_cmd_buffer.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py index 7b9c86e..b2782cb 100755 --- a/gpu/command_buffer/build_gles2_cmd_buffer.py +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py @@ -1120,7 +1120,11 @@ _FUNCTION_INFO = { 'result': ['GLuint'], 'unit_test': False, }, - 'GetProgramiv': {'type': 'GETn', 'result': ['SizedResult<GLint>']}, + 'GetProgramiv': { + 'type': 'GETn', + 'decoder_func': 'DoGetProgramiv', + 'result': ['SizedResult<GLint>'], + }, 'GetProgramInfoLog': { 'type': 'STRn', 'get_len_func': 'glGetProgramiv', |