From: Brian Paul Date: Fri, 8 May 2009 18:17:11 +0000 (-0600) Subject: mesa: more shader debug code (disabled) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ccaa6463a7a327bb5fe122af41ea77e158439cce;p=mesa.git mesa: more shader debug code (disabled) --- diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index 8f414a08891..a8390d30942 100644 --- 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 {