Mesa (19.0): 25 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 6 19:48:31 UTC 2019


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f852e93815a5132dd12b099f430c4c43aa708810
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Mar 6 09:22:20 2019 -0800

    VERSION: bump version for rc7

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c2274273165f327f05c94a0f562e45aec03bf15
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Mar 4 14:25:08 2019 +0100

    radv: properly align the fence and EOP bug VA on GFX9
    
    If alignement is 0, offets returned by
    radv_cmd_buffer_upload_alloc() are always 0. These two
    virtual addresses were pointing at the same location.
    
    Cc: 18.3 19.0 <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit c2a148692b4d728e481b60a503e21931f9cf43f0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7bea557d369664d67bcbdf9492fd84c8c96cd06
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Feb 27 15:26:08 2019 +0000

    egl: fix libdrm-less builds
    
    This function was never used, and isn't properly guarded by HAVE_LIBDRM,
    breaking the build on systems that don't have libdrm.
    
    Let's just remove it.
    
    Fixes: 7552fcb7b9b98392e6a8 "egl: add base EGL_EXT_device_base implementation"
    Reported-by: Timo Aaltonen <tjaalton at debian.org>
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Acked-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit bcc4bfc8e80da5dc4c6ee44f791f2112dac208d1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=503746b131e8d17c6c498b6d9dba5159613844c1
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Feb 20 09:18:39 2019 +0200

    anv: retain the is_array state in create_plane_tex_instr_implicit
    
    This does not seem to fix anything ATM but is the right thing todo.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Fixes: f3e91e78a33775 ("anv: add nir lowering pass for ycbcr textures")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 33bf3d510c98a22706eb25815f1214d2e1a0e868)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6324bdfa5b2ecf59dfbd9eb57a40431374da8dd
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Feb 8 17:51:24 2019 -0600

    intel,nir: Lower TXD with min_lod when the sampler index is not < 16
    
    When we have a larger sampler index, we get into the "high sampler"
    scenario and need an instruction header.  Even in SIMD8, this pushes the
    instruction over the sampler message size maximum of 11 registers.
    Instead, we have to lower TXD to TXL.
    
    Fixes: cb98e0755f8d "intel/fs: Support min_lod parameters on texture..."
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 5c96120b5ce158fea28d751d8a55b5e4d80df4f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8af5448418d8c4f3575ce88de49b8597b526d84f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Feb 27 00:12:01 2019 -0600

    spirv: OpImageQueryLod requires a sampler
    
    No idea how this fell through the cracks besides the fact that the
    sampler bound at 0 almost always works and the CTS isn't amazing.  In
    any case, this appears to have been broken for almost forever.
    
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit ca295ddbfb414a526d3bab7daf93fffbbc417c6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=014588440bc07d595bd59d1d82663fd2d30e113d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Mar 1 14:01:08 2019 -0600

    anv: Count surfaces for non-YCbCr images in GetDescriptorSetLayoutSupport
    
    We were accidentally not counting those surfaces
    
    Fixes: ddc4069122 "anv: Implement VK_KHR_maintenance3"
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 5049fbddb4687799a10eb585c8789afa0d080535)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3342431606ed901ba264dbb546302a6091c3c1be
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Fri Feb 22 20:45:51 2019 +0100

    st/nine: Ignore multisample quality level if no ms
    
    Apparently instead of returning error when passing
    a quality level different than 0 for
    D3DMULTISAMPLE_NONE, we should pass.
    
    Fixes: https://github.com/iXit/Mesa-3D/issues/340
    
    Cc: mesa-stable at lists.freedesktop.org
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    (cherry picked from commit 1d363d440f261fbadc1db3c17acc514b7130d505)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb159aab8aefab01f63b062f65ecf1a82671ecaf
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Wed Jan 2 22:13:12 2019 +0100

    st/nine: Ignore window size if error
    
    Check GetWindowInfo and ignore the computed sizes
    if there is an error.
    
    Fixes a regression caused by earlier commit when
    using old wine gallium nine patches.
    
    Should also address a crash at window destruction.
    
    Related issues:
     https://github.com/iXit/Mesa-3D/issues/331
     https://github.com/iXit/Mesa-3D/issues/332
    
    Cc: mesa-stable at lists.freedesktop.org
    Fixes: 2318ca68bbe ("st/nine: Handle window resize when a presentation
    buffer is used")
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    (cherry picked from commit 86666f051e0cae96f2596cac05e3c3f394744149)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=682491f447ed8df15255da5d0f8185cb6567e6b7
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sat Mar 2 23:38:27 2019 +0100

    android: anv: fix libexpat shared dependency
    
    Fixes undefined reference building errors for XML_* functions
    
    Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Cc: "19.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ec0f465bc5f02c93aeb4193db8b5bd90a254b080)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=949d6c354408c23cdd97c9f8a85fe132f07aebea
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Mon Mar 4 10:34:08 2019 +0100

    android: anv: fix generated files depedencies (v2)
    
    Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies
    Rename the variable labels according to targets and python scripts
    Align the building rules as per Automake for simplification
    
    Fixes building errors during rebuils due to missing dependencies
    
    (v2) Fixed a missing $(VULKAN_API_XML) reference
    
    Fixes: 9a508b7 ("android: anv/extensions: fix generated sources build")
    Fixes: dd088d4bec7 ("anv/extensions: Generate a header file with extension tables")
    Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Cc: "19.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 14e7e26a0991e7f9b1d20147f04a43bb4cc3f824)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bdd64a12de4e8c734100a78b647fb6fc550b408
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Feb 22 01:13:39 2019 -0500

    glsl: fix recording of variables for XFB in TCS shaders
    
    This is purely for conformance, since it's not actually possible to do
    XFB on TCS output varyings. However we do have to make sure we record
    the names correctly, and this removes an extra level of array-ness from
    the names in question.
    
    Fixes KHR-GL45.tessellation_shader.single.xfb_captures_data_from_correct_stage
    
    v2: Add comment to the new program_resource_visitor::process function.
        (Ilia Mirkin)
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108457
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: 19.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit 4eec3a2a3652317f8e0fa97e0730c297bde8241a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=688ce72518b4d7c3bdd1b59bd0c14db556cc501b
Author: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Date:   Wed Nov 21 18:23:03 2018 +0100

    glsl: TCS outputs can not be transform feedback candidates on GLES
    
    Avoids regression on:
    
    KHR-GLES*.core.tessellation_shader.single.xfb_captures_data_from_correct_stage
    
    that is uncovered by the following patch.
    
    "glsl: fix recording of variables for XFB in TCS shaders"
    
    v2: Rebased over glsl: fix recording of variables for XFB in TCS shaders
    v3: Move this patch before "glsl: fix recording of variables for XFB in TCS
        shaders" to avoid temporal regressions. (Illia Mirkin)
    
    Cc: 19.0 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit bf1f49482d677e562993543cd9a9367597ce3ccc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bda94e85ac1248aec842bff76eab813714f9e1b
Author: Ray Zhang <zhanglei002 at gmail.com>
Date:   Wed Feb 27 06:54:05 2019 +0000

    glx: fix shared memory leak in X11
    
    call XShmDetach to allow X server to free shared memory
    
    Fixes: bcd80be49a8260c2233d "drisw/glx: use XShm if possible"
    Signed-off-by: Ray Zhang <zhanglei002 at gmail.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit b344e32cdf7064a1f2ff7ef37027edda6589404f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b067b8dd09e0f166e34c4bacab4a0b3e5936b25
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Feb 27 18:26:07 2019 +1100

    glsl: fix shader cache for packed param list
    
    Some types of params such as some builtins are always padded. We
    need to keep track of this so we can restore the list correctly.
    
    Here we also remove a couple of cache entries that are not actually
    required as they get rebuilt by the _mesa_add_parameter() calls.
    
    This patch fixes a bunch of arb_texture_multisample and
    arb_sample_shading piglit tests for the radeonsi NIR backend.
    
    Fixes: edded1237607 ("mesa: rework ParameterList to allow packing")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 7536af670b7501228628a8c90f9e8456b5aec9e1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=578716cbf73e0edb9544beea63a5fea941f6880c
Author: Yevhenii Kolesnikov <yevhenii.kolesnikov at globallogic.com>
Date:   Mon Feb 25 16:21:48 2019 +0200

    i965: Fix allow_higher_compat_version workaround limited by OpenGL 3.0
    
    Added check for higher compat profile being allowed
    before assigning certain extensions.
    
    Fixes: 272fe9494232 (mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile)
    
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov at globallogic.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107052
    (cherry picked from commit 07f4b4e4034d6c9f48d136ec39a03e59f65783cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77ae9a3a4283253d4dd6bd4c5d7428c2f93c3986
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Feb 27 15:53:21 2019 +0000

    intel/compiler: use correct swizzle for replacement
    
    The optimization in 4cd1a0be76883c introduced a replacement of :
    
    cmp(8).z.f0.0 vgrf11.y:D, vgrf10.xxxx:D, vgrf2.xyyy:D
    ...
    cmp(8).nz.f0.0 null.x:D, vgrf11.yyyy:D, 0D
    
    By :
    
    cmp(8).z.f0.0 vgrf15.x:D, vgrf10.xxxx:D, vgrf2.yyyy:D
    ...
    mov(8) vgrf11.y:D, vgrf15.yyyy:D
    
    The first cmp instruction is storing in x while the second mov is
    sourcing from y. We need to take into account where the replacement on
    the scan_inst destination is going to store thing so that the
    replacement mov can source things from the correct location.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 4cd1a0be76883c ("i965/vec4: Propagate conditional modifiers from more compares to other compares")
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109759
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 6e184147ddce11e90c269a47af7d7395f5ed9c12)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b8df622c4f5bada9afd9e71299fe39329dbe5f0
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Wed Feb 20 11:50:47 2019 +0100

    freedreno: use renderonly path for buffers allocated with modifiers
    
    Now that freedreno has create_with_modifiers(), this "hack" is needed to
    make some cases work. Copied from vc4.
    
    Fixes: 41ddf1d1
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    (cherry picked from commit e3591b03393402321d24e10b93ec5a827a4b9b6a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=548893d5f54e8ff14db099012cff3450e81cd7ab
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Feb 26 12:00:01 2019 -0500

    freedreno: a2xx: fix mipmapping for NPOT textures
    
    Fixes: 3a273a4a
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    (cherry picked from commit 6c0fefb448f0b72971c96a60907c77ce0512d590)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84effbe02c135c03e06689b95c5ffa49312476e9
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Feb 19 19:01:55 2019 +0100

    freedreno: a2xx: fix fast clear for some gmem configurations
    
    In freedreno_gmem.c, gmem_align of 0x8000 is used. Alignment used here
    should be the same.
    
    Fixes: 912a9c8d
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    (cherry picked from commit 4f23767590d1374c4cf2b5ddeedd9dd375c296f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00fd6cf1e2f409968d69e67bd92f268dabf8d5c7
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Feb 19 22:41:54 2019 +0100

    freedreno: a2xx: add use_hw_binning function
    
    Fixes: cb2322c7
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    (cherry picked from commit 8eca6df5ed5ad6df51a3aad271856d7da56d1292)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04fd26cd295ceef393ea183892dcdd27f1c1c56b
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Fri Feb 22 19:21:27 2019 +0100

    freedreno: a2xx: don't write 4th vertex in mem2gmem
    
    There is only room for 3 vertices now (RECT has 3 vertices).
    
    Fixes: 6ef7700a
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    (cherry picked from commit 357313ab0f123b4e4b1efc74f5e5b1514c421e68)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17361a3be9f278f07382e3560ead6414f722dc2f
Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Thu Feb 28 09:53:28 2019 +0000

    scons: Workaround failures with MSVC when using SCons 3.0.[2-4].
    
    This change applies the workaround suggested by Bill Deegan on the
    affected SCons versions.
    
    It also adds a comment with the URL explaining why we were using
    customizing the decider and max_drift in the first place, as I had
    forgotten all about it.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109443
    Tested-by: liviuprodea at yahoo.com
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3454823d1743a1eda07a094d1010ac4e6d7adb1
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Feb 25 14:51:37 2019 -0700

    mesa: fix display list corner case assertion
    
    This fixes a failed assertion in glDeleteLists() for the following
    case:
    
    list = glGenLists(1);
    glDeleteLists(list, 1);
    
    when those are the first display list commands issued by the
    application.
    
    When we generate display lists, we plug in empty lists created with
    the make_list() helper.  This function uses the OPCODE_END_OF_LIST
    opcode but does not call dlist_alloc() which would set the
    InstSize[OPCODE_END_OF_LIST] element to non-zero.
    
    When the empty list was deleted, we failed the InstSize[opcode] > 0
    assertion.
    
    Typically, display lists are created with glNewList/glEndList so we
    set InstSize[OPCODE_END_OF_LIST] = 1 in dlist_alloc().  That's why
    this bug wasn't found before.
    
    To fix this failure, simply initialize the InstSize[OPCODE_END_OF_LIST]
    element in make_list().
    
    The game oolite was hitting this.
    
    Fixes: https://github.com/OoliteProject/oolite/issues/325
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 6dabcb5bcfd5dc4c62dbdb1cfd1ea95e45a47f8a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62d457eee1a01964efb2c3bf3ddc626385c71985
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Feb 23 14:33:31 2019 +0100

    radv: Interpolate less aggressively.
    
    Seems like dxvk used integer builtins without setting the flat
    interpolation decoration.
    
    I believe in the current spec the app is required to set these,
    but in the meantime to avoid breaking things in stable releases
    (and so close to release for 19.0), only expand the interpolation
    to float16 and struct (which cannot be builtins as our spirv parser
    lowers the builtin block).
    
    Fixes: f3247841040 "radv: Allow interpolation on non-float types."
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit c0110477b5503978adf37f64c65c30c9304e3fe4)




More information about the mesa-commit mailing list