Mesa (master): r300g: copy the compiler from r300c
Marek Olšák
mareko at kemper.freedesktop.org
Tue Jul 26 20:44:46 UTC 2011
Module: Mesa
Branch: master
Commit: 1c2c4ddbd1e97bfd13430521e5c09cb5ce8e36e6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c2c4ddbd1e97bfd13430521e5c09cb5ce8e36e6
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Jul 26 21:15:05 2011 +0200
r300g: copy the compiler from r300c
What a beast.
r300g doesn't depend on files from r300c anymore, so r300c is now left
to its own fate. BTW 'make test' can be invoked from the gallium/r300
directory to run some compiler unit tests.
---
src/gallium/drivers/r300/Makefile | 54 +-
src/gallium/drivers/r300/SConscript | 42 +-
src/gallium/drivers/r300/compiler/memory_pool.c | 97 ++
src/gallium/drivers/r300/compiler/memory_pool.h | 80 ++
src/gallium/drivers/r300/compiler/r300_fragprog.c | 338 ++++++
src/gallium/drivers/r300/compiler/r300_fragprog.h | 44 +
.../drivers/r300/compiler/r300_fragprog_emit.c | 536 +++++++++
.../drivers/r300/compiler/r300_fragprog_swizzle.c | 243 ++++
.../drivers/r300/compiler/r300_fragprog_swizzle.h | 39 +
src/gallium/drivers/r300/compiler/r3xx_fragprog.c | 172 +++
src/gallium/drivers/r300/compiler/r3xx_vertprog.c | 1045 ++++++++++++++++++
.../drivers/r300/compiler/r3xx_vertprog_dump.c | 207 ++++
src/gallium/drivers/r300/compiler/r500_fragprog.c | 539 +++++++++
src/gallium/drivers/r300/compiler/r500_fragprog.h | 50 +
.../drivers/r300/compiler/r500_fragprog_emit.c | 678 ++++++++++++
src/gallium/drivers/r300/compiler/radeon_code.c | 187 ++++
src/gallium/drivers/r300/compiler/radeon_code.h | 306 ++++++
.../drivers/r300/compiler/radeon_compiler.c | 489 +++++++++
.../drivers/r300/compiler/radeon_compiler.h | 171 +++
.../drivers/r300/compiler/radeon_compiler_util.c | 701 ++++++++++++
.../drivers/r300/compiler/radeon_compiler_util.h | 89 ++
.../drivers/r300/compiler/radeon_dataflow.c | 892 +++++++++++++++
.../drivers/r300/compiler/radeon_dataflow.h | 134 +++
.../r300/compiler/radeon_dataflow_deadcode.c | 359 ++++++
.../r300/compiler/radeon_dataflow_swizzles.c | 103 ++
.../r300/compiler/radeon_emulate_branches.c | 342 ++++++
.../r300/compiler/radeon_emulate_branches.h | 30 +
.../drivers/r300/compiler/radeon_emulate_loops.c | 522 +++++++++
.../drivers/r300/compiler/radeon_emulate_loops.h | 32 +
src/gallium/drivers/r300/compiler/radeon_list.c | 90 ++
src/gallium/drivers/r300/compiler/radeon_list.h | 46 +
src/gallium/drivers/r300/compiler/radeon_opcodes.c | 546 +++++++++
src/gallium/drivers/r300/compiler/radeon_opcodes.h | 263 +++++
.../drivers/r300/compiler/radeon_optimize.c | 700 ++++++++++++
.../r300/compiler/radeon_pair_dead_sources.c | 62 ++
.../drivers/r300/compiler/radeon_pair_regalloc.c | 706 ++++++++++++
.../drivers/r300/compiler/radeon_pair_schedule.c | 1010 +++++++++++++++++
.../drivers/r300/compiler/radeon_pair_translate.c | 359 ++++++
src/gallium/drivers/r300/compiler/radeon_program.c | 225 ++++
src/gallium/drivers/r300/compiler/radeon_program.h | 206 ++++
.../drivers/r300/compiler/radeon_program_alu.c | 1154 ++++++++++++++++++++
.../drivers/r300/compiler/radeon_program_alu.h | 66 ++
.../r300/compiler/radeon_program_constants.h | 190 ++++
.../drivers/r300/compiler/radeon_program_pair.c | 239 ++++
.../drivers/r300/compiler/radeon_program_pair.h | 137 +++
.../drivers/r300/compiler/radeon_program_print.c | 418 +++++++
.../drivers/r300/compiler/radeon_program_tex.c | 528 +++++++++
.../drivers/r300/compiler/radeon_program_tex.h | 39 +
.../r300/compiler/radeon_remove_constants.c | 150 +++
.../r300/compiler/radeon_remove_constants.h | 35 +
.../drivers/r300/compiler/radeon_rename_regs.c | 92 ++
.../drivers/r300/compiler/radeon_rename_regs.h | 9 +
src/gallium/drivers/r300/compiler/radeon_swizzle.h | 57 +
.../drivers/r300/compiler/radeon_variable.c | 517 +++++++++
.../drivers/r300/compiler/radeon_variable.h | 89 ++
src/gallium/drivers/r300/compiler/tests/.gitignore | 1 +
src/gallium/drivers/r300/compiler/tests/Makefile | 53 +
.../compiler/tests/radeon_compiler_util_tests.c | 76 ++
.../drivers/r300/compiler/tests/rc_test_helpers.c | 380 +++++++
.../drivers/r300/compiler/tests/rc_test_helpers.h | 13 +
.../drivers/r300/compiler/tests/unit_test.c | 35 +
.../drivers/r300/compiler/tests/unit_test.h | 17 +
src/gallium/drivers/r300/r300_emit.h | 1 -
src/gallium/drivers/r300/r300_fs.c | 3 +-
src/gallium/drivers/r300/r300_fs.h | 2 +-
src/gallium/drivers/r300/r300_reg.h | 21 +-
src/gallium/drivers/r300/r300_tgsi_to_rc.c | 3 +-
src/gallium/drivers/r300/r300_vs.c | 2 +-
src/gallium/drivers/r300/r300_vs.h | 2 +-
69 files changed, 17038 insertions(+), 25 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=1c2c4ddbd1e97bfd13430521e5c09cb5ce8e36e6
More information about the mesa-commit
mailing list