r300/fragprog: Move some of the attribute handling out of the compiler
authorNicolai Hähnle <nhaehnle@gmail.com>
Fri, 24 Jul 2009 23:19:04 +0000 (01:19 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Mon, 27 Jul 2009 20:51:38 +0000 (22:51 +0200)
commit836050ba5eb9690e4a64499249eb71af14961deb
tree0ea96ed3b4c24552a29d269d34e4b95088e5f296
parent1348a7ebc0524276f2bd53086f13d2c263134db7
r300/fragprog: Move some of the attribute handling out of the compiler

Attribute indices will probably be different in Gallium, so make the compiler
independent of magic values.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c
src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
src/mesa/drivers/dri/r300/r300_fragprog_common.c