Mesa (10.6): 21 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Thu Jun 25 17:40:39 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da588875ce25e339d72b45b5cd60b39c96a5bd62
Author: Boyan Ding <boyan.j.ding at gmail.com>
Date:   Sat Jun 13 15:33:20 2015 +0800

    egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals
    
    The call to dri2_x11_add_configs_for_visuals (previously
    dri2_add_configs_for_visuals) was moved downwards in commit f8c5b8a1,
    but appeared again in its original position after its rename in
    d019cd81. Remove it.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Boyan Ding <boyan.j.ding at gmail.com>
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at intel.com>
    (cherry picked from commit 3fa9bb81ec8b21f472de32e08d0caf917239da08)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=684c81a75fba70cafef8583a031e3d2af55bb429
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Jun 21 19:03:35 2015 -0400

    nv50,nvc0: make sure to pushbuf_refn before putting bo into pushbuf_data
    
    Without first running the bo through pushbuf_refn, the nouveau drm
    library will have uninitialized structures regarding this bo, and will
    insert incorrect data.
    
    This fixes supertuxkart 0.9 crash on start (where it ends up doing a lot
    of indirect draws).
    
    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 78d58e642549fbf340fdb4fca06720d2891216a8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ffa1f7a1b938d6103f97d064a7443ae03d9a9d9
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Jun 21 15:00:16 2015 -0400

    nvc0: always put all tfb bufs into bufctx
    
    Since we clear the TFB bufctx binding point above, we need to put all of
    the active tfb's back in, even if they haven't changed since last time.
    Otherwise the tfb may get moved into sysmem and the underlying mapping
    will generate write errors.
    
    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 9fcbf515b431a92e0289f234ab77a796cf2a5612)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4dc2a5e2c0ccbd0cc30c9cdf205775b2cb690a8
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Jun 23 00:16:59 2015 -0400

    glsl: binding point is a texture unit, which is a combined space
    
    This fixes compilation failures in Dota 2 Reborn where a texture unit
    binding point was used that was numerically higher than the max
    per stage.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
    Tested-by: Nick Sarnie <commendsarnex at gmail.com>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit fccf012adc0d3aad877de095244324aa1d2d046a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d93677eb48d5205fb495399291a2a0defb22a804
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Jun 19 19:22:38 2015 +0100

    gbm: do not (over)link against libglapi.so
    
    The whole of GBM does not rely on even a single symbol from the GL
    dispatch library, unsuprisingly. The only need for it comes from the
    unresolved symbols in the DRI modules, which are now correctly handled
    with Frank's commit.
    
    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 a0dc6b7824d3b9095919e29393a379ea7f9c1318)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0db9835d3ba3f84f601e7a60e1f1590400788b36
Author: Frank Henigman <fjhenigman at chromium.org>
Date:   Thu Nov 6 16:29:26 2014 -0500

    gbm: dlopen libglapi so gbm_create_device works
    
    Dri driver libs are not linked to pull in libglapi so gbm_create_device()
    fails when it tries to dlopen them (unless the application is linked
    with something that does pull in libglapi, like libGL).
    Until dri drivers can be fixed properly, dlopen libglapi before trying
    to dlopen them.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Frank Henigman <fjhenigman at google.com>
    [Emil Velikov: Drop misleading bugzilla link, mention that libname differs]
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    
    (cherry picked from commit 828f13330c9384f2b55c8b0f962d93a74ecd0601)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca079a77f92b8d60aa17a611ad93c92e840ed09f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Jun 19 17:46:41 2015 +0100

    configure: error out when building libEGL without shared-glapi
    
    The latter is a hard requirement and without it we'll error out later
    on in the build.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 994be5143a097ae2cf504ba344362edfee388ac3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ba9c030ad4d7264a160412a422f7b2cade331e0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Jun 19 17:44:02 2015 +0100

    configure: error out when building backend-less libEGL
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit ddc886b5bfe5976fa2e5f49eeefa918736f1aa97)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c96d9c23717564d5a898c7c17a42514507a28b8c
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Jun 19 17:19:46 2015 +0100

    configure: warn about shared_glapi & xlib-glx only when both are set
    
    Printing out the message when shared_glapi is disabled only leads to
    confusion.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit 6d744aaf4e427b6b0b3d8d35d756592a50abbb97)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f036512122428b65fdfa4ba3aacf8baefa675104
