mesa/glsl: move ProgramResourceList to gl_shader_program_data
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 10 Nov 2016 08:46:11 +0000 (19:46 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 19 Jan 2017 04:55:02 +0000 (15:55 +1100)
commit90d950038f801551cc5b939ef31c379bccf96f5f
treebf03d13a1e15f49de1fdf31bc1341f586f31a2f0
parent62f718bfcb75ab6f8e7276d1acdea767e55feac9
mesa/glsl: move ProgramResourceList to gl_shader_program_data

We also move NumProgramResourceList at the same time.

GLES does interface validation on SSO at runtime so we need to move
this to be able to switch to storing gl_program pointers in
CurrentProgram.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/glsl/linker.cpp
src/mesa/main/mtypes.h
src/mesa/main/program_resource.c
src/mesa/main/shader_query.cpp
src/mesa/main/shaderobj.c