Module: Mesa Branch: master Commit: d1b4351e603522be11061522cb6b685da9ef1fee URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1b4351e603522be11061522cb6b685da9ef1fee
Author: Nicolai Hähnle <nhaeh...@gmail.com> Date: Sun Aug 30 18:51:29 2009 +0200 r300: Remove all Mesa dependencies from the shader compiler In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <nhaeh...@gmail.com> --- src/gallium/drivers/r300/Makefile | 4 +- src/gallium/drivers/r300/r300_tgsi_to_rc.c | 277 ++++++------ src/mesa/drivers/dri/r300/compiler/Makefile | 1 + src/mesa/drivers/dri/r300/compiler/r300_fragprog.c | 118 +++--- src/mesa/drivers/dri/r300/compiler/r300_fragprog.h | 5 +- .../drivers/dri/r300/compiler/r300_fragprog_emit.c | 96 ++-- .../dri/r300/compiler/r300_fragprog_swizzle.c | 84 ++-- .../dri/r300/compiler/r300_fragprog_swizzle.h | 11 +- src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 48 +- src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c | 321 ++++++------- src/mesa/drivers/dri/r300/compiler/r500_fragprog.c | 166 ++++--- src/mesa/drivers/dri/r300/compiler/r500_fragprog.h | 9 +- .../drivers/dri/r300/compiler/r500_fragprog_emit.c | 96 ++-- src/mesa/drivers/dri/r300/compiler/radeon_code.c | 14 +- src/mesa/drivers/dri/r300/compiler/radeon_code.h | 23 +- .../drivers/dri/r300/compiler/radeon_compiler.c | 92 ++-- .../drivers/dri/r300/compiler/radeon_compiler.h | 31 +- .../drivers/dri/r300/compiler/radeon_nqssadce.c | 159 +++---- .../drivers/dri/r300/compiler/radeon_nqssadce.h | 13 +- .../drivers/dri/r300/compiler/radeon_opcodes.c | 318 ++++++++++++ .../drivers/dri/r300/compiler/radeon_opcodes.h | 202 ++++++++ .../drivers/dri/r300/compiler/radeon_program.c | 203 +++++++- .../drivers/dri/r300/compiler/radeon_program.h | 230 ++++++++- .../drivers/dri/r300/compiler/radeon_program_alu.c | 521 ++++++++++---------- .../drivers/dri/r300/compiler/radeon_program_alu.h | 10 +- .../dri/r300/compiler/radeon_program_pair.c | 361 +++++++------- .../dri/r300/compiler/radeon_program_pair.h | 68 ++-- src/mesa/drivers/dri/r300/r300_fragprog_common.c | 4 +- src/mesa/drivers/dri/r300/radeon_mesa_to_rc.c | 143 ++++++- 29 files changed, 2268 insertions(+), 1360 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=d1b4351e603522be11061522cb6b685da9ef1fee _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit