mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
mesa: more shader debug code (disabled)
This commit is contained in:
parent
d5c2ad8514
commit
ccaa6463a7
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue