Browse Source

mesa: more shader debug code (disabled)

tags/mesa_7_6_rc1
Brian Paul 16 years ago
parent
commit
ccaa6463a7
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/mesa/shader/shader_api.c

+ 4
- 0
src/mesa/shader/shader_api.c View File

@@ -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…
Cancel
Save