r500: Add "Not quite SSA" and dead code elimination pass
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 6 Jul 2008 17:48:50 +0000 (19:48 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 12 Jul 2008 07:36:02 +0000 (09:36 +0200)
commitd8d086c20b5a43353c4980cf234d8329900585f5
tree6d88f83ba0763080a16c36a4e028e520a7d34848
parent7904c9fad4c2cb2a4153258a9e86e530a0330a78
r500: Add "Not quite SSA" and dead code elimination pass

In addition, this pass fixes non-native swizzles.
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/r300/r500_fragprog_emit.c
src/mesa/drivers/dri/r300/radeon_nqssadce.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/radeon_nqssadce.h [new file with mode: 0644]
src/mesa/shader/program.c
src/mesa/shader/program.h