projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c5fac
)
mesa: Add GetProgramiv support for GL_PROGRAM_BINARY_LENGTH
author
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 5 Dec 2012 02:29:24 +0000
(18:29 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Sat, 12 Jan 2013 02:13:53 +0000
(18:13 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index e664650c88d5ab919f4fdcc158c348d01f4a3f18..7f5fce796e5654da9c6aed609cf7c4a0809e5f64 100644
(file)
--- a/
src/mesa/main/shaderapi.c
+++ b/
src/mesa/main/shaderapi.c
@@
-595,6
+595,9
@@
get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *param
*params = shProg->BinaryRetreivableHint;
return;
+ case GL_PROGRAM_BINARY_LENGTH:
+ *params = 0;
+ return;
default:
break;
}