Implement vertex attribute binding.
authorBrian <brian@yutani.localnet.net>
Wed, 10 Jan 2007 00:49:24 +0000 (17:49 -0700)
committerBrian <brian@yutani.localnet.net>
Wed, 10 Jan 2007 00:49:24 +0000 (17:49 -0700)
commit3209c3ed0d82c158eed1020759aacf51ba1c1ad5
treea2dad53d32547ef01b36fd9296dc4f68e52292f8
parent5e75db12d7b17f0295e8099bd357220df97d5013
Implement vertex attribute binding.

Users can set explicit binding with glBindAttribLocation(), otherwise the
linker will allocate generic attribute slots.
src/mesa/main/mtypes.h
src/mesa/shader/prog_parameter.c
src/mesa/shader/prog_parameter.h
src/mesa/shader/prog_statevars.h
src/mesa/shader/program.c
src/mesa/shader/shader_api.c
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_link.h
src/mesa/shader/slang/slang_link2.c