Mesa (master): 24 new commits

Marek Olšák mareko at kemper.freedesktop.org
Sat Sep 4 17:11:16 UTC 2010


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=280665be7026c978acead9713c10271c36a571ee
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Sep 4 00:42:36 2010 +0200

    Revert "ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to a temp."
    
    This reverts commit 5ad74779cea07cc6a19a52874cdaef8b018e2f1b.
    
    Sorry, but I had to revert this.
    
    Any commit which needlessly increases the number of temporaries is wrong.
    More temporaries mean less shader performance because of reduced parallelism
    and therefore less efficient latency hiding. In this case, there is possible
    performance degradation of every shader which uses GL state variables.
    I cannot accept this.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbf7e827869baeddab19c249bcea7afe49bc0f74
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Sep 4 19:04:51 2010 +0200

    Revert "r300g: refuse to create a texture with size 0"
    
    This reverts commit 5cdedaaf295acae13ac10feeb3143d83bc53d314.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=30002
    
    Conflicts:
    
    	src/gallium/drivers/r300/r300_texture.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e6409619002120f5a1584eaf3bc37853f734f2f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Aug 31 05:37:28 2010 +0200

    r300g: remove unnecessary assignments

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58471c801a05e0e8783c798c4d9a4f18f67558b2
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Sep 4 00:02:57 2010 +0200

    r300/compiler: indent printed instructions according to the branch depth

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3ca8a4eddcecced82a41201cf59a732f0b8e18b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Sep 3 21:43:36 2010 +0200

    r300g: skip draw calls with no vertex elements, fixing hardlocks

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d774b0c710bb7d833d17bd12f5151a0176baad96
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Sep 3 20:43:48 2010 +0200

    r300/compiler: use limits from the compiler input instead of inline constants

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63943c8fcdc7dae4c059d364528b0a90b8c4041f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Sep 3 20:26:43 2010 +0200

    r300/compiler: improve register allocation with indexable temporaries for VS
    
    Register allocation can now reallocate temporaries right after the last indexed
    source operand, instead of being disabled for the whole shader.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33360a707e16c3349fde9dd43fee8e38bae9e7f0
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Sep 2 10:21:52 2010 +0200

    r300/compiler: fix handling of indexed temporaries in peephole

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa554d508b03ee54f2553200d0d43c78b3982e44
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Sep 2 10:21:23 2010 +0200

    r300/compiler: disable deadcode elimination for indexed dst operands

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f90c870304ad7222779c3e3bed0e2bbd4214d0cf
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Sep 2 07:01:36 2010 +0200

    r300/compiler: allocate at least FS inputs if register allocation is disabled

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfc461fca6ad5656f58c48803d13052537063316
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 08:12:51 2010 +0200

    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.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f4ceaa47695f9dc203c28b39d332eea8a115b2
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 08:10:32 2010 +0200

    r300/compiler: compute the final number of temporaries during translation
    
    And not during the register allocation, which may be skipped for debugging
    purposes. Also the predicate register is now added to the number of temps.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f46fd041369a1c2c188cbd65918c900900724d37
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 06:14:58 2010 +0200

    r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63eafaa8eca04b8b3b30926b5f406c321d757d1b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 05:25:34 2010 +0200

    r300/compiler: use peephole and constant folding for vertex shaders too

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5609ff0d7ffaf2822b65890ef248a969a82c41f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Sep 2 02:42:42 2010 +0200

    r300/compiler: remove unused enum OPCODE_REPL_ALPHA
    
    We use RC_OPCODE_REPL_ALPHA instead.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fba5f6bda76f5236f6f05aa81157a08949cde7c3
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 05:01:19 2010 +0200

    r300/compiler: refactor fragment shader compilation
    
    This cleans up the mess in r3xx_compile_fragment_program.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ba562e62af0db0318ecebb356d5a3c514f4d1c8
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 04:59:22 2010 +0200

    r300/compiler: add new compiler parameter max_constants

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b9f8361470564563dc54e6b13879e73182d353b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 03:19:05 2010 +0200

    r300/compiler: refactor vertex shader compilation
    
    First list compiler passes in an array, then run the new function rc_run_compiler.
    Every backend may need a different set of passes.
    This cleans up the mess in r3xx_compile_vertex_program.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a9aa7daa84341daae6a18dd6c13b958979d2343
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 01:55:26 2010 +0200

    r300/compiler: remove a redundant parameter in rc_pair_regalloc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0ae99252a5af8fbe425301b7ad1b174e7f47602
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 01:51:05 2010 +0200

    r300/compiler: remove a redundant parameter in rc_dataflow_deadcode
    
    &c->Base == c.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc8f2d559989f516a6896ac137c8a79c7a212fa5
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 01:10:26 2010 +0200

    r300/compiler: use null-terminated array of transformation functions
    
    I need to reduce the number of parameters of each compiler pass function.
    This is part of a larger cleanup.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56de72c78afdb14d842a8fabbe2613a4d5eebb8f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 00:59:52 2010 +0200

    r300g: only check for an empty shader if there are no compile errors

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=313e95f0c792580f6051fedb67e65838405c88f8
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Sep 1 00:56:57 2010 +0200

    r300/compiler: add new compiler parameter max_alu_insts

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0fb406d9fd2bcd040f70ba639cc8342c0a92c6d
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Aug 31 20:51:37 2010 +0200

    r300/compiler: put emulate_loop_state in radeon_compiler




More information about the mesa-commit mailing list