Mesa (staging/18.2): 33 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 19 15:11:37 UTC 2018


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c29992e07646e005f836cf844982b16b82b29a57
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Mon Nov 19 13:27:59 2018 +0100

    cherry-ignore: intel/aub_viewer: Print blend states properly
    
    extra: intel/aub_viewer is not present in branch
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64c874bf76a26d39e5f04cfe311c8b0793464af9
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Mon Nov 19 13:26:33 2018 +0100

    cherry-ignore: intel/aub_viewer: fix dynamic state printing
    
    extra: intel/aub_viewer is not present in branch
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0837f061a69f3721fb4acbd5911e8d133f89773
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue Nov 13 14:10:45 2018 +0000

    egl/dri: fix error value with unknown drm format
    
    According to the EGL_EXT_image_dma_buf_import spec, creating an EGL
    image with a DRM format not supported should yield the BAD_MATCH
    error :
    
    "
           * If <target> is EGL_LINUX_DMA_BUF_EXT, and the EGL_LINUX_DRM_FOURCC_EXT
             attribute is set to a format not supported by the EGL, EGL_BAD_MATCH
             is generated.
    "
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 20de7f9f226401 ("egl/dri2: support for creating images out of dma buffers")
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    (cherry picked from commit 1c56d211563300e8b837378962dd455d45d7956e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8cd8b1826651b4f9f4fefc95580f0b8eb81f559
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Oct 26 10:23:39 2018 -0600

    scons/svga: remove opt from the list of valid build types
    
    This reverts commit a5fd54f8bf6713312fa5efd7ef5cd125557a0ffe.
    
    The whole point was to add a way to pass -DVMX86_STATS to the build,
    but we can do that with a command line argument when we invoke scons.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    (cherry picked from commit d6be0b5556ceb40a24b0a89ff86e909514d60a52)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9b678e433fc3da60b8a511da935c648b0ebb69b
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Sep 18 08:45:57 2018 -0700

    meson: Don't force libva to required from auto
    
    We already correctly handle va being auto, but we force it to being
    true, which is bad.
    
    Fixes 94cf3970925ec87d913a1549a42cdb03713fc4bb
          ("meson: Fix auto option for va")
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    
    (cherry picked from commit 509ea4649a96a11e762490b87bbba960cf113967)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=055d67df8071e55ac172467bbc683076a8c77cd9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Nov 14 18:49:54 2018 +0000

    bin/get-pick-list.sh: handle reverts prior to the branchpoint
    
    Currently we detect when a breaking commit:
     - has landed in stable, and
     - is referenced by a untagged fix in master
    
    Yet we did not consider the case of breaking commit:
     - prior to the branchpoint, and
     - is referenced by a untagged fix in master
    
    Addressing the latter is extremely slow, due to the size of the lookup.
    
    That said, we can trivially use the existing is_sha_nomination() helper
    to catch reverts.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit adbdfc6666052d604a97009d736b6dee957908a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42ce0d34c7c0c40598eb993335e28848d00f8dc4
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:21 2018 +0000

    bin/get-pick-list.sh: use test instead of [ ]
    
    Latter is rather picky wrt surrounding white space. The explicit `test`
    doesn't have that problem, plus the statements read a bit easier.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit c0012a07088e86f6d30405d0522a0d72801e2ec7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2904adf6ff92a0431801e917173aaefe0b20ab43
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:20 2018 +0000

    bin/get-pick-list.sh: handle unofficial "broken by" tag
    
    We have a number of cases were devs will use a tag "broken by".
    While it's not something officially documented or recommended, checking
    for it is trivial enough.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 77ff0bfb5f915bb841623ec181ee359a099f2c52)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f6f08474217434876806b7c8f68095524f11d3
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:19 2018 +0000

    bin/get-pick-list.sh: handle fixes tag with missing colon
    
    Every so often, we forget to add the colon after "fixes". Trivially
    tweak the script to catch it.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 209525aafb8314f827838dedeb771b72c256a4d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb9270f6c93149cb920e24f93d6b533170d0cf1d
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:18 2018 +0000

    bin/get-pick-list.sh: flesh out is_sha_nomination
    
    Refactor is_fixes_nomination into a is_sha_nomination helper. This way
    we can reuse it for more than the usual "Fixes:" tag.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit b7418d1f3f102aeed8d3d38195f9b7d672216df0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aeb3b941a56c17b7e8ab33c459cdcc4df31b687
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:17 2018 +0000

    bin/get-pick-list.sh: tweak the commit sha matching pattern
    
    Currently we match on:
     - any arbitrary length of,
     - any a-z A-Z and 0-9 characters
    
    At the same time, a commit sha consists of lowercase hexadecimal
    numbers. Any sha shorter than 8 characters is ambiguous - in some cases
    even 11+ are required.
    
    So change the pattern to a-f0-9 and adjust the length to 8-40.
    
    As we're here we could use a single grep, instead of the grep/sed combo.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 533fead4236459c3f04700ff130ffaee1503cb69)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cc1095d8e45c6810f3f72ec421ab1cb108579a5
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:16 2018 +0000

    bin/get-pick-list.sh: handle the fixes tag
    
    Having a separate script to handle the fixes tag, brings a number of
    issues, so let's fold it in get-pick-list.sh.
    
    v2:
     - pass the sha as argument to the function
     - Keep original sed pattern
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 181203f3c5e9c6b3e95e0b93ad3b22630c3c0437)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dee23b3006394403bae07d83e3fad6245cf2730c
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:15 2018 +0000

    bin/get-pick-list.sh: handle "typod" usecase.
    
    As the comment in get-typod-pick-list.sh says, there's little point in
    having a duplicate file.
    
    Add the new pattern + tag to get-pick-list.sh and nuke this file.
    
    v2:
     - pass the sha as argument to the function
     - grep -q instead of using a variable (Eric)
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit e6b3a3b2014413366110f6deeced8095e7262b1d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9af024b629a589fd31dc3601274d650ee3dd4c15
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:14 2018 +0000

    bin/get-pick-list.sh: prefix output with "[stable] "
    
    With later commits we'll fold all the different scripts into one.
    Add the explicit prefix, so that we know the origin of the nomination
    
    v2:
     - pass the sha as argument to the function
     - swap $tag = none for an else statment (Juan)
     - grep -q instead of using a variable (Eric)
     - print the tag and commit oneline separately (Eric)
    
    v3:
     - drop unused "tag=none" assignment (Juan)
     - typo nomination
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com> (v2)
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit fac10169bbad2da918ef07a62c01e0b321508cfe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc82b101da2d0d572cf0cf19d0d90a6e3efbde07
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Nov 8 15:05:13 2018 +0000

    bin/get-pick-list.sh: simplify git oneline printing
    
    Currently we force disable the pager via "|cat" where --no-pager
    exists. Additionally we could use git show instead of git log -n1.
    
    Use those for a slightly more understandable code.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 559c32d2412b2ea602bb59aa61da75403d01a872)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=380058a0e38762a118d73f9fb950ca21419df48e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Oct 15 16:02:50 2018 -0700

    i965: Add PCI IDs for new Amberlake parts that are Coffeelake based
    
    See commit c0c46ca461f136a0ae1ed69da6c874e850aeeb53 in the Linux kernel,
    where José Roberto de Souza added this new PCI ID there.
    
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    (cherry picked from commit 5bd836968172151d633675a5f9b4f8b646971a31)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f1dd2d1164390eff9dab3be455b60a6dfb0032c
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Thu Aug 30 14:39:57 2018 -0700

    intel: Introducing Whiskey Lake platform
    
    Whiskey Lake uses the same gen graphics as Coffe Lake, including some
    ids that were previously marked as reserved on Coffe Lake, but that
    now are moved to WHL page.
    
    This follows the ids and approach used on kernel's commit
    b9be78531d27 ("drm/i915/whl: Introducing Whiskey Lake platform")
    and commit c1c8f6fa731b ("drm/i915: Redefine some Whiskey Lake SKUs")
    
    v2: Lionel noticed that GT{1,2,3} on kernel wasn't following
    spec when looking to number of EUs, so kernel has been updated.
    
    Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: José Roberto de Souza <jose.souza at intel.com>
    Cc: Anuj Phogat <anuj.phogat at gmail.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 24db1c7fcc43fb433af6bfe80af934c3775387f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15063ff9b5d4182913ad4e9305a214974069697
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Thu Aug 30 14:39:27 2018 -0700

    intel: Introducing Amber Lake platform
    
    Amber Lake uses the same gen graphics as Kaby Lake, including a id
    that were previously marked as reserved on Kaby Lake, but that
    now is moved to AML page.
    
    This follows the ids and approach used on kernel's commit
    e364672477a1 ("drm/i915/aml: Introducing Amber Lake platform")
    
    Reported-by: Timo Aaltonen <timo.aaltonen at canonical.com>
    Cc: José Roberto de Souza <jose.souza at intel.com>
    Cc: Anuj Phogat <anuj.phogat at gmail.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit e8c42ed4abaca798ab218ede97eaac30fbb8bd8e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e8f1dee5bba6bd1b77722f16199bc3ae70915d3
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Thu Aug 30 14:32:57 2018 -0700

    intel: aubinator: Adding missed platforms to the error message.
    
    Many new platforms got added to gen_device_name_to_pci_device_id()
    but the error message inside aubinator didn't reflected those
    changes. So syncing on the same order to be sure that we are not
    missing any now.
    
    Cc: Anuj Phogat <anuj.phogat at gmail.com>
    Cc: Matt Turner <mattst88 at gmail.com>
    Cc: Jordan Justen <jordan.l.justen at intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 886a048febcea2cd6e0e2cdaa2522bbf2b0f48ab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=377031efe693d1d1eff0c6101639f170aac125a7
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Wed Aug 8 22:43:00 2018 -0700

    i965: Add a new CFL PCI ID.
    
    One more CFL ID added to spec.
    
    Align with kernel commit d0e062ebb3a4 ("drm/i915/cfl:
    Add a new CFL PCI ID.")
    
    Cc: José Roberto de Souza <jose.souza at intel.com>
    Cc: Anuj Phogat <anuj.phogat at gmail.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 44f1dcf9b3fd902fbb36a939b45469ed9f9264e6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b00011c8dfd3209104112dd4f016e543d8d79464
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Oct 25 09:12:50 2018 -0700

    vc4: Make sure we make ro scanout resources for create_with_modifiers.
    
    The DRI3 create_with_modifiers paths don't set tmpl.bind to SCANOUT or
    SHARED, with the theory that given that you've got modifiers, that's all
    you need.  However, we were looking at the tmpl.bind for setting up the
    KMS handle in the renderonly case, so we'd end up trying to use vc4's
    handle on the hx8357d fd.
    
    Fixes: 84ed8b67c56b ("vc4: Set shareable BOs as T tiled if possible")
    (cherry picked from commit cc0bc76a382f908b4412ee8ab7a8409766ecf16a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cfe62a95154edebd517d1f8f171de69a63490ee
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date:   Thu Nov 15 12:03:31 2018 +0200

    i965: Fix calculation of layers array length for isl_view
    
    Handle all cases in calculation of layers count for isl_view
    taking into account texture view and image unit.
    st_convert_image was taken as a reference.
    
    When u->Layered is true the whole level is taken with respect to
    image view. In other case only one layer is taken.
    
    v3: (Józef Kucia and Ilia Mirkin)
        - Rewrote patch by taking st_convert_image as a reference
        - Removed now unused get_image_num_layers function
        - Changed commit message
    
    v4: (Jason Ekstrand)
        - Added assert
    
    Fixes: 5a8c8903
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107856
    
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    (cherry picked from commit f9fd0cf4790cb2a530e75d1a2206dbb9d8af7cb2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59db2f3339d2f626697bba2293dd15b784693a64
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Nov 14 12:51:38 2018 +0000

    egl: add missing glvnd entrypoint for EGL_ANDROID_blob_cache
    
    Fixes dEQP-EGL.functional.get_proc_address.extension.egl_android_blob_cache
    on builds with glvnd enabled.
    
    Fixes: 6f5b57093b3462a54e9c7 "egl: add support for EGL_ANDROID_blob_cache"
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit c9733649670243a1a6eb7ca2c376bd27960f8d8a)
    
    Squashed with:
    
    egl: fix bad rebase
    
    I screwed up a rebase over a refactor and didn't notice locally because
    the uncommitted refactor hid the issue.
    
    Fixes: c9733649670243a1a6eb "egl: add missing glvnd entrypoint for EGL_ANDROID_blob_cache"
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 2b2f790e594cde3aa0d4dcebafc9a072651cd62a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=865a97472a10aeb126f69e29a9459e2bc9922f70
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Oct 11 16:00:04 2018 +0100

    meson: fix wayland-less builds
    
    Those empty variables in the !wayland case are useless and running that
    meson.build with them breaks the build:
    
      [287/850] Generating wayland-drm-client-protocol.h with a custom command.
      FAILED: src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
      client-header ../src/egl/wayland/wayland-drm/wayland-drm.xml src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
      /bin/sh: client-header: command not found
      ninja: build stopped: subcommand failed.
    
    Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 4fa2fb35245448f8b5d81fb5b37afec4f343f18a)
    [Juan A. Suarez: resolve trivial conflicts]
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    
    Conflicts:
    	meson.build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aa4ca6902fcb371063efb1fd535c598b34671b2
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Oct 11 16:27:07 2018 +0100

    gbm: remove unnecessary meson include
    
    `inc_wayland_drm` is only used if wayland is built, and it's already
    added in that case a few lines below.
    
    Fixes: a29869e8720b385d3692f "gbm: Don't traverse backwards for includes"
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 7df80de6e645ba8c20d97f5f2b1f6c12aa962e29)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c174bd7a04018b818eac30cdb20375fb9a2608a
Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Thu Oct 11 16:21:14 2018 +0100

    meson: only run vulkan's meson.build when building vulkan
    
    Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
    Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    (cherry picked from commit 3832db275efdb235b3b7b27c9b41e64d5507aa2c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e1ae8c071f3798f0e830708b1eef6ac93d7b0c7
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Mon Nov 12 12:34:26 2018 +0100

    mesa: Reference count shaders that are used by transform feedback objects
    
    Transform feedback objects may hold a pointer to a shader program, and
    at least in Gallium, this must be a valid pointer until
    ctx->Driver.EndTransformFeedback in glEndTransformFeedback has been called
    - which is conform with the spec that any program that is part of a
    current rendering state should only be flagged for deletion by glDeleteProgram.
    This was not handled properly for the transform feedback objects so that
    a call sequence
    
      glUseProgram(x)
      glBeginTransformFreedback(...)
      glPauseTransformFeedback(...)
      glDeleteProgram(x)
      glEndTransformFeedback(...)
    
    would result in a use after free bug. With this patch the transform
    feedback object also updates the reference count to the used program
    thereby keeping the program valid as long as the transform feedback
    objects links to it.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108713
    Fixes: 654587696b4234d09a6b471b70e9629cf2887c27
           mesa: add end_transform_feedback() helper
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit caa964b422152788a95a1b248c884df8918a2bbd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93b2a277ab61e1de5946745f9a33bf07982fbd30
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Nov 9 13:27:56 2018 -0800

    meson: Don't set -Wall
    
    meson does this for you with its warn levels, so we don't need to set
    it ourselves.
    
    Fixes: d1992255bb29054fa51763376d125183a9f602f3
           ("meson: Add build Intel "anv" vulkan driver")
    Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
    (cherry picked from commit 9c2a95b29868f1388408b5eb9193fff39f942217)
    [Juan A. Suarez: resolve trivial conflicts]
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    
    Conflicts:
    	meson.build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c7a8551748714a4c725ec25bed0ffba2eeea4a0
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Nov 13 13:24:34 2018 -0600

    nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16
    
    It messes up when trying to lower.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    (cherry picked from commit 4266932c0b301005dcc747fb6c2fef36a3af6ffe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72f9a3ee82faf682cb1f9eaf72fd4c4e8fb889b1
Author: Karol Herbst <kherbst at redhat.com>
Date:   Thu Apr 26 16:54:26 2018 +0200

    nir/spirv: cast shift operand to u32
    
    v2: fix for specialization constants as well
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Karol Herbst <kherbst at redhat.com>
    (cherry picked from commit b4380cb070c0865f1fbfb3720056545665759bc3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99cca3ababfd87604d1385539a3634f995b99e14
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Tue Nov 6 11:57:20 2018 +0100

    cherry-ignore: add explicit 18.3 only nominations
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f34bddc325c414cb8ee21666bd307512577efdef
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Thu Nov 15 11:58:11 2018 +0000

    docs: add release notes for 18.2.5
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a56538cc6bc48d10b48250f16cbad8a5c92e34f
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Thu Nov 15 11:53:04 2018 +0000

    Update version to 18.2.5
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>




More information about the mesa-commit mailing list