Author: Ben Widawsky <benjamin.widawsky at intel.com>
Date:   Wed Jun 3 21:35:51 2015 -0700

    i965/gen9: Implement Push Constant Buffer workaround
    
    This implements a workaround (exact excerpt as a comment in the code). The docs
    specify [clearly, after you struggle for a while] that the offset isn't relative
    to state base. This actually makes sense. This fixes hangs on SKL.
    
    Buffer #0 is meant to be used for normal uniforms.
    Buffer #1 is typically used for gather constants when using RS.
    Buffer #1-#3 could be used to push a bunch of UBO data which would just be
      somewhere in memory, and not relative to the dynamic state.
    
    NOTE: I've moved away from the ternary operator for the new gen9 conditions.
    Admittedly it's probably not great to do this, but I really want to fix this all
    up in the subsequent patch and doing it here makes that diff a lot nicer. I want
    to split out the gen8/9 code to make the function a bit more readable, but to
    keep this easily cherry-pickable I am doing this fix first. If we decide not to
    merge the cleanup patch then I can revisit this.
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
    Tested-by: Valtteri Rantala <Valtteri.rantala at intel.com>
    (cherry picked from commit 90754d2df05eafe1a3ee3cd9bb1611a19099fc49)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c46196e1d172beac95dd0cb6ab43bcb4d1e2919
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jun 17 23:00:44 2015 -0400

    mesa: add GL_PROGRAM_PIPELINE support in KHR_debug calls
    
    This was apparently missed when ARB_sso support was added.
    Add label support to pipeline objects just like all the other
    debug-related objects.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 770f141866654dab969302f720228497f0fb35fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74f2c1c282ba3776c21647bf523081bdab7bedef
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jun 17 15:09:26 2015 -0400

    glsl: add version checks to conditionals for builtin variable enablement
    
    A number of builtin variables have checks based on the extension being
    enabled, but were missing enablement via a higher GLSL version.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit b6e238023c4f8af2328dc3bcab1d73a3e19f4fbb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ed4c7acc2786758410ac257296cd058709030b1
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jun 17 15:07:14 2015 -0400

    glsl: handle conversions to double when comparing param matches
    
    This allows mod(int, int) to become selected as float mod when doubles
    are supported.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    Cc: "10.6" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit c40e7ee7c47cb24264fd77ef37fab99dea4c299a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc3af254b11baddc14f59c4d5b691430ece1975b
Author: Boyan Ding <boyan.j.ding at gmail.com>
Date:   Tue Jun 16 11:08:33 2015 +0800

    egl/x11: Set version of swrastLoader to 2
    
    which it actually implements instead of the newest version defined in
    dri_interface.h
    
    Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Boyan Ding <boyan.j.ding at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit 997fc807b2f71ef65b4601d6db33d0f912c18d3f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d2b9e7724689ce7a74e16b9691a704b65ec6cfb
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jun 17 22:18:09 2015 -0400

    nvc0/ir: can't have a join on a load with an indirect source
    
    Triggers an INVALID_OPCODE warning on GK208. Seems rare enough to not
    warrant verification on other chips. Fixes the new piglits:
    
      ubo_array_indexing/fs-nonuniform-control-flow.shader_test
      ubo_array_indexing/vs-nonuniform-control-flow.shader_test
    
    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 36e3eb6a957f8f20ed187ec88a067fc65cb81432)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acfaacb18b8ec3333fd8786a62b6abb0741f2928
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Jun 15 15:48:58 2015 -0400

    nv50,nvc0: clamp uniform size to 64k
    
    The state tracker will pass through requests from buggy applications
    which will have the buffer size larger than the max allowed (64k). Clamp
    the size to 64k so that we don't get errors when uploading the constbuf
    data.
    
    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 8b24388647f626a5cad10fd48e61335ed26a8560)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0736a2aa795bab3856abea308ca99b708449e169
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jun 12 16:09:05 2015 +0200

    nvc0/ir: fix collection of first uses for texture barrier insertion
    
    One of the places we have to insert texbars is in situations where the
    result of the tex gets overwritten by a different instruction (e.g. in a
    conditional statement). However in some situations it can actually
    appear as though the original tex itself is an overwriting instruction.
    This can naturally never really happen, so just ignore the tex
    instruction when it comes up.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90347
    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 a2af42c1d2dc91f4c31e25ff9fff15a89a9b6ead)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a153e1fd341c565245096fab939d41a83aecfd8
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Tue May 12 04:17:04 2015 -0700

    meta: Abort meta path if ReadPixels need rgb to luminance conversion
    
    After recent addition of pbo testing in piglit test getteximage-luminance,
    it fails on i965. This patch makes a sub test pass.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit a4ff47ade9d95a27c9c55afbf6dd77d3f3b10562)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f3ec929761d9aee986362ef90a4a150f4481496
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri May 1 00:05:18 2015 -0700

    mesa: Turn need_rgb_to_luminance_conversion() in to a global function
    
    This will be used by _mesa_meta_pbo_GetTexSubImage() in a later patch.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit ba2b1f8668811eade97a4f134f6df900ff36c8aa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2040c18ecc32262426541f5781daa783e3e4bf6b
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Thu Apr 30 23:36:18 2015 -0700

    mesa: Use helper function need_rgb_to_luminance_conversion()
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    (cherry picked from commit 0b13adcd0802d1ad60f625e7e557d2090a7c143e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b590ee6d45a3c91dce3309739226b5f9d062637a
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Thu Apr 30 23:35:20 2015 -0700

    mesa: Handle integer formats in need_rgb_to_luminance_conversion()
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    (cherry picked from commit 82abdf209a2fb5b95b2bae80045aecc61202b13c)




More information about the mesa-commit mailing list