mesa/sso: Refactor new function _mesa_bind_pipeline
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 26 Mar 2014 01:19:42 +0000 (18:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 14:16:55 +0000 (07:16 -0700)
commit4a868a984d6ae73eb38a69b045b004663cdac20c
treea6c49adb38ad9325a24c01224a5c778f23574882
parent5998fd536a1bb1d13218c995aa69723c6767cf04
mesa/sso: Refactor new function _mesa_bind_pipeline

Pull most of the guts out of _mesa_BindPipeline into a new utility
function that can be use elsewhere (e.g., meta).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/pipelineobj.c
src/mesa/main/pipelineobj.h