mesa: Changes to 'master'

Nicolai Hähnle nh at kemper.freedesktop.org
Sat Jul 12 09:14:28 UTC 2008


The branch, master has been updated
        Commits at: http://cgit.freedesktop.org/mesa/mesa/log/?h=master

Summary of changes:
 src/mesa/drivers/dri/r300/Makefile              |    2 +
 src/mesa/drivers/dri/r300/r300_context.h        |    3 -
 src/mesa/drivers/dri/r300/r300_reg.h            |    1 +
 src/mesa/drivers/dri/r300/r500_fragprog.c       |   82 ++-
 src/mesa/drivers/dri/r300/r500_fragprog_emit.c  | 1073 ++++-------------------
 src/mesa/drivers/dri/r300/radeon_nqssadce.c     |  282 ++++++
 src/mesa/drivers/dri/r300/radeon_nqssadce.h     |   96 ++
 src/mesa/drivers/dri/r300/radeon_program.h      |    4 +
 src/mesa/drivers/dri/r300/radeon_program_alu.c  |   63 ++
 src/mesa/drivers/dri/r300/radeon_program_alu.h  |    5 +
 src/mesa/drivers/dri/r300/radeon_program_pair.c |  978 +++++++++++++++++++++
 src/mesa/drivers/dri/r300/radeon_program_pair.h |  126 +++
 src/mesa/shader/program.c                       |   61 ++-
 src/mesa/shader/program.h                       |   13 +-
 14 files changed, 1874 insertions(+), 915 deletions(-)
 create mode 100644 src/mesa/drivers/dri/r300/radeon_nqssadce.c
 create mode 100644 src/mesa/drivers/dri/r300/radeon_nqssadce.h
 create mode 100644 src/mesa/drivers/dri/r300/radeon_program_pair.c
 create mode 100644 src/mesa/drivers/dri/r300/radeon_program_pair.h

       via  8774fcd89acc9e180e0cb135bd62646f58cb623e (commit)
       via  11d711df360265f25dc5a96cc3a4c5a2d34f5b64 (commit)
       via  b6765c34993b08bba4acf20738c8938413ed4daf (commit)
       via  d8d086c20b5a43353c4980cf234d8329900585f5 (commit)
       via  7904c9fad4c2cb2a4153258a9e86e530a0330a78 (commit)
      from  b0ef353b4696672ecaea4b370b612bbb482880ca (commit)


- Commits -----------------------------------------------
commit 8774fcd89acc9e180e0cb135bd62646f58cb623e
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Jul 12 11:11:59 2008 +0200

    r300: Fix input register allocation in radeon_program_pair
    
    When an input is marked in gl_program.InputsRead but is not actually read
    in the final program (due to dead-code elimination or whatever), the order
    of input registers must still match gl_program.InputsRead. This is done
    even more explicitly now.

commit 11d711df360265f25dc5a96cc3a4c5a2d34f5b64
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Jul 12 01:19:19 2008 +0200

    r300: Explicitly set absolute value for the argument of RSQ
    
    This fixes the last r500 bug related to glean/fragProg1.

commit b6765c34993b08bba4acf20738c8938413ed4daf
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Jul 12 01:14:35 2008 +0200

    r500_fragprog: Major refactoring of final emit
    
    Use an abstracted instruction scheduling and register allocation algorithm
    that we will be able to share with r300_fragprog.
    
    Unlike the original emit code, this code tries to pair instructions that
    only use the RGB part of the ALU with instructions that only use the alpha
    part. However, the pairing algorithm still has some shortcomings;
    for example, it doesn't generate optimal code for the emulation of LIT.

commit d8d086c20b5a43353c4980cf234d8329900585f5
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Jul 6 19:48:50 2008 +0200

    r500: Add "Not quite SSA" and dead code elimination pass
    
    In addition, this pass fixes non-native swizzles.

commit 7904c9fad4c2cb2a4153258a9e86e530a0330a78
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Jul 6 16:58:51 2008 +0200

    r500_fragprog: Transform trigonometric functions in first pass

---------------------------------




More information about the mesa-commit mailing list