projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba582e
)
main: GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH is about UBOS, not SSBOs
author
Iago Toral Quiroga
<itoral@igalia.com>
Fri, 16 Oct 2015 09:27:43 +0000
(11:27 +0200)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 19 Oct 2015 06:20:40 +0000
(08:20 +0200)
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 26995add38610e6b4ceeaaa38603c3f866ec33e8..18e463d4ccc394744da1bd5412f72b58d599098b 100644
(file)
--- a/
src/mesa/main/shaderapi.c
+++ b/
src/mesa/main/shaderapi.c
@@
-713,10
+713,10
@@
get_programiv(struct gl_context *ctx, GLuint program, GLenum pname,
if (!has_ubo)
break;
- for (i = 0; i < shProg->Num
BufferInterface
Blocks; i++) {
+ for (i = 0; i < shProg->Num
Uniform
Blocks; i++) {
/* Add one for the terminating NUL character.
*/
- const GLint len = strlen(shProg->
BufferInterfaceBlocks[i].
Name) + 1;
+ const GLint len = strlen(shProg->
UniformBlocks[i]->
Name) + 1;
if (len > max_len)
max_len = len;