mesa/sso: Implement _mesa_BindProgramPipeline
authorGregory Hainaut <gregory.hainaut@gmail.com>
Fri, 3 May 2013 17:44:13 +0000 (19:44 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 25 Mar 2014 17:25:25 +0000 (10:25 -0700)
commit9e9fac4714791c2a76728d66243380017273b5f3
treef9671d3dfe3b96bcc5ac57382769fb6c3f337278
parent78578b759943cb198d34eedc00b3408c1599f6ec
mesa/sso: Implement _mesa_BindProgramPipeline

Test become green in piglit:

The updated ext_transform_feedback-api-errors:useprogstage_noactive useprogstage_active bind_pipeline
arb_separate_shader_object-GetProgramPipelineiv
arb_separate_shader_object-IsProgramPipeline

For the moment I reuse Driver.UseProgram but I guess it will be better
to create a UseProgramStages functions. Opinion is welcome

V2: formatting & rename

V3 (idr):
* Change spec references to core OpenGL versions instead of issues in the
  extension spec.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/pipelineobj.c