Mesa (master): 22 new commits

Ben Skeggs darktama at kemper.freedesktop.org
Thu May 28 06:10:46 UTC 2009


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=534f1e8f022ea7408c2ad49013e8f2446aa16364
Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Thu May 28 15:47:54 2009 +1000

    nv50: some mipmapping fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c11c107f7d8f289f0cb83968c265fb78a274024a
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu May 28 00:17:14 2009 +0200

    nv50: negate sources directly where supported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87eea6e2b2df57bddb7155df794f02143e1ece40
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 16:14:37 2009 +0200

    nv50: introduce emit_cvt and use it
    
    This makes some code cleaner, and we can now easily
    do CEIL and TRUNC.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3accd7ebe971624bed5624f73ed3522c9de4c193
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 16:14:06 2009 +0200

    nv50: fix TXP
    
    For TXP we need to divide texture coords by their w component, or
    use the coords' 1/w in the perspective interpolation instruction.
    
    This also tries to support 1D, 3D and CUBE textures, and lets the
    instruction only load the components that are used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94ba165dffa4d364a1335d3cd7c15558bf35fe3e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 16:13:24 2009 +0200

    nv50: use multiple constant buffers
    
    Use different buffers for immds, FP params, and VP params.
    One has to map constant buffer indices in shader code to buffers
    defined via CB_DEF. In principle, we could use more buffers so
    we'd have to change the shader code less frequently.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9268ccd7f2ef2476db48f0aaca739bfb4ee9eab
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:17:03 2009 +0200

    nv50: don't look for unfreed temps in free_nv50_pc
    
    Since we stopped using alloc_temp to get hw indices for FP attrs
    there shouldn't be any non-deallocated temps left.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ab96f4f733437de693b9578c3649b56069e6f24
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:15:20 2009 +0200

    nv50: release hw TEMPs early
    
    Since we know when we don't use a TEMP or FP ATTR register anymore,
    we can release their hw resources early.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=708c711f8361ea82c1217e2614914ae047bc5bdf
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:12:04 2009 +0200

    nv50: allow immediates for MOV, ADD and MUL
    
    Immediates are inlined now where possible, so we need to set
    pc->allow32 to FALSE in LIT where we have the conditional MOV,
    since immediates swallow the predicate bits.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d015cba88f1ef217f6ef9d116ba6abb32e043baa
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:10:56 2009 +0200

    nv50: enable half insns for MOV and MUL

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44b3bfaa7599add72d76b3802ddea05b5b5c6316
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:10:01 2009 +0200

    nv50: make sure half-long insns are paired
    
    I chose to just convert unpaired 32 bit length instructions
    after parsing all instructions, although it might be possible
    to determine beforehand whether there would be any lone ones,
    and then even do some swapping to bring them together ...

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de651a228f9bbe5ab0e3b749b3dfda9aa5497097
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:05:55 2009 +0200

    nv50: enable KIL in register 19a8

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dac709d0cf3258ad8e131964e513c2eabe1d554e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:04:53 2009 +0200

    nv50: don't overwrite sources before they're used
    
    This would have happened in p.e. ADD TEMP[0], TEMP[0].xyxy, TEMP[1]
    or RCP/RSQ TEMP[i], TEMP[i].

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f579a99cc608eaba6f617c11ab0aec7f3e9ef953
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 15:01:36 2009 +0200

    nv50: put FP outputs where they belong
    
    Depth output in fragment programs should end up in the first
    register after the color outputs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd9ded42b9ff75aa0bbabef30d385a9f77851dce
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 14:56:48 2009 +0200

    nv50: modified FP attribute loading
    
    VP outputs that should be loadable in the FP are mapped to
    interpolant indices by HPOS, COL0 etc.; of course HPOS is
    always written, so the highest byte of 1988 is a bitmask that
    selects which components of HPOS are used for interpolants,
    i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e88ec312df000ac335d9bba6b75d836dfa1a1043
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 13:38:03 2009 +0200

    nv50: inspect decl semantic and interpolation mode
    
    Record interpolation mode for attributes while parsing declarations,
    and also remember the indices of FP color inputs and FP depth output,
    which has to end up in the highest output register.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcecb8ff66d2c002ac1273c0a9e9b2b9f9d3d43e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 13:32:51 2009 +0200

    nv50: record last access to temp and attr regs
    
    We now inspect the TGSI instructions in tx_prep to determine where
    temps and FP attrs are last accessed.
    This will enable us to reclaim some temporaries early and we also
    use it to omit pre-loading FP attributes that aren't used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e7d3a87ec60f8e412d724c6586461501d420ec0
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 12:25:32 2009 +0200

    nv50: save some space in immediate buffer
    
    We could do even better (like just allocating 1 value in alloc_immd),
    but that's fine for now I guess.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aad31d69ce9e2278d93e514b97e1a92a25f89826
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 12:24:33 2009 +0200

    nv50: fix SIGN_SET case in tgsi_src

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a7cf8f66ff5d7e15ae7f8f5542f27bc72c68709
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 12:22:30 2009 +0200

    nv50: set dst.z,w to 0,1 in SCS and XPD
    
    According to tgsi-instruction-set.txt, if they are written, z and w
    should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=229992d2812581ffae24d69a5a983d2c8441f720
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 12:21:54 2009 +0200

    nv50: make LRP instruction nicer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9417582f39788476e1039df3f1bdf681686fb7b4
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat May 23 12:21:27 2009 +0200

    nv50: fix some memory leaks in shader assembler

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65e3fb7b46cc9fc02ad12fe41e0c023c65ffe1e8
Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Thu May 28 10:25:44 2009 +1000

    nouveau: explicitly request mappable buffers for the moment




More information about the mesa-commit mailing list