mesa: Make link_program() take a gl_shader_program, not a GLuint.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Mar 2016 00:08:17 +0000 (17:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Mar 2016 06:57:11 +0000 (23:57 -0700)
commit7753657cf2cf3c1090186f9e33335a0417ce35fe
tree5fbacd2294834d9facabb2269908e260764a5cc3
parenta461e0003fdca564fa1ec7528c2463c50a797e85
mesa: Make link_program() take a gl_shader_program, not a GLuint.

In half the callers, we already have a pointer, and don't need
to look it up again.  This will also help with upcoming meta work.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/shaderapi.c