r300g: Actually mark shaders as translated/untranslated.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 23 Jul 2009 06:58:35 +0000 (23:58 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 23 Jul 2009 07:00:28 +0000 (00:00 -0700)
commit07961bb05e5ba05205b9f53834863664f1023870
tree9ac4af62bf551fdb8ce95060d7f1cd3058ece667
parent895c435defa83f49b2145f316a7d8d203b2fe374
r300g: Actually mark shaders as translated/untranslated.

Also trust that Gallium will not give us TGSI that miscounts shader consts.

This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
src/gallium/drivers/r300/r300_fs.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_vs.c