Mesa (18.2): 23 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 29 23:56:50 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d52cfe80bbc0703d5d16af6e2b1c6d37f4e6c1a
Author: Andres Gomez <agomez at igalia.com>
Date:   Thu Aug 30 02:55:57 2018 +0300

    Update version to 18.2.0-rc5
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f958837964784315c1dc633f41f1ef5d2a17aea9
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Aug 24 07:05:36 2018 -0700

    meson: Actually load translation files
    
    Currently we run the script but don't actually load any files, even in a
    tarball where they exist.
    
    Fixes: 3218056e0eb375eeda470058d06add1532acd6d4
           ("meson: Build i965 and dri stack")
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 7c00db9527245d80cb748ec3442163585a5463a6)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/util/xmlpool/meson.build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=baf5c4e4dfdab68db0fd91e420fc604d46384d61
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue Aug 21 11:08:17 2018 +0100

    docs: add forgotten features to 18.2.0 release notes
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewied-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: 18.2: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 743e11c10b180247488ae0cc24900560e0a74e2b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09743ed9fcf46f0d8dcc3d4a44d807c4891af132
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Sat Aug 25 18:22:00 2018 +0100

    intel: decoder: handle 0 sized structs
    
    Gen7.5 has a BLEND_STATE of size 0 which includes a variable length
    group. We did not deal with that very well, leading to an endless
    loop.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107544
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 440a988bd1478bb33dafcbb8575473bc643ae383)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=633ef670bb36d6543611ae6ea3c06217cb998483
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Aug 24 16:05:08 2018 -0500

    intel/batch_decoder: Print blend states properly
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 70de31d0c106f58d6b7e6d5b79b8d90c1c112a3b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d963a1635292388f278367a453a76dd7acb688eb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Aug 24 16:04:03 2018 -0500

    intel/batch_decoder: Fix dynamic state printing
    
    Instead of printing addresses like everyone else, we were accidentally
    printing the offset from state base address.  Also, state_map is a void
    pointer so we were incrementing in bytes instead of dwords and every
    state other than the first was wrong.
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit cbd4bc1346f7397242e157bb66099b950a8c5643)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d449afaa55dbeff89119a5093d15950267581758
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Aug 24 15:23:04 2018 -0500

    intel/decoder: Clean up field iteration and fix sub-dword fields
    
    First of all, setting iter->name in advance_field is unnecessary because
    it gets set by gen_decode_field which gets called immediately after
    gen_decode_field in the one call-site.  Second, we weren't properly
    initializing start_bit and end_bit in the initial condition of
    gen_field_iterator_next so the first field of a struct would get printed
    wrong if it doesn't start on the first bit.  This is fixed by adding a
    iter_start_field helper which sets the field and also sets up the other
    bits we need.  This fixes decoding of 3DSTATE_SBE_SWIZ.
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 2abd7ae189135eb5a1f530a3a1c9412d3a7e238d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96504a886fdcc2729d47b692aeb95c70d6cd5b89
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue Aug 14 11:22:12 2018 +0100

    intel: decoder: unify MI_BB_START field naming
    
    The batch decoder looks for a field with a particular name to decide
    whether an MI_BB_START leads into a second batch buffer level. Because
    the names are different between Gen7.5/8 and the newer generation we
    fail that test and keep on reading (invalid) instructions.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107544
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit f430a37fa75f534c3a114b0ec546fa14f05f5da1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71d7c714e7e823fe2e570ae454a2ffcd39c11c7e
Author: vadym.shovkoplias <vadim.shovkoplias at gmail.com>
Date:   Thu Aug 23 13:12:16 2018 +0300

    glsl/linker: Allow unused in blocks which are not declated on previous stage
    
    >From Section 4.3.4 (Inputs) of the GLSL 1.50 spec:
    
        "Only the input variables that are actually read need to be written
         by the previous stage; it is allowed to have superfluous
         declarations of input variables."
    
    Fixes:
        * interstage-multiple-shader-objects.shader_test
    
    v2:
      Update comment in ir.h since the usage of "used" field
      has been extended.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101247
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    (cherry picked from commit 4a8444d5bc865119218eca8674e5614535f4829e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0207765ab2d3b484e2a0fcaf071b2fd607f54444
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Sat Aug 25 17:08:04 2018 -0500

    anv: Fill holes in the VF VUE to zero
    
    This fixes a GPU hang in DOOM 2016 running under wine.
    
    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104809
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 76b0e4d8c9d3cd8af0b665cec88bded7a61e8ad6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6dccf66865c31b13f48b50891a9f5a0d9949b1c
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Aug 17 11:41:25 2018 +0100

    glsl: remove execute bit and shebang from python tests
    
    Just like the rest of the tree - these should be run either as part of
    the build system check target, or at the very least with an explicitly
    versioned python executable.
    
    Fixes: db8cd8e3677 ("glcpp/tests: Convert shell scripts to a python script")
    Fixes: 97c28cb0823 ("glsl/tests: Convert optimization-test.sh to pure python")
    Fixes: 3b52d292273 ("glsl/tests: reimplement warnings-test in python")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 48820ed8da0ad50d51a58f26e156d82b685492e2)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/compiler/glsl/tests/optimization_test.py

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dbe4e9aab0af105c483c73d911a8e0e798bda72
Author: Mathieu Bridon <bochecha at daitauha.fr>
Date:   Fri Aug 17 21:32:18 2018 +0200

    meson: Run the test with Python
    
    This is a patch from me and a patch from Mathieu Bridon squashed
    together.
    
    Signed-off-by: Dylan Baker <dylan at pnwbakers.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Reviewed-by: Mathieu Bridon <bochecha at daitauha.fr>
    (cherry picked from commit e15686567c9481de86dc5088b41e480085d4fe0c)
    [Andres Gomez: applied cleanly but backported as suggested by Emil]
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b103d9931a717e715d874d647132e43b2ff9213
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Aug 16 17:57:10 2018 +0100

    docs: update required mako version
    
    The requirement was bumped a while back, but we forgot to update the
    docs.
    
    Fixes: ed871af91c2 ("configure.ac: raise Mako required version to
    0.8.0")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit e39b916d0c6764b68936587d3ca293e28226d794)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1596b3aebd9c9775e8b9cac44a5835ed72988bb
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date:   Wed Aug 22 16:08:34 2018 -0700

    meson: fix egl build for android
    
    Haven't tested this, but we do include loader.h
    in platform_android.c
    
    Fixes: c5ec1556859b7d33637c9fad13d3473c7b2f9eb3 ("meson: wire up egl/android")
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit c731508b9883c658dee9c4464452087345eebe1f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44a844eb4d4fb8127d6520b939e56972deaac33e
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date:   Wed Aug 22 16:08:33 2018 -0700

    meson: fix egl build for surfaceless
    
    Without this, I get:
    
     > platform_surfaceless.c:38:10: fatal error: 'loader.h' file not found
     > #include "loader.h"
     >      ^~~~~~~~~~
     > 1 error generated.
    
    Fixes: 108d257a16859898f5ce02f4759c5c58f9b8c050 ("meson: build libEGL")
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    
    v2: Split up patches, modify commit message (Dylan)
    (cherry picked from commit ec6cb01e216439fcd8a76c793a336d1b25587a41)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2eaf0f656cd5e07ab8e447b0309286e889e1b5b5
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Aug 22 17:28:26 2018 -0400

    glapi: actually implement GL_EXT_robustness for GLES
    
    The extension was exposed but not the functions.
    
    This fixes:
        dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.readn_pixels
        dEQP-GLES31.functional.debug.negative_coverage.get_error.state.get_nuniformfv
        dEQP-GLES31.functional.debug.negative_coverage.get_error.state.get_nuniformiv
    
    Cc: 18.1 18.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    (cherry picked from commit 37eee90df730ac6ba371b2ba8e61a1db9e55d7df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da1ac07d6523301fb4d6594407e9967f2dffce0d
Author: Grazvydas Ignotas <notasas at gmail.com>
Date:   Tue Aug 21 00:08:54 2018 +0300

    radv: place pointer length into cache uuid
    
    Thanks to reproducible builds, binary file timestamps may be identical
    for both 32bit and 64bit packages when built from the same source.
    This means radv will use the same cache for both 32 and 64 bit
    processes, which leads to crashes.
    
    Conveniently there is a spare byte in cache_uuid, let's place the
    pointer size there.
    
    Fixes: f4e499ec79 "radv: add initial non-conformant radv vulkan driver"
    CC: 18.1 18.2 <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107601
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105904
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 356f6673d695eb98c42d80f3c2b30fad746cdbba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461745ae3865a49bb519ee5f7de0f92a91afd3f5
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Fri Jul 27 15:34:05 2018 -0700

    intel/isl: Avoid tiling some 16K-wide render targets
    
    Fix rendering issues on BDW and SKL.
    
    Fixes: 0288fe8d0417730bdd5b3477130dd1dc32bdbcd3
    ("i965/miptree: Use the correct BLT pitch")
    
    Fixes the following regressions seen
    
    exclusively on SKL:
    * KHR-GL46.texture_barrier_ARB.disjoint-texels
    * KHR-GL46.texture_barrier_ARB.overlapping-texels
    * KHR-GL46.texture_barrier.disjoint-texels
    * KHR-GL46.texture_barrier.overlapping-texels
    
    and both on BDW and SKL:
    * GTF-GL46.gtf21.GL2FixedTests.buffer_corners.buffer_corners
    * GTF-GL46.gtf21.GL2FixedTests.stencil_plane_corners.stencil_plane_corners
    
    v2: Note the fixed tests (Andres).
        Don't cause failures with multisampled buffers (Andres).
        Don't hamper SKL GT4 (Ken).
    v3: Fix the Fixes tag (Dylan).
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107359
    Cc: <mesa-stable at lists.freedesktop.org>
    Tested-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 6d80b0b4bae53efbfa4b654a44c6279f5cc9402c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=627b874516e1abb14d384de9acbbddbb1ea1943e
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Jul 23 10:09:20 2018 -0700

    i965/miptree: Fix can_blit_slice()
    
    Check the destination's row pitch against the BLT engine's row pitch
    limitation as well.
    
    Fixes: 0288fe8d0417730bdd5b3477130dd1dc32bdbcd3
    ("i965/miptree: Use the correct BLT pitch")
    
    v2: Fix the Fixes tag (Dylan).
        Check the destination row pitch (Chris).
    
    Reported-by: Dylan Baker <dylan at pnwbakers.com>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit b041fc06491f4a017458df4a58d4ac519bb3bc94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dae1fc89a4fc7047d37caf36e078269a121a55e0
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Fri Aug 17 15:03:14 2018 -0700

    i965/miptree: Use miptree_map in map_blit functions
    
    This struct contains all the data of interest. can_blit_slice() will use
    it in the next patch to calculate the correct pitch.
    
    Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit 030b6efcfdeff5cc079d5b6d8e682e180570ce71)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9798626fc0f8402176f93dac1f5e9c1478f599ba
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Aug 22 14:42:51 2018 +0200

    ac/nir: fix getting GLSL type of array of samplers for TG4
    
    This fixes a crash in build_tex_intrinsic() when trying to
    launch the Basemark GPU benchmark on GFX8. It looks like
    there is still something wrong because some frames are black.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106980
    CC: 18.2 <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 4c43ec461de4f122d5d6566361d064c816e4ef69)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7611e59a8c6d4490609ffce032e188434ad39529
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Aug 22 12:34:13 2018 +0200

    radv: remove dead variables after splitting per member structs
    
    Otherwise, nir_lower_clip_cull_distance_arrays might report
    wrong number of output clips/culls because it relies on
    shader output variables and some of them might be dead.
    
    This fixes a rendering issue with Dolphin and Super Mario
    Sunshine.
    
    Fixes: b0c643d8f5 ("spirv: Use NIR per-member splitting")
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107610
    CC: 18.2 <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 24ee53231da84a1be5ec08abebe8a2ff6aa019ca)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8f46864f3519d00b501ce68bd2520c8cf2ae002
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Aug 15 21:14:47 2018 -0400

    ac: completely remove +auto-waitcnt-before-barrier
    
    it causes corruption on several different GPU generations.
    
    Cc: 18.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    (cherry picked from commit a4a104fc81e93555899050efac23c3cd6ba762ab)




More information about the mesa-commit mailing list