mesa: Remove ad-hoc arrays of gl_shader_program.
authorPaul Berry <stereotype441@gmail.com>
Thu, 9 Jan 2014 19:32:00 +0000 (11:32 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 22 Jan 2014 04:25:47 +0000 (20:25 -0800)
commit5808c44bab52fdb58ad705e08e334c6f1acdd2ce
tree26e02e58181e89a512e5a5f8fc8423492c359e35
parent69b258cb4636315b4c1aaaceeedd1eed8af98ba8
mesa: Remove ad-hoc arrays of gl_shader_program.

Now that we have a ctx->Shader.CurrentProgram array, we can just use
it directly.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/context.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_program.c