Clean-up and re-org of the main GLSL object types.
authorBrian <brian@yutani.localnet.net>
Wed, 20 Dec 2006 01:46:56 +0000 (18:46 -0700)
committerBrian <brian@yutani.localnet.net>
Wed, 20 Dec 2006 01:46:56 +0000 (18:46 -0700)
commit65a18442e5d846940714bb662f5b1bb47ab60c29
treedb8554850401753e441a8c49b815f48f7df5a150
parent0bf5dbe002a64e198f55724cc1542602c012490f
Clean-up and re-org of the main GLSL object types.

Use the gl_shader struct as it should be.
Renamed gl_linked_program to gl_shader_program.
Store both shaders and programs in the same hash table and use the Type field
to distinguish them.
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/shader/shader_api.c
src/mesa/shader/shader_api.h
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_compile.h
src/mesa/shader/slang/slang_link.h
src/mesa/shader/slang/slang_link2.c