Mesa (master): 30 new commits

Maciej Cencora osiris at kemper.freedesktop.org
Mon Jul 13 18:30:01 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9226e3d6a68e5e079456c5e7ba2a79e00a33bb89
Merge: 0dc700850acb81c7088ab740959441521f8d38d9 582bd3466514b9fe24f18d99af2945f02709aacd
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jul 13 20:29:11 2009 +0200

    Merge branch 'shaders_cleanup'

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=582bd3466514b9fe24f18d99af2945f02709aacd
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 12 15:09:15 2009 +0200

    r300: always assume all components are read by fragment program
    
    Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors.
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f06910f6c34f199dc187bd69ff1f6889ba498217
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date:   Sun Jul 12 02:03:25 2009 +0000

    r300: Fix fogcoord rewriting
    
    We only care about the actual fogcoord itself now, reducing the rewriting
    done for the vertex program.
    
    The rewriting of source operand swizzles in the fragment program takes
    care that fogcoord.yzw = 001.
    
    This should fix fogcoord rewriting entirely, which had been horribly
    broken in the face of dot-product instructions, and just broken (though
    not horribly so) in the face of almost every other instruction (the W
    component would be incorrect for most arithmetic instructions).
    
    Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f5382819e31071c2af6cb39c1ca09bf3243f83f
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 19:10:58 2009 +0200

    r300: fix swizzle masking in getUsedComponents

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acd33600411102872af579edc4206b61eb51bb65
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:41:52 2009 +0200

    r300: minor fix
    
    Split initializations becase the vars are of different type.
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a5520fcd3842cc3198bff143d2af5c169eebc26
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:37:11 2009 +0200

    r300: move variables declarations

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3716eeb61b75dc661a1485f9bea9275a88a1d81
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:34:04 2009 +0200

    r300: document r300_vertex_program_cont structure
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0204ce456435f6ee38d8c14d25ae251940bf55f
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:26:23 2009 +0200

    r300: document r300_fragment_program_cont struct

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec854729d12a533ed00b9a9e6a5942aede2f5d1e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 16:16:11 2009 +0200

    r300: fix indentation
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48cc352a71c728e0ce092dd7d7ec0945db304907
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 15:53:01 2009 +0200

    r300: fix StrideB == 0 case when converting data format
    
    Reported-by: Nicolai Hähnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4eff323731b0d65e1f2817e96435807418d833cc
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 11 15:09:20 2009 +0200

    r300: hw can handle per component negations in vertex shaders
    
    Reported-by: Nicolai Haehnle <nhaehnle at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4efb9f053c84fbdced373cc62fe06b3158b59015
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 03:17:32 2009 +0200

    r300: fix WPOS for SWTCL

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdc8a95fc906dcc617995479fbffbf8fdd1f4e34
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 23:38:59 2009 +0200

    r300: removed unnecessary params
    
    We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65d9f23c7c3e99dfe038b1306f96930e1228de11
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:34:48 2009 +0200

    r300: use NQSSADCE for vertex programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70448b9f95b4ca56526458d207a28727f71e8d3c
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 16:52:48 2009 +0200

    r300: operate on copy of a program when pairing instructions
    
    We need to keep unpaired program for vertex program NQSSADCE.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12a6d73c7590c37ec8ae3f2c8c737791e4461d77
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jul 13 19:23:18 2009 +0200

    r300: handle relative addressing in NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96b2eb18c5059d441873bfa562bd2ff9dec46a51
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 15:22:22 2009 +0200

    r300: handle ARB_vertex_program specific instructions in NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e43cc28c1b6face903f3c977d6eb887335bec886
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 16:50:25 2009 +0200

    r300: move depth output rewrite out of NQSSADCE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79ef95df4f19124c24e59583bf9fb1e347d8f2b
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:32:51 2009 +0200

    r300: rewrite FOGC and HPOS attribs handling
    
    Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df5fe747fa08f63b949ba0fd6628060831b562ec
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sun Jul 5 02:03:32 2009 +0200

    r300: bind vertex program to fragment program

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1e4caa6e2b6a1e20feb97ae51703d5b4b18f70b
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 14:57:42 2009 +0200

    r300: recalculate used inputs and outputs after dead code removal

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7360f83364b407e949529eeca9f8c421d2da3ded
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 13:17:35 2009 +0200

    r300: move fragment program selection before vertex program selection
    
    Prepare for wpos and fogc handling rewrite.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37c319f62f59d7750dd172034e43dfd489f572cc
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Fri Jul 3 20:14:24 2009 +0200

    r300: implement proper IsProgramNative check for vertex programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce224c1f108e6c8131dfc953ef607689b83ae7e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Fri Jul 3 20:06:23 2009 +0200

    r300: don't modify original vertex program
    
    Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7829b7a1b85dd8e6c31189e7f3dec91d71d134c3
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 13:26:49 2009 +0200

    r300: cache translated fragment programs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28066ed012b51f2171866669a2972bc7ee293565
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Jul 4 12:56:31 2009 +0200

    r300: update state parameters only once per rendering operation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21db37d43245f97032fa21030279c3b47c901639
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Wed Jul 1 18:43:14 2009 +0200

    r300: translate non native insts earlier for easier debugging

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b411a72f3cc3be7ecf9f4676d9860b2b56f084e
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:52:39 2009 +0200

    r300: print vertex program after adding artificial output insts

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6899e080bbdb556926031345ef6a9fbe6d9ff2
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:48:35 2009 +0200

    r300: use mesa provided function for adding MVP code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b781ca2ce9cdf6c21eb5dda4709366b2581d17a
Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Mon Jun 29 21:39:59 2009 +0200

    r300: simplify insert_wpos a little




More information about the mesa-commit mailing list