Mesa (10.6): 31 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Wed May 27 12:12:47 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffd133bdbe4560f3a70aa76b7a6cbedc23e554ed
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed May 27 12:39:19 2015 +0100

    Increment version to 10.6.0-rc2
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77b116f1d3c2f0df1a1bb040bad592d2ec2749d9
Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 15 09:08:14 2015 -0600

    mesa: do not use _glapi_new_nop_table() for DRI builds
    
    Commit 4bdbb588a9d38 introduced new _glapi_new_nop_table() and
    _glapi_set_nop_handler() functions in the glapi dispatcher (which
    live in libGL.so).  The calls to those functions from context.c
    would be undefined (i.e. an ABI break) if the libGL used at runtime
    was older.
    
    For the time being, use the old single generic_nop() function for
    non-Windows builds to avoid this problem.  At some point in the future
    it should be safe to remove this work-around.  See comments for more
    details.
    
    v2: Incorporate feedback from Emil.  Use _WIN32 instead of
    GLX_DIRECT_RENDERING to control behavior, move comments.
    
    Cc: 10.6 <mesa-stable at lists.freedesktop.org>
    Reviewed-and-tested-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit be71bbfaa2ad201b570b56847a13328fc359d0ee)
    
    Squashed with commit
    
    glapi: Encapsulate nop table knowledge in new _mesa_new_nop_table function
    
    Encapsulate the knowledge about how to build the nop table in a new
    _mesa_new_nop_table function.  This makes it easier for dispatch_sanity
    to keep working now and in the future.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Tested-by: Mark Janes <mark.a.janes at intel.com>
    Cc: 10.6 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 2b8c51834bcc34a70dec9b470a28c0ef972d6993)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eef92e336346b677ddf341331503f815e0dfbd5
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon May 18 14:56:34 2015 +0200

    radeonsi: fix scratch buffer setup for geometry shaders
    
    Cc: 10.6 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit fa7f606e89dc4447f07fec0b84d396a4ff25ee7e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=317fa3e7eff892bf5406eda1a285df35d2757a3b
Author: Koop Mast <kwm at rainbow-runner.nl>
Date:   Tue May 26 10:24:40 2015 +0200

    clover: Build fix for FreeBSD.
    
    Cc: 10.6 10.5 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 967825d053f71c5f5fc3ba31eabc0c6004fde4f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=580351d3d31c588fb151e887ca33d9caeb357287
