mesa: add geometry shader fields to gl_shader_program
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 21:34:58 +0000 (15:34 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 21:36:14 +0000 (15:36 -0600)
commitae8164a67b05cdc6d9b520b9704330537f3a6024
treeb523da694edbb1ab6f6ed43a685e56089e18909f
parentd981bde38472d8d3bb74dab67eccd7c82915a566
mesa: add geometry shader fields to gl_shader_program

These 3 fields are per shader-program.  Copy them into the geometry
program at link time for convenient access later.

Also, add some missing glGetProgramiv() queries.
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.c
src/mesa/slang/slang_link.c