mesa/sso: Implement _mesa_ActiveShaderProgram
authorGregory Hainaut <gregory.hainaut@gmail.com>
Fri, 28 Jun 2013 21:19:12 +0000 (14:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 21 Feb 2014 23:41:03 +0000 (15:41 -0800)
commitc171834b49fe0556559b3040e06ae5df8800c934
tree5dfaa045ceb8ce6751c23fad5d65a1211c4e7ca6
parente9ff3b9918b2e97ca7f46f5de8ed400bc2f7f7cb
mesa/sso: Implement _mesa_ActiveShaderProgram

This was originally included in another patch, but it was split out by
Ian Romanick.

v2 (idr): Return early from _mesa_ActiveShaderProgram if
_mesa_lookup_shader_program_err returns an error.  Suggested by Jordan.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> [v2]
src/mesa/main/pipelineobj.c