projects
/
platform
/
upstream
/
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
e664650
..
7f5fce7
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;
}