Author: Neil Roberts <neil at linux.intel.com>
Date:   Wed May 20 19:26:02 2015 +0100

    i965/skl: Add a message header for the TXF_MCS instruction in vec4vs
    
    When using SIMD4x2 on Skylake, the sampler instructions need a message
    header to select the correct mode. This was added for most sample
    instructions in 0ac4c2727 but the TXF_MCS instruction is emitted
    separately and it was missed.
    
    This fixes a bunch of Piglit tests which test texelFetch in a geometry
    shader, for example:
    
     spec/arb_texture_multisample/texelfetch/2-gs-sampler2dms
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 5ae6c7bfce5c9fb91ab6cef2ea74a39af091d5f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=534f5e8d802c5bac7349152128931228c78bf1ef
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon May 25 17:46:45 2015 -0400

    nv30: falling back to draw path for edgeflag does no good
    
    The problem is that the EDGEFLAG has to be toggled at vertex submission
    time. This can be done from either the draw or the regular paths. Avoid
    falling back to draw just because there's an edgeflag.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 3ec18152858fd9aadb398d78d5ad2d2b938507c1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74e2db8a9202acc7ed38a31fe0a3453ec3a7a1dd
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 23 22:11:38 2015 -0400

    nv30/draw: switch varying hookup logic to know about texcoords
    
    Commit 8acaf862dfe switched things over to use TEXCOORD instead of
    GENERIC, but did not update the nv30 swtnl draw paths. This teaches the
    draw logic about TEXCOORD.
    
    Among other things, this fixes a crash in demos/arbocclude when using
    swtnl. Curiously enough, the point-sprite piglit works without this.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 25be70462dbb7ee994e69ffccc3de94e4114e667)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c288bf3b89dfd510dec7b1481dfb5ae339301ae3
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon May 25 21:14:13 2015 -0400

    nv30/draw: allocate vertex buffers in gart
    
    These are only used once per draw, so it makes sense to keep them in
    GART. Also take this opportunity to modernize the buffer mapping API
    usage.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Ben Skeggs <bskeggs at redhat.com>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit c3d36a2e1a87a4aded662db7a5d320ee7ac3a8b5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18e05588dfe8d56fc78aa4e8bbae6dab95fe1faa
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon May 25 21:12:46 2015 -0400

    nv30/draw: only use the DMA1 object (GART) if the bo is not in VRAM
    
    Instead of always having it in the data, let the bo placement decide it.
    This fixes glxgears with swtnl forced on.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Ben Skeggs <bskeggs at redhat.com>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit fdad7dfbdae07b9273fc8f57e63258dbe542c9b5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=407e20d45d09b5e170aced7e78d61914cecca5cd
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon May 25 20:15:09 2015 -0400

    nv30/draw: fix indexed draws with swtnl path and a resource index buffer
    
    The map = assignment was missing.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 3600439897c79d37c3c654546867ddfa0c420743)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eef18390d540d679aaeb664fdb2deb7d56e74ae
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 17 17:56:44 2015 -0400

    glsl: avoid leaking linked gl_shader when there's a late linker error
    
    This makes piglit mixing-clip-distance-and-clip-vertex-disallowed have 0
    definitely lost blocks with valgrind. (Same non-0 number of possibly
    lost blocks though.)
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 5646f0f18a620292524eebcd77353ff3d3687eb2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ff020aeac214976bdc152dc5009be9534c6ed7
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Mon May 25 22:24:05 2015 +0200

    llvmpipe: (trivial) add parantheses in (!x == y) expression
    
    Apparently some compilers think we probably wanted to do !(x == y) instead
    and issue a warning, so just shut it up... No functional change, obviously.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 6a111e54d7578abee6bce4a75ce1399ed369ab5f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fc109160efa8ff018081f3331dd4215a6e66a9f
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 17 17:32:24 2015 -0400

    st/mesa: don't leak glsl_to_tgsi object on link failure
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit bb973723a5e1f27817b6be2c2fa4fb3ea28e733c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb0c057a3135b4e6c0b6921df7bc7b29dea3315d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon May 25 14:06:01 2015 -0400

    nv30/draw: draw expects constbuf size in bytes, not vec4 units
    
    This fixes glxgears with NV30_SWTNL=1 forced on. Probably fixes a bunch
    of other situations where we fall back to the swtnl path.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 147816375d22a653176ab28ed650fa811ceea83f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60294f8c39191374631b574b97ebe46b6afe2a44
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 24 11:56:21 2015 -0400

    nv30/draw: avoid leaving stale pointers in draw state
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 89585edf3c01c94b62d163adf0209568efa68568)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6319fd51fe56a17fbae78bfd64c7875c69c12231
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 23 20:58:53 2015 -0400

    nv30: fix clip plane uploads and enable changes
    
    nv30_validate_clip depends on the rasterizer state. Also we should
    upload all the new clip planes on change since next time the plane data
    won't have changed, but the enables might.
    
    This fixes fixed-clip-enables and vs-clip-vertex-enables shader tests.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7518fc3c66e9b5703b987bccca7970a344deadfa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08baacb6db3b38d241f7abc7c853c219cf5d876d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 24 02:23:16 2015 -0400

    nv30: avoid leaking render state and draw shaders
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9870ed05dd333a20662479b9b1e3a8db542924c4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23bbfc007ef2bda14bbcbd99f69fc7b42547062
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 24 01:31:11 2015 -0400

    nv30: don't leak fragprog consts
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 605ce36d7f4a90c4062d6940bea82ab483bbe3b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa326e4e223f060c0e96a40bb633d955dc010c7c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 23 01:57:41 2015 -0400

    nv50/ir: avoid messing up arg1 of PFETCH
    
    There can be scenarios where the "indirect" arg of a PFETCH becomes
    known, and so the code will attempt to propagate it. Use this
    opportunity to just fold it into the first argument, and prevent the
    load propagation pass from touching PFETCH further.
    
    This fixes gs-input-array-vec4-index-rd.shader_test and
    vs-output-array-vec4-index-wr-before-gs.shader_test on nvc0 at least.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit fa7f9f123b70f313d3c073b52c9c16b4b8df28f8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1595955974976a68eda47d56bdde0110c21f2252
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 23 17:35:42 2015 -0400

    nvc0: a geometry shader can have up to 1024 vertices output
    
    The 1024 is already reported everywhere, not sure where this 0x1ff came
    from.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 921917c8d8e707dd854e7be05fba7a3e55bc71bf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a760db21ecd78051a37429d9d67e9301047d3435
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue May 19 17:35:29 2015 -0700

    i965/fs: Fix implied_mrf_writes for scratch writes
    
    We build the entire message in the generator so all the MRF writes are
    implied.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 6ca67f62e885f0e42c0cef2db5c0ae837adfe646)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cf0e748c3558a2013a39004f2d2f2d19b6b50cb
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri May 22 19:03:58 2015 -0400

    nvc0/ir: LOAD's can't be used for shader inputs
    
    We forgot to convert to VFETCH in case of indirect access. Fix that.
    
    This avoids crashes on the new gs-input-array-vec4-index-rd and
    vs-output-array-vec4-index-wr-before-gs but they still fail.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 217301843aea0299ab245e260b20af7ad250e9d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=564c56de12e9c140082da5afed7169525a5b2950
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri May 22 19:02:41 2015 -0400

    nv50/ir: guess that the constant offset is the starting slot of array
    
    When we get something like IN[ADDR[0].x+5], we will now guess that we
    should look at IN[5] for the "base" information.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 0bab3962f5f313ea829c95920c02f32afb23715d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45986bd391e6ebc1bdb72c0a81a10ec363369ad0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri May 22 16:40:08 2015 -0400

    nvc0/ir: set ftz when sources are floats, not just destinations
    
    In the case of a compare, the destination might be a predicate, but we
    still want to flush denorms.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d1eea18a595a468dbc2267a8d14197a3b1a5a4b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90644f9217b66539b52635475eb8c1367f551c05
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May 21 11:23:06 2015 +1000

    u_math: uses assert, include assert.h
    
    this fixes a build problem found on RHEL s390.
    
    not sure what configure options caused it, I couldn't get it on
    x86 here.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Cc: "10.6" mesa-stable at lists.freedesktop.org
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 7c1a00174b2bec102030b19b6094ebcab23fe04d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61c6819d1aeb24589ffdf671ace1547388c09394
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed May 20 04:00:16 2015 -0400

    freedreno/a3xx: set .zw of sprite coords to .01
    
    Fixes non-determinism in bin/point-sprite rendering, and the stars on
    the intro screen to neverball.
    
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 6cdb29d52fc51e3d904b50bb7003c9fa38bb7896)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf33fc653dca329ba6bc72ce6d76c6bc554e1837
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Apr 27 23:47:40 2015 -0400

    freedreno/ir3: fix immediate usage in tgsi tex fe
    
    get_immediate will return a const reference, the requested immediate
    isn't necessarily in the x slot. Make sure to use the swizzle.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 3e7bc6728520b469ed53a2588ead28287f8b88f0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4f74121dbe481f7df54d7703e8a260807df1b8f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed May 20 21:51:52 2015 +0100

    targets/osmesa: drop the -module tag from LDFLAGS
    
    Gallium equivalent of commit 06ff751f97f(darwin: Fix install name of
    libOSMesa)
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit 36438f0db6c7c696df73ced12684f4df9d2b47e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62fda88080f157215a9ff1c006969a501a183a96
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Wed Feb 11 02:32:33 2015 -0800

    darwin: Fix install name of libOSMesa
    
    Passing -module to glibtool causes the resulting library to be called
    libSomething.so rather than libSomething.dylib on darwin.
    
    Regardless if libOSMesa is a library or a module, it has been used as
    the former for quite some time. Update the build to reflect that and
    resolve the naming issue.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
    [Emil Velikov: Tweak the commit message.]
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    
    (cherry picked from commit 06ff751f97fbeb62a23936cd8f9c54733920d082)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c83138e5f67cee2016dbfbc9b6daf79260b279b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri May 15 19:05:45 2015 -0700

    swrast: Build fix for Solaris
    
    Fixes regression from commit 5b2d3480f57168d50ad24cf0b8c9244414bd3701
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
    (cherry picked from commit 31cd2d75dc3844e40143f649fe383de17c152a13)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f02f25dcf7b146808daf9892580bc918f7c44624
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon May 18 11:26:10 2015 +0200

    cso: add context cleanup code from st/mesa
    
    This fixes a crash in nouveau which can't handle
    set_constant_buffer(PIPE_SHADER_TESS_*).
    
    Cc: 10.6 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit e4201bb618f02a279fda59a1c528d7218e6900a5)




More information about the mesa-commit mailing list