r300g: add a new debug option which disables compiler optimizations
authorMarek Olšák <maraeo@gmail.com>
Wed, 1 Sep 2010 06:12:51 +0000 (08:12 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 4 Sep 2010 16:56:22 +0000 (18:56 +0200)
commitcfc461fca6ad5656f58c48803d13052537063316
treefbeb8c1e4420ecd197a1d3d9b355f17cd8f9a781
parentd2f4ceaa47695f9dc203c28b39d332eea8a115b2
r300g: add a new debug option which disables compiler optimizations

Those are:
- dead-code elimination
- constant folding
- peephole (mainly copy propagation)
- register allocation

There are some bugs which I need to track down.

Also fix up the descriptions of all the debug options.
src/gallium/drivers/r300/r300_debug.c
src/gallium/drivers/r300/r300_fs.c
src/gallium/drivers/r300/r300_screen.h
src/gallium/drivers/r300/r300_vs.c
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
src/mesa/drivers/dri/r300/r300_blit.c
src/mesa/drivers/dri/r300/r300_fragprog_common.c
src/mesa/drivers/dri/r300/r300_vertprog.c