mesa/sso: Refactor implementation of _mesa_CreateShaderProgramEXT
authorGregory Hainaut <gregory.hainaut@gmail.com>
Fri, 28 Jun 2013 21:11:38 +0000 (14:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 21 Feb 2014 23:41:03 +0000 (15:41 -0800)
commit3659eade53848bcf76dec79170f2c3720fd02f7d
tree7181628474b30b1c2c3c71bbd3fcb6f9715d89df
parent8ed8592fd685727e568fc0d7f74b835efb03fbc4
mesa/sso: Refactor implementation of _mesa_CreateShaderProgramEXT

This will allow the guts of the implementation to be shared with
_mesa_CreateShaderProgramv.

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

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