mesa: Make compile_shader() take a gl_shader, not a GLuint.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Mar 2016 17:24:09 +0000 (10:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Mar 2016 06:57:11 +0000 (23:57 -0700)
commita461e0003fdca564fa1ec7528c2463c50a797e85
tree1c5cb5f6e11a3ad8778f60bdb55257575f2635f1
parenta7e9b31d5bf98bdaabbb8b5c2459eb2c3a0af579
mesa: Make compile_shader() take a gl_shader, 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