projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c2ad8
)
mesa: more shader debug code (disabled)
author
Brian Paul
<brianp@vmware.com>
Fri, 8 May 2009 18:17:11 +0000
(12:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 8 May 2009 18:45:08 +0000
(12:45 -0600)
src/mesa/shader/shader_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/shader_api.c
b/src/mesa/shader/shader_api.c
index 8f414a088913095afbb0320d3c9e325a9a7140c6..a8390d30942796df7095d3cad392a05af6ad9391 100644
(file)
--- a/
src/mesa/shader/shader_api.c
+++ b/
src/mesa/shader/shader_api.c
@@
-1509,6
+1509,10
@@
_mesa_use_program(GLcontext *ctx, GLuint program)
shProg->Shaders[i]->Name,
shProg->Shaders[i]->Type);
}
+ if (shProg->VertexProgram)
+ printf(" vert prog %u\n", shProg->VertexProgram->Base.Id);
+ if (shProg->FragmentProgram)
+ printf(" frag prog %u\n", shProg->FragmentProgram->Base.Id);
}
}
else {