r300_fragprog: Use nqssa+dce and program_pair for emit
authorNicolai Haehnle <nhaehnle@gmail.com>
Sat, 12 Jul 2008 19:13:03 +0000 (21:13 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 12 Jul 2008 19:16:16 +0000 (21:16 +0200)
commite81ba58bf4c20229677cdf89b5970b55cefb2199
treee3a34f2db1ee2e0feb10c76c05f3f6f6cf4b50ed
parent3b8081603bf846285e56a6ecafaf182935fd8733
r300_fragprog: Use nqssa+dce and program_pair for emit

Share almost all code with r500_fragprog now.

This also fixes Piglit's texrect-many test, which means that the compiz
bicubic plugin should work with hardware acceleration now.
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_fragprog.h
src/mesa/drivers/dri/r300/r300_fragprog_emit.c
src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_fragprog_swizzle.h [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r500_fragprog.h
src/mesa/drivers/dri/r300/radeon_program_pair.c
src/mesa/drivers/dri/r300/radeon_program_pair.h