mesa: change init subroutine defaults helper to work per gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 9 Jan 2017 05:13:28 +0000 (16:13 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 19 Jan 2017 04:55:02 +0000 (15:55 +1100)
commitaad93402c00ae90274d7abdbb64960d9ae40a0ce
tree7c597e71dab97a70c9c0fc3529039a65387172b6
parent90d950038f801551cc5b939ef31c379bccf96f5f
mesa: change init subroutine defaults helper to work per gl_program

A later patch will result in SSO programs calling this helper
per gl_program rather than per gl_shader_program.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/main/pipelineobj.c
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h