Mesa (21.2): 88 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 19 16:13:30 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5d4509d3648ddfa2849c350a9eb580fb1631479
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Aug 19 09:12:51 2021 -0700

    VERSION: bump for 21.2.1 release

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d33e59a1cdb618db3f3566599ea609608fd7f85f
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Aug 19 09:12:44 2021 -0700

    docs: add release notes for 21.2.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d63b0c4e491c9327dda45b0f6c64bc61f8546b61
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Mon Aug 16 06:51:30 2021 -0700

    CI: Update Windows quick_gl baseline for mysterious new passes
    
    Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Acked-by: Daniel Stone <daniels at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12391>
    (cherry picked from commit f378799d9dd94a46c301d714cadb9eadf1c5a758)
    
    Conflicts:
    	.gitlab-ci/windows/quick_gl.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c202ad46069e685f829c94b06f4858db66c5e0dd
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 18 13:54:35 2021 -0700

    .pick_status.json: Update to 35c3f5f08b7b11f3896412fb5778f127be329615

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=384184ac70da044a8f1f877a27f24ddf47ad3b75
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jul 7 11:33:49 2021 -0500

    intel/isl: Add a missing assert in isl_tiling_get_intratile_offset_sa
    
    Fixes: a4dafe1faddb "intel/isl: Make the offset helpers four dimensional"
    Acked-by: Ivan Briano <ivan.briano at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11765>
    (cherry picked from commit eb7c28bf24366ae3c30c3a03cbe69747cde49b28)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c01036e774ce71b53d5d61e23642a5290d16bbb
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jul 7 10:52:09 2021 -0500

    intel/isl: Explicitly set offset_B = 0 in get_uncomp_surf for arrays
    
    The only user of this case is iris which initializes offset_B to 0 so
    there's no real bug here.  However, it is unexpected from an API PoV.
    
    Fixes: 9946120d2b4e "intel/isl: Add more cases to isl_surf_get_uncompressed_surf"
    Acked-by: Ivan Briano <ivan.briano at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11765>
    (cherry picked from commit 370240615421055be24c2c30e345d0454043d5e1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7afc784345f155f6736dab4d6030b37a0c434ffb
Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Fri Aug 13 20:04:51 2021 +0300

    lima: Implement lima_resource_get_param() callback
    
    Currently stride, offset, modifier is obtained by invoking
    lima_resource_get_handle() with WINSYS_HANDLE_TYPE_KMS.
    
    Before commit 47f000c170cc this path was working. Obtained handle
    was simply ignored by DRI frontend and only requested data used.
    
    After commit 47f000c170cc such requests started to fail when
    DRI is initialized using KMSRO and resource has no scanout data.
    
    When lima_resource_get_param() is implemented, it will be used in
    a first place to obtain resource data.
    
    Fixes: 47f000c170cc ("lima: fail in get_handle(TYPE_KMS) without a scanout resource")
    Signed-off-by: Roman Stratiienko <r.stratiienko at gmail.com>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Reviewed-by: Erico Nunes <nunes.erico at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12362>
    (cherry picked from commit 5ec6b6e9bbf607935cf864e63c9b555621fca590)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d4f8e7e6a0492fbbafe7faef7232f29e99b1a38
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri Aug 13 16:39:09 2021 +0200

    glsl/opt_algebraic: disable invalid optimization
    
    When operators other than eq and ne are involved we can't really
    move operands around and negate them because such transformation
    may change the value of the whole expression.
    
    Some examples:
    
    For unsigned var:
    0 >= 1u + var would eventually become 0xffffffff >= var,
    which would always evaluate to true, when original expression
    was true only for var == 0xffffffff.
    
    For signed var:
    0 >= 1 + var would become -1 >= var, which would evaluate to
    false for var == 2147483647, when original expression evaluated
    to true (because signed overflow is defined to wrap around in
    glsl, 1 + 2147483647 == -2147483648, so 0 >= -2147483648).
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5226
    Fixes: 34ec1a24d61 ("glsl: Optimize (x + y cmp 0) into (x cmp -y).")
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12359>
    (cherry picked from commit 89bc8ff4083029187f099af531e4db0e223c62ca)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40bdd9aad581a4b60bd5c30937cef098b4eeb84d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Aug 17 10:33:43 2021 -0700

    .pick_status.json: Update to 726fdf3385428b52b773e9049ce6033d02c631c1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bfddefadf94331403f118e8bed4cb9ab5b32616
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Aug 13 17:36:59 2021 +0000

    panfrost: Rewrite the clear colour packing code
    
    At the beginning of a render pass, the hardware will fill the tilebuffer
    with an arbitrary 128-bit word. To implement colour clears, the driver
    must pack the API-specific clear colour according to the 128-bit layout
    of the tilebuffer. This layout depends only on the render target format.
    
    The existing code to handle this was based on loose guesswork. It works
    for the format / clear colour combinations tested in dEQP-GLES3, but it
    is severely deficient in the general case.  It works by matching on the
    PIPE format of the render target (not the layout of the tilebuffer). For
    special cased PIPE formats, it open codes a buggy pack routine.
    Otherwise, it defaults to util_pack_color in the hope that will work.
    Since util_pack_color doesn't know anything about Mali tilebuffer
    layouts, that means it's defaulting to wrong behaviour.
    
    Now that we understand internal tilebuffer layouts, let's rewrite the
    packing code. Instead of matching PIPE formats, map the PIPE format to
    the internal tilebuffer layout using the common table, ensuring the
    mapping remains in sync with the render target descriptor. Then for
    blendable tilebuffer formats, pack using a common float -> fixed point
    path supporting optional sRGB translation. Raw formats use
    util_pack_color as before.
    
    For formats with less than 8 bits per channel, the new code uses the
    fractional bits of the fixed-point representation. This is required for
    correct dithering if the clear colour is not exactly representable in
    the final low precision format.
    
    In summary, at least the following bugs in the old code are fixed:
    
       * Swapped R/B channels with sRGB
       * Swapped R/B channels with some missing formats
       * Incorrect dithering with RGB565, RGB5_A1
    
    Fixes the following test cases:
    
       dEQP-EGL.functional.wide_color.window_8888_colorspace_srgb
       dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_srgb
       dEQP-EGL.functional.wide_color.window_888_colorspace_srgb
       dEQP-EGL.functional.wide_color.pbuffer_888_colorspace_srgb
    
    Later in the series, unit tests are added for the new implementation.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12365>
    (cherry picked from commit b9c095cc2c6874625a50805b7914cca74b8742bb)
    
    Conflicts:
    	src/panfrost/lib/pan_util.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d5da6b0b473f8ed5ea9c375e9c01ca41791f600
Author: Icecream95 <ixn at disroot.org>
Date:   Sun Aug 8 14:08:08 2021 +1200

    panfrost: Only allow colour blit shaders to be killed
    
    Fixes timeouts in SuperTuxKart with the advanced rendering pipeline.
    
    Fixes: d0344619214 ("panfrost: Set allow_forward_pixel_to_be_killed for blit")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12267>
    (cherry picked from commit 0624346a20604eeabd5aa1c88811449ef9473ed4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4637f20a3491373a529a0cf8bcb3274839b9a6d2
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Aug 12 17:39:15 2021 +0000

    panfrost: Fix leak of render node fd
    
    Transfer ownership of the render node fd to the panfrost_device (minor
    change to panvk), and then close the file descriptor for the render node
    bound to the panfrost_device when destroying the panfrost_device. Of all
    the users of panfrost_open_device, panvk is the only one that correctly
    closed the fd before. Accordingly, this fixes an fd leak in the Gallium
    driver (and performance counter utilities).
    
    This fix still applies to the Gallium driver when renderonly is in use--
    although renderonly closes its own fd, the fd is _duplicated_ in
    panfrost_drm_winsys.c, so renderonly and panfrost must _both_ close
    their respective fd to fix the leak.
    
    This fixes a crash when running dEQP-EGL for more than two hours.
    dEQP-EGL creates a new screen for every test case and then immediately
    destroys it. If destroying a screen leaks the fd, this causes the number
    of open file descriptors to increase monotonically until the process
    ends. This will eventually hit the system limit for number of open files
    and abort the process.
    
    This bug was identified while attempting to run the OpenGL ES
    conformance tests via cts-runner, and then confirmed with `lsof`. With
    the fix, the number of file descriptors reported by `lsof | wc -l` is
    now constant while running dEQP-EGL as expected.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12346>
    (cherry picked from commit 76377de99bf685ada1fbaf9fe38fb80d88d33aeb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8ec9da966ad698e7a9fff106892b2c004f6516a
Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Tue Aug 10 20:22:36 2021 +0300

    AOSP: Update timestamps of target binaries
    
    Fixes warning during the build and unnecessary rule execution:
    ***
    ninja: Missing `restat`? An output file is older than the most recent input:
    ***
    
    Fixes: 8621bd8d5e67 ("android: Add scripts to build using meson")
    Signed-off-by: Roman Stratiienko <r.stratiienko at gmail.com>
    Tested-by: Mauro Rossi <issor.oruam at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12304>
    (cherry picked from commit 21de785562b05ec08252b0e16634a125646faa63)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0702cd0685471bd638f3d6c1c8c9214d6d44ba59
Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Tue Aug 10 13:10:44 2021 +0300

    AOSP: Extract version from libdrm instead of hardcoding it.
    
    mesa3d require up-to-date version of libdrm.
    Hardcoding it to 2.4.105 is wrong.
    
    Fixes: 8621bd8d5e67 ("android: Add scripts to build using meson")
    Signed-off-by: Roman Stratiienko <r.stratiienko at gmail.com>
    Tested-by: Mauro Rossi <issor.oruam at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12304>
    (cherry picked from commit a70ff21efbb48f851c5cdd10c43c4c8a3d49b071)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50c489f2a0d125bbe9a0fc37774359993dcf0230
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sat Aug 8 16:07:49 2020 +0200

    isl: drop left-over comment
    
    Fixes: cf9ff082b48779c52fa6 ("isl: Bring back isl_format_layout::bpb")
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
    (cherry picked from commit 773a70f9cb1c53b55f629fab812abb0c47db42fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=533a3ebdd070bf011b57fcc03a1f03ae3d12022b
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sat Aug 8 16:10:16 2020 +0200

    Revert "python: Explicitly add the 'L' suffix on Python 3"
    
    This reverts commit ad363913e6766280f53838126d67370f9e97aa12.
    
    This code was added to be able to compare the output file while porting
    the script from python2 to python3, but this has long been finished and
    the extra complexity is not needed anymore.
    
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
    (cherry picked from commit 93cb3aca0347bf4a9ed31226627672b178841cfb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca9ab792c6fcb752d868e09461831d992ff07c6f
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Aug 12 18:54:49 2021 +0000

    drm-shim: Support kernels with >4k pages
    
    mmap requires its offset is page aligned, but the current code only
    guarantees 4k alignment, causing drm-shim to break badly on kernels with
    >4k page sizes. This fixes drm-shim on my Apple M1, running bare metal
    Linux with 16k pages. It probably also fixes exotic PowerPC systems with
    64k pages.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Zoltan Boszormenyi <zboszor at gmail.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12347>
    (cherry picked from commit 38f39cc1e21569c1bc0ffa56d402d042761be16c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=568dc0811df054fa71f389195ef2c22f950bbcc6
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Aug 16 11:40:25 2021 -0700

    .pick_status.json: Update to 441e490f5a13d96255810f38260445437033be63

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ed17f746519b3095d287f836dfd0ba66bdbf950
Author: Michel Zou <xantares09 at hotmail.com>
Date:   Mon Jun 14 15:57:17 2021 +0200

    radv: fix build with mingw
    
    Cc: 21.2 mesa-stable
    Reviewed-by: Joshua Ashton <joshua at froggi.es>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    
    Closes #5092
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12178>
    (cherry picked from commit e4c0a34bfe4c9cc45eba06363bce43fbce5b2813)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=809b4d1356f86b13c50ebf30cfb399f0cf55e78e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Aug 11 12:57:37 2021 +0300

    anv/android: handle image bindings from gralloc buffers
    
    When creating an image out of a swapchain on Android, the android
    layer call will detect a VkBindImageMemorySwapchainInfoKHR in the
    pNext chain of the vkBindImageMemory2() call and add a
    VkNativeBufferANDROID in the chain. This is what we should use as
    backing memory for that image.
    
    v2: Fix a couple of obvious mistakes (Tapani)
    
    v3: Silence build warning (Lionel)
        Fix invalid object argument to vk_error() (Lionel)
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: bc3c71b87ae0b8 ("anv: don't try to access Android swapchains")
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5180
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12244>
    (cherry picked from commit 19b7bbba7300c013dca67f931cad3e55dfc3722b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac87f88cffdd7fdf0344fbf96029f362f42b86ba
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Aug 9 14:24:07 2021 -0700

    nir: Initialize evaluate_cube_face_index_amd dst.x.
    
    Fix defect reported by Coverity Scan.
    
    Uninitialized scalar variable (UNINIT)
    uninit_use: Using uninitialized value dst.x.
    
    Fixes: a1a2a8dfda7 ("nir: add AMD_gcn_shader extended instructions")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12290>
    (cherry picked from commit 8d679f4f4e8d33402f11ab3da93ff815e4c44538)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c26804eea40372d1b4e9d5c1f7492c400694861
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Aug 9 18:12:22 2021 -0700

    meson: Remove duplicate xvmc in build summary.
    
    Fixes: d30ce03bc07 ("meson: add build-summary")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12296>
    (cherry picked from commit c0fc745b78bc84b07f43b0114e2fac54938eca63)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7e77b7708c0c747fafdef8c116dbc9a43ba48e4
Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Tue Aug 10 20:52:45 2021 +0200

    util: Fix translate from block compressed to rgba
    
    Since
    2b5178ee util: Switch the non-block formats to unpacking rgba rows instead of rects,
    compressed formats define unpack_rgba_8unorm_rect instead
    of unpack_rgba_8unorm.
    
    Fixes the u_format_translate check to take this into account.
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5201
    Fixes: 2b5178ee ("util: Switch the non-block formats to unpacking rgba rows instead of rects")
    
    Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12315>
    (cherry picked from commit 6a0e703512d7e22cbd3fddf3ae20ba46f53dd199)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=449df77f5eb1c41bec5b690bd7ae0178ed970b0a
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Aug 13 10:28:31 2021 -0700

    .pick_status.json: Update to 04bd2a12451160609b6f163e1a86437948a48fcd

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=996946b3fee607e24460da76fea85c556c106877
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Fri Aug 6 17:23:19 2021 +0200

    aux/cso: try harder to keep cso state in sync on cso context unbind
    
    Before a73cb106a677, cso contexts were never reused, but now that they
    are we need to be extra careful that the state in the cso context and
    in the pipe context matches even after an unbind, since when the cso
    context is reused the state might otherwise get out of sync (as there is
    no concept of "initial state", basically cso always relied on the default
    values being the same both in cso and the drivers).
    This fixes some errors we've seen internally with lavapipe.
    
    Fixes: a73cb106a677 ("aux/cso: split cso_destroy_context into unbind and a destroy functions")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12261>
    (cherry picked from commit 513fb5438b4466254af9219f4cd3ede5063394c6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1b3eff8d2f1b6d27d506f8d137f95e5704e3e64
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Aug 2 21:33:17 2021 -0700

    intel/fs: sel.cond writes the flags on Gfx4 and Gfx5
    
    On Gfx4 and Gfx5, sel.l (for min) and sel.ge (for max) are implemented
    using a separte cmpn and sel instruction.  This lowering occurs in
    fs_vistor::lower_minmax which is called very, very late... a long, long
    time after the first calls to opt_cmod_propagation.  As a result,
    conditional modifiers can be incorrectly propagated across sel.cond on
    those platforms.
    
    No tests were affected by this change, and I find that quite shocking.
    After just changing flags_written(), all of the atan tests started
    failing on ILK.  That required the change in cmod_propagatin (and the
    addition of the prop_across_into_sel_gfx5 unit test).
    
    Shader-db results for ILK and GM45 are below.  I looked at a couple
    before and after shaders... and every case that I looked at had
    experienced incorrect cmod propagation.  This affected a LOT of apps!
    Euro Truck Simulator 2, The Talos Principle, Serious Sam 3, Sanctum 2,
    Gang Beasts, and on and on... :(
    
    I discovered this bug while working on a couple new optimization
    passes.  One of the passes attempts to remove condition modifiers that
    are never used.  The pass made no progress except on ILK and GM45.
    After investigating a couple of the affected shaders, I noticed that
    the code in those shaders looked wrong... investigation led to this
    cause.
    
    v2: Trivial changes in the unit tests.
    
    v3: Fix type in comment in unit tests.  Noticed by Jason and Priit.
    
    v4: Tweak handling of BRW_OPCODE_SEL special case.  Suggested by Jason.
    
    Fixes: df1aec763eb ("i965/fs: Define methods to calculate the flag subset read or written by an fs_inst.")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Tested-by: Dave Airlie <airlied at redhat.com>
    
    Iron Lake
    total instructions in shared programs: 8180493 -> 8181781 (0.02%)
    instructions in affected programs: 541796 -> 543084 (0.24%)
    helped: 28
    HURT: 1158
    helped stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
    helped stats (rel) min: 0.35% max: 0.86% x̄: 0.53% x̃: 0.50%
    HURT stats (abs)   min: 1 max: 3 x̄: 1.14 x̃: 1
    HURT stats (rel)   min: 0.12% max: 4.00% x̄: 0.37% x̃: 0.23%
    95% mean confidence interval for instructions value: 1.06 1.11
    95% mean confidence interval for instructions %-change: 0.31% 0.38%
    Instructions are HURT.
    
    total cycles in shared programs: 239420470 -> 239421690 (<.01%)
    cycles in affected programs: 2925992 -> 2927212 (0.04%)
    helped: 49
    HURT: 157
    helped stats (abs) min: 2 max: 284 x̄: 62.69 x̃: 70
    helped stats (rel) min: 0.04% max: 6.20% x̄: 1.68% x̃: 1.96%
    HURT stats (abs)   min: 2 max: 48 x̄: 27.34 x̃: 24
    HURT stats (rel)   min: 0.02% max: 2.91% x̄: 0.31% x̃: 0.20%
    95% mean confidence interval for cycles value: -0.80 12.64
    95% mean confidence interval for cycles %-change: -0.31% <.01%
    Inconclusive result (value mean confidence interval includes 0).
    
    GM45
    total instructions in shared programs: 4985517 -> 4986207 (0.01%)
    instructions in affected programs: 306935 -> 307625 (0.22%)
    helped: 14
    HURT: 625
    helped stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
    helped stats (rel) min: 0.35% max: 0.82% x̄: 0.52% x̃: 0.49%
    HURT stats (abs)   min: 1 max: 3 x̄: 1.13 x̃: 1
    HURT stats (rel)   min: 0.12% max: 3.90% x̄: 0.34% x̃: 0.22%
    95% mean confidence interval for instructions value: 1.04 1.12
    95% mean confidence interval for instructions %-change: 0.29% 0.36%
    Instructions are HURT.
    
    total cycles in shared programs: 153827268 -> 153828052 (<.01%)
    cycles in affected programs: 1669290 -> 1670074 (0.05%)
    helped: 24
    HURT: 84
    helped stats (abs) min: 2 max: 232 x̄: 64.33 x̃: 67
    helped stats (rel) min: 0.04% max: 4.62% x̄: 1.60% x̃: 1.94%
    HURT stats (abs)   min: 2 max: 48 x̄: 27.71 x̃: 24
    HURT stats (rel)   min: 0.02% max: 2.66% x̄: 0.34% x̃: 0.14%
    95% mean confidence interval for cycles value: -1.94 16.46
    95% mean confidence interval for cycles %-change: -0.29% 0.11%
    Inconclusive result (value mean confidence interval includes 0).
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12191>
    (cherry picked from commit 38807ceeaeb8d31c03f412726e72bee55bd21e32)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b619ba386ed200dc705d957f943ebeb9ac7c54f
Author: Dave Airlie <airlied at gmail.com>
Date:   Wed Aug 11 13:34:26 2021 -0400

    crocus: align staging resource pitch on gen4/5 to allow BLT usage.
    
    Aligning the pitch to 4 bytes allows the BLT engine to be used for
    transfers to/from these surfaces.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12329>
    (cherry picked from commit 593ad9294bee4a735b5ad5bccd4537c23b9eb738)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76a0aced29df590ee3725d07787995cc5a6b56be
Author: Dave Airlie <airlied at gmail.com>
Date:   Wed Aug 11 13:32:41 2021 -0400

    crocus/blt: add pitch/offset checks to fix blt corruption
    
    I lost these in my conversion from i965 but they are necessary.
    
    This should fix corruption in qt fonts at seen in the minecraft
    launcher.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12329>
    (cherry picked from commit 58e95f99bd5dde83eb2a7ab6d1ee2735eed432d9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39a91b3d3acc6e78f82537adb1d2ec8e44acc10b
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Aug 12 10:06:37 2021 -0700

    .pick_status.json: Update to 688d11e4e821ec3934abe571de9899390beceb54

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fb386c48dcfb6ca1db0f1d1987625bd07ba2787
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 6 14:20:25 2021 -0700

    Revert "nir/algebraic: Convert some f2u to f2i"
    
    Per https://gitlab.freedesktop.org/mesa/mesa/-/issues/5178#note_1019666,
    the assumption fundamental to this optimization is false.  Section
    2.4.1 (Float to Integer) of Ivy Bridge PRMs describes the situation.
    The wording of the section is somewhat confusing (because it doesn't
    clearly delineate between signed and unsigned integers), but the last
    two rows of the table make it clear that F->UD conversion clamps
    negative float values to 0.
    
    All other hardware mentioned in that thread seems to behave the same
    way.
    
    The real problem is that, with hardware that behaves in this ways,
    converting f2u(2147483648.0) to f2i(2147483648.0) changes the bit pattern
    that would be produced from 0x80000000 to 0x7fffffff.
    
    This reverts commit ad059202583e8c86bbccf0d65c5ce35bc4ab20f1.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12297>
    (cherry picked from commit 84d2e537890acea01da2795e5dd3bac1319635f5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d2727b2dc350bad12e0eaa8efb1482968fd15e7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Jul 19 19:33:12 2021 +0300

    nir/lower_shader_calls: remove empty phis
    
    This is confusing opt_cse.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 8dfb240b1f0633 ("nir: Add raytracing shader call lowering pass.")
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11953>
    (cherry picked from commit 01b0935d315347cfd06bb5d8bb1a6b59913f94cc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcf16071a7bd2c61fc2ce337135fd354f398a8aa
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri Aug 6 12:14:38 2021 +0200

    nir/builder: invalidate metadata per function
    
    Fixes: a62098fff20 ("nir: Add a helper for general instruction-modifying passes.")
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12324>
    (cherry picked from commit e1b325f58730d8fd82829c538c9e83aa193c4eba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e4967c1846f2d6eeb08697746d032f0a237f45d
Author: Icecream95 <ixn at disroot.org>
Date:   Sun Aug 8 20:57:30 2021 +1200

    pan/bi: Use the computed scale for fexp NaN propagation
    
    This makes pow(NaN, x) return NaN rather than 1.0.
    
    Fixes: 499397700c1 ("pan/bi: Don't lower fpow")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5189
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12269>
    (cherry picked from commit ee2bb57f1ed2f19024adaf4f178a893354c680ae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c64a3bc148390174a3b1140e56551645bd66329a
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Mon Aug 9 21:44:21 2021 +0100

    pick-ui: show commit date
    
    With our ff-only merge setup, the commit date ends up being when the
    commit actually landed (as opposed to when it was first written).
    
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
    (cherry picked from commit 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2d700117bda76d0a7444ac3beda1934ed61ef12
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Mon Aug 9 21:23:08 2021 +0100

    pick-ui: show nomination type in the UI
    
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
    (cherry picked from commit 7ec42b5edafcce3f160e6c564bfc5ac616d82ad7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56c084a749d1a1d633cc498ac1f3488d232f26fc
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Apr 29 18:51:30 2020 +0200

    pick-ui: drop assert that optional argument is passed
    
    Let's just make it not-optional instead.
    
    Signed-off-by: Eric Engestrom <eric at engestrom.ch>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
    (cherry picked from commit db14f2a9326a3dfefd2abbf937641f7ab92024a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a1f12a488688ceffd50ff8b3dd0a221e4abf044
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Jul 6 12:55:23 2021 -0400

    nir/lower_mediump: Fix metadata in all passes
    
    Fixes: fb29cef8dda ("nir: add many passes that lower and optimize 16-bit input/outputs and samplers")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11732>
    (cherry picked from commit 9b57a81815c54b3eb01b711761bc3856d722995d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b0f88e7e541e6d3cb51b0861df08de16c323aaa
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jun 16 14:54:46 2021 -0400

    nir/lower_mediump_io: Don't remap base unless needed
    
    Otherwise drivers that don't use 16-bit slots for varyings will get
    confused and have their driver_locations scribbled over. This has caused
    multiple problems for both Panfrost and Asahi this week. Given the only
    other user of the pass for varyings is radeonsi, which needs both
    together, I think this is the least controversial fix.
    
    Fixes: fb29cef8dda ("nir: add many passes that lower and optimize 16-bit input/outputs and samplers")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11732>
    (cherry picked from commit 03c18f7efc4398f3a2ef1630bb40c6820aedd0dd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b750b385cf4d90343329abfea5de1db9ea7f15a6
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 11 08:46:50 2021 -0700

    .pick_status.json: Update to 01b0935d315347cfd06bb5d8bb1a6b59913f94cc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71876890b6bd1161af1ae54f363e85bf0166baf3
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Jul 28 10:33:50 2021 +0300

    crocus: disable depth and d+s formats with memory objects
    
    This is similar to i965 commit ba11f673a24, we set depth and
    d+s formats unsupported for now.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=962178d5ab60ac329049e35a85508dc2ff16a35a
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Jul 28 10:21:52 2021 +0300

    crocus: take a reference to memobj bo in crocus_resource_from_memobj
    
    This is the same fix as commit 2d87ea31665 for iris driver.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51310d7c30f90aa1177dcb5a2e71e1bbb00d8768
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Aug 4 17:38:12 2021 +1000

    intel/vec4: sel.cond writes the flags on Gfx4 and Gfx5
    
    This is the equivalent of idr's
    intel/fs: sel.cond writes the flags on Gfx4 and Gfx5
    
    except for the vec4 backend.
    
    This fixes buggy rendering seen with crocus on a qt trace.
    
    v2 (idr): Trivial whitespace change.  Add unit tests.
    
    v3: Fix type in comment in unit tests.  Noticed by Jason and Priit.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    
    Iron Lake
    total instructions in shared programs: 8183077 -> 8184543 (0.02%)
    instructions in affected programs: 198990 -> 200456 (0.74%)
    helped: 0
    HURT: 1355
    HURT stats (abs)   min: 1 max: 8 x̄: 1.08 x̃: 1
    HURT stats (rel)   min: 0.29% max: 6.00% x̄: 0.99% x̃: 0.70%
    95% mean confidence interval for instructions value: 1.04 1.12
    95% mean confidence interval for instructions %-change: 0.96% 1.03%
    Instructions are HURT.
    
    total cycles in shared programs: 238967672 -> 238962784 (<.01%)
    cycles in affected programs: 4666014 -> 4661126 (-0.10%)
    helped: 406
    HURT: 314
    helped stats (abs) min: 4 max: 54 x̄: 22.46 x̃: 18
    helped stats (rel) min: <.01% max: 12.80% x̄: 1.82% x̃: 0.65%
    HURT stats (abs)   min: 2 max: 112 x̄: 13.48 x̃: 12
    HURT stats (rel)   min: <.01% max: 7.82% x̄: 0.81% x̃: 0.16%
    95% mean confidence interval for cycles value: -8.60 -4.98
    95% mean confidence interval for cycles %-change: -0.87% -0.49%
    Cycles are helped.
    
    GM45
    total instructions in shared programs: 4986888 -> 4988354 (0.03%)
    instructions in affected programs: 198990 -> 200456 (0.74%)
    helped: 0
    HURT: 1355
    HURT stats (abs)   min: 1 max: 8 x̄: 1.08 x̃: 1
    HURT stats (rel)   min: 0.29% max: 6.00% x̄: 0.99% x̃: 0.70%
    95% mean confidence interval for instructions value: 1.04 1.12
    95% mean confidence interval for instructions %-change: 0.96% 1.03%
    Instructions are HURT.
    
    total cycles in shared programs: 153577826 -> 153572938 (<.01%)
    cycles in affected programs: 4666014 -> 4661126 (-0.10%)
    helped: 406
    HURT: 314
    helped stats (abs) min: 4 max: 54 x̄: 22.46 x̃: 18
    helped stats (rel) min: <.01% max: 12.80% x̄: 1.82% x̃: 0.65%
    HURT stats (abs)   min: 2 max: 112 x̄: 13.48 x̃: 12
    HURT stats (rel)   min: <.01% max: 7.82% x̄: 0.81% x̃: 0.16%
    95% mean confidence interval for cycles value: -8.60 -4.98
    95% mean confidence interval for cycles %-change: -0.87% -0.49%
    Cycles are helped.
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e71eb0f2eadd44eb8986200b1600469d75a72e65
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Aug 2 21:33:17 2021 -0700

    intel/fs: sel.cond writes the flags on Gfx4 and Gfx5
    
    On Gfx4 and Gfx5, sel.l (for min) and sel.ge (for max) are implemented
    using a separte cmpn and sel instruction.  This lowering occurs in
    fs_vistor::lower_minmax which is called very, very late... a long, long
    time after the first calls to opt_cmod_propagation.  As a result,
    conditional modifiers can be incorrectly propagated across sel.cond on
    those platforms.
    
    No tests were affected by this change, and I find that quite shocking.
    After just changing flags_written(), all of the atan tests started
    failing on ILK.  That required the change in cmod_propagatin (and the
    addition of the prop_across_into_sel_gfx5 unit test).
    
    Shader-db results for ILK and GM45 are below.  I looked at a couple
    before and after shaders... and every case that I looked at had
    experienced incorrect cmod propagation.  This affected a LOT of apps!
    Euro Truck Simulator 2, The Talos Principle, Serious Sam 3, Sanctum 2,
    Gang Beasts, and on and on... :(
    
    I discovered this bug while working on a couple new optimization
    passes.  One of the passes attempts to remove condition modifiers that
    are never used.  The pass made no progress except on ILK and GM45.
    After investigating a couple of the affected shaders, I noticed that
    the code in those shaders looked wrong... investigation led to this
    cause.
    
    v2: Trivial changes in the unit tests.
    
    v3: Fix type in comment in unit tests.  Noticed by Jason and Priit.
    
    v4: Tweak handling of BRW_OPCODE_SEL special case.  Suggested by Jason.
    
    Fixes: df1aec763eb ("i965/fs: Define methods to calculate the flag subset read or written by an fs_inst.")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Tested-by: Dave Airlie <airlied at redhat.com>
    
    Iron Lake
    total instructions in shared programs: 8180493 -> 8181781 (0.02%)
    instructions in affected programs: 541796 -> 543084 (0.24%)
    helped: 28
    HURT: 1158
    helped stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
    helped stats (rel) min: 0.35% max: 0.86% x̄: 0.53% x̃: 0.50%
    HURT stats (abs)   min: 1 max: 3 x̄: 1.14 x̃: 1
    HURT stats (rel)   min: 0.12% max: 4.00% x̄: 0.37% x̃: 0.23%
    95% mean confidence interval for instructions value: 1.06 1.11
    95% mean confidence interval for instructions %-change: 0.31% 0.38%
    Instructions are HURT.
    
    total cycles in shared programs: 239420470 -> 239421690 (<.01%)
    cycles in affected programs: 2925992 -> 2927212 (0.04%)
    helped: 49
    HURT: 157
    helped stats (abs) min: 2 max: 284 x̄: 62.69 x̃: 70
    helped stats (rel) min: 0.04% max: 6.20% x̄: 1.68% x̃: 1.96%
    HURT stats (abs)   min: 2 max: 48 x̄: 27.34 x̃: 24
    HURT stats (rel)   min: 0.02% max: 2.91% x̄: 0.31% x̃: 0.20%
    95% mean confidence interval for cycles value: -0.80 12.64
    95% mean confidence interval for cycles %-change: -0.31% <.01%
    Inconclusive result (value mean confidence interval includes 0).
    
    GM45
    total instructions in shared programs: 4985517 -> 4986207 (0.01%)
    instructions in affected programs: 306935 -> 307625 (0.22%)
    helped: 14
    HURT: 625
    helped stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
    helped stats (rel) min: 0.35% max: 0.82% x̄: 0.52% x̃: 0.49%
    HURT stats (abs)   min: 1 max: 3 x̄: 1.13 x̃: 1
    HURT stats (rel)   min: 0.12% max: 3.90% x̄: 0.34% x̃: 0.22%
    95% mean confidence interval for instructions value: 1.04 1.12
    95% mean confidence interval for instructions %-change: 0.29% 0.36%
    Instructions are HURT.
    
    total cycles in shared programs: 153827268 -> 153828052 (<.01%)
    cycles in affected programs: 1669290 -> 1670074 (0.05%)
    helped: 24
    HURT: 84
    helped stats (abs) min: 2 max: 232 x̄: 64.33 x̃: 67
    helped stats (rel) min: 0.04% max: 4.62% x̄: 1.60% x̃: 1.94%
    HURT stats (abs)   min: 2 max: 48 x̄: 27.71 x̃: 24
    HURT stats (rel)   min: 0.02% max: 2.66% x̄: 0.34% x̃: 0.14%
    95% mean confidence interval for cycles value: -1.94 16.46
    95% mean confidence interval for cycles %-change: -0.29% 0.11%
    Inconclusive result (value mean confidence interval includes 0).
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c24604acb85bb3153b4f5a66cea17f78db711b79
Author: Dave Airlie <airlied at gmail.com>
Date:   Wed Aug 11 13:34:26 2021 -0400

    crocus: align staging resource pitch on gen4/5 to allow BLT usage.
    
    Aligning the pitch to 4 bytes allows the BLT engine to be used for
    transfers to/from these surfaces.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9287281d11017e65769df357e9c0cd970afb498
Author: Dave Airlie <airlied at gmail.com>
Date:   Wed Aug 11 13:32:41 2021 -0400

    crocus/blt: add pitch/offset checks to fix blt corruption
    
    I lost these in my conversion from i965 but they are necessary.
    
    This should fix corruption in qt fonts at seen in the minecraft
    launcher.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12330>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=403e7213b28387e8e19af73cb002d3eea2285cb5
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Aug 8 17:12:58 2021 +0200

    radv: Use correct signedness in misalign test.
    
    Lots of the MAX2 args end up subtracting two unsigned numbers, which
    blows up when the result is negative.
    
    Fixes: 4c99d6ff54b ("radv: flush L2 for images affected by the pipe misaligned issue on GFX10+")
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12272>
    (cherry picked from commit b2b1e8e40a69bea59df3414d9f100b6bf809cd8e)
    
    Conflicts:
    	src/amd/vulkan/radv_image.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b17e7ddbaeede47a2f7610b774dd5039bf433814
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri Aug 6 10:49:29 2021 +0200

    glsl: evaluate switch expression once
    
    v2: intialize test_val in constructor
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5185
    
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Cc: mesa-stable
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12234>
    (cherry picked from commit bdae3c366e1b8bda26702fdbdf9e6d8fab446cb2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de052dfae4a9f95ea0b4fa56aa6bf241a0fbefa2
Author: Lucas Stach <l.stach at pengutronix.de>
Date:   Wed Jan 15 12:07:44 2020 +0100

    etnaviv: always try to create KMS side handles for imported resources
    
    By creating the KMS side handles we allow GBM to return the proper KMS
    side GEM handles for imported buffers. Always creating the KMS side
    handles adds a bit of overhead, as we don't need them on all imported
    resources, but seems like the most robust solution for now.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12018>
    (cherry picked from commit 826f95778a4edf7ed912fb5f90a05febfbd3e037)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8812a86b2953c64ad1db569bd1898cca0e7fa92
Author: Lucas Stach <l.stach at pengutronix.de>
Date:   Wed Oct 28 19:53:43 2020 +0100

    renderonly: don't complain when GPU import fails
    
    There are a number of drivers which do a trial-and-error import
    of buffers into the KMS side via renderonly. Some of those imports
    are expected to fail, so we should not print a error message in
    this case. All callers do proper error handling themselves.
    
    Cc: mesa-stable
    Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12018>
    (cherry picked from commit 1bc22a2eabe9e9d7fd013f188e3e532fb797ea89)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=936b18f89e0fa796b606869ef4b6abfedf55f9e1
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Aug 10 10:36:48 2021 -0700

    .pick_status.json: Update to 0dd0a92b243487e83d8d96532873f319719248e5

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae1c19cc9e35603791d686c4cdbe36e5c56b2bad
Author: Thong Thai <thong.thai at amd.com>
Date:   Fri Aug 6 14:42:44 2021 -0400

    frontends/va/postproc: Keep track of deinterlacing method being used
    
    When transcoding a video, the context used by decode/postproc process
    might be different from that of the encoder, but we encoder needs to
    know if deinterlacing was used.
    
    Fixes: c5088b49729 ("gallium: Fix VAAPI postproc blit")
    Signed-off-by: Thong Thai <thong.thai at amd.com>
    Reviewed-by: Leo Liu <leo.liu at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12251>
    (cherry picked from commit 3cafe333e99f8ce77c742543a47f3700852b44ea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50c6394450bbb87cfd1a2792ed222adeb9f259dd
Author: Thong Thai <thong.thai at amd.com>
Date:   Fri Aug 6 10:42:00 2021 -0400

    gallium/util: add half texel offset param to util_compute_blit
    
    Fixes an issue where the video image is blurry after blitting.
    
    Fixes: c5088b49729 ("gallium: Fix VAAPI postproc blit")
    Signed-off-by: Thong Thai <thong.thai at amd.com>
    Reviewed-by: Leo Liu <leo.liu at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12251>
    (cherry picked from commit 5dace8e0fb9c1dc9a0de062d6747cf4c3e2e819f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94acf7bfaf2490fcd74fcbae270d408aaad1afd1
Author: Thong Thai <thong.thai at amd.com>
Date:   Fri Aug 6 14:32:40 2021 -0400

    gallium/auxiliary/vl: Add additional deinterlace enum and tracking
    
    Add additional deinterlace enums and a deinterlace field to the
    vl_compositor struct, so we can keep track of which deinterlacing
    algorithm is currently being used, if any.
    
    Signed-off-by: Thong Thai <thong.thai at amd.com>
    Reviewed-by: Leo Liu <leo.liu at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12251>
    (cherry picked from commit 675508dd81da8d77f179c6cc7831caaa2cbde094)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c5f49cb3d561c587d41aafb9d886edf5ba60149
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Aug 5 18:52:19 2021 +0200

    radv: flush caches before performing separate depth/stencil aspect init
    
    It's a RMW operation, also note that DB doesn't use L2 on GFX6-8.
    
    Fixes test_clear_depth_stencil_view() and test_discard_resource() tests
    from vkd3d-proton.
    
    Cc: 21.2 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12223>
    (cherry picked from commit 7ae3881a4bf989436b602b30b9a91602435e47a6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=292c7163c8dfbdff731d3e8c6d8c2372f7049740
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Aug 8 14:37:52 2021 +0200

    radv: Allocate space for inline push constants.
    
    In the compute dispatch path we do not allocate a huge amount
    of space to cover everything so the individual functions have to
    allocate. This was missing here, causing a hang in Cyberpunk when
    accessing the system menu at some locations with thread tracing
    enabled.
    
    Fixes: bd1186572f6 ("radv: add support for push constants inlining when possible")
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12271>
    (cherry picked from commit 02b601594587e8d7462a353039108241aa4ab81a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d018d2dba19566c79466bd5674489f38ac23f8c
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Aug 6 14:53:33 2021 +0200

    panfrost: Fix pan_blitter_emit_bifrost_blend()
    
    If we return inside a pan_pack() the descriptor packing doesn't happen.
    
    Cc: mesa-stable
    Fixes: 8ba2f9f69858 ("panfrost: Create a blitter library to replace the existing preload helpers")
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12239>
    (cherry picked from commit 06fc6e46f039712aa03e1b0c6d14a5159b9c50b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8446f10145b910c40b7efc9600f50e07fe321f87
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Jul 21 17:06:30 2021 +0100

    nir/algebraic: fix imod by negative power-of-two
    
    If "a" is a multiple of "b", then the result would have been "b" instead
    of 0.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Fixes: 0ef5f3552f6 ("nir: add strength reduction pattern for imod/irem with pow2 divisor.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12039>
    (cherry picked from commit ec4b425f596d5bbe4c2401b9cfc08d7c9eaa36b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c63674ee712a63c2f72bfc515fdf78e5cfc8d590
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Aug 5 17:47:02 2021 +0200

    radv: fix initializing the DS clear metadata value for separate aspects
    
    We shouldn't overwrite the clear value of the other aspect (in case
    separate depth/stencil layouts are used).
    
    Found by inspection.
    
    Cc: 21.2 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12222>
    (cherry picked from commit 1db36422b974094fc7ced81b734143b4f4aec302)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee5df9e744845fe473a94853c210c547bde2985e
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jul 30 11:48:28 2021 +0200

    radeonsi: don't create an infinite number of variants
    
    If a shader has code like this:
    
       uniform float timestamp;
       ...
       if (timestamp > 0.0)
          do_something()
    
    And timestamp is modified each frame, we'll end up generating a new
    variant per frame.
    
    This commit introduces a hard limit on the number of variants we generate
    for a single shader.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5121
    Fixes: b7501184b90 ("radeonsi: implement inlinable uniforms")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12138>
    (cherry picked from commit 9fe8ae3fcde8d7608d5b03ace51a4a3cebf18fee)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccf4743977bfaec039b3ea38a866ed6a0e119512
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Aug 7 23:31:00 2021 +0200

    util/fossilize_db: Add extra flock mutex.
    
    The flock is per-fd, not per thread, and we do it outside of the main mutex. This was
    done to avoid having to wait in the mutex, but we can get a case where one ends up running
    the body with the flock unlocked.
    
    Fix this by adding a mutex that doesn't need to be locked for reads.
    
    Fixes: 4f0f8133a35 "util/fossilize_db: Do not lock the fossilize db permanently."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12266>
    (cherry picked from commit 30a359d633f2eebf28f3e464e53b00befffbe86f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07581c4842ba876fadc7e711ef14bb9924185609
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Aug 7 23:23:56 2021 +0200

    util/fossilize_db: Unlock the cache file if the entry already exists.
    
    Fixes: 4f0f8133a35 "util/fossilize_db: Do not lock the fossilize db permanently."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12266>
    (cherry picked from commit 75266ee44a07cc97125511f5129adb8e696e3bdc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b2a1152251c78619b81fd424d43989e96ec079f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Aug 7 23:20:13 2021 +0200

    util/fossilize_db: Use uint64_t for file size.
    
    For those 32-bit systems with 4G of cache.
    
    Fixes: 2ec1bff0f3a "util/fossilize_db: Split out reading the index."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12266>
    (cherry picked from commit 1c4dce1aa75c8732c5d1135d943bcc36b162eb4b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee56d2c88a3c7e348bd0f68962984d75f49dc4e2
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Aug 5 01:43:01 2021 +0200

    util/fossilize_db: Only allocate entries after full read.
    
    Should void leaking entries on read failure.
    
    Fixes: 2ec1bff0f3a "util/fossilize_db: Split out reading the index."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12204>
    (cherry picked from commit d2d642cc014af75f0396e04528b29f9a61f91043)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8441124d0bdc75ebcbc7cd3504f4a29d6549ed34
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Aug 5 01:30:25 2021 +0200

    util/fossilize_db: Be conservative about header length check for locking.
    
    Don't anticipate seeing any partial written headers but just in case we
    should probably wait on the lock to make sure whatever header was being
    written is finished being written.
    
    Fixes: 4f0f8133a35 "util/fossilize_db: Do not lock the fossilize db permanently."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12204>
    (cherry picked from commit 96bfefe8d1209b6aaa56fd77ca570789d82efb6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2d326fba1199c5ec06daeedfc9df3f941bd831f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Aug 5 01:29:04 2021 +0200

    util/fossilize_db: Flush files after header write.
    
    We should probably flush before we unlock the file again.
    
    Fixes: 4f0f8133a35 "util/fossilize_db: Do not lock the fossilize db permanently."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12204>
    (cherry picked from commit 3091277052cccd47994a2aa075eecaa767cc709b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15df61065d72e6e06e86425e4a4f9a41c05beb85
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Aug 5 03:03:48 2021 +0200

    util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
    
    Otherwise we might restart reading from the middle of the entry.
    
    Fixes: 2ec1bff0f3a "util/fossilize_db: Split out reading the index."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12204>
    (cherry picked from commit 57ca07455ce03006aa4f6b66a5b0fe67570a1593)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d52e3cd38aa7039f4db6563c3ff711b021bbe8f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Thu Aug 5 01:26:15 2021 +0200

    util/fossilize_db: Update parsed_offset correctly.
    
    If things went perfectly parsed_offset was never updated for the
    final entry and we'd seek_set to the start of the last entry. Is
    fun when appending to the file next.
    
    Fixes: 2ec1bff0f3a "util/fossilize_db: Split out reading the index."
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12204>
    (cherry picked from commit 3c51a3aa954bb09ceb7c101dc02c1b11fb250bbf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=568bbe0dd20a48aa4520c692ffbc7daabadf413d
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Aug 6 11:50:41 2021 -0700

    venus: free queues after vkDestroyDevice is emitted
    
    Otherwise, another thread might reuse their object ids for other
    objects.  For example,
    
      T1: free queue with object id X
      T2: reuse id X
      T2: emit vkCreateFoo with id X
      T1: emit vkDestroyDevice
    
    virglrenderer happily accepts that which leads to double frees of the
    queue: once when X is updated to point to another object and once when
    vkDestroyDevice is executed.  virglrenderer should be fixed to catch
    such invalid object id reuse as well.
    
    Fixes
    dEQP-VK.api.object_management.multithreaded_shared_resources.device_group.
    
    Fixes: ddd75330559 ("venus: initial support for queue/fence/semaphore")
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Reviewed-by: Ryan Neph <ryanneph at google.com>
    Reviewed-by: Yiwei Zhang <zzyiwei at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12252>
    (cherry picked from commit da000ea2efc794e26a7b24e51437b1b31822ea3b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=366abaca17719b0f474c3dd7579e3c729cec3a85
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Aug 9 12:47:32 2021 -0700

    .pick_status.json: Update to 7ae3881a4bf989436b602b30b9a91602435e47a6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e228bc8a90972cc40e08f754f24f34c8c95135d
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 19 10:22:09 2021 +1000

    wl/shm: don't fetch formats if not requested.
    
    This aligns the code with the drm format code
    
    Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Simon Ser <contact at emersion.fr>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11959>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7f1ebda2c7475b8600aab85390679ad67256bcf
Author: Charmaine Lee <charmainel at vmware.com>
Date:   Fri Jul 30 16:53:53 2021 -0700

    aux/draw: Check for preferred IR to take nir-to-tgsi path in draw module
    
    When a vertex program is translated to nir, it uses
    nir_to_tgsi_compile_options for drivers with only nir-to-tgsi based
    NIR support. But this compile option might not be the same as the NIR
    compile option from llvmpipe, hence when the nir shader is bound
    to the draw module, it hits an assertion in do_alu_action() when
    encounters nir_op_fdot3.
    
    With this patch, draw will take the nir-to-tgsi path if preferred IR
    from the driver is TGSI.
    
    Fixes assert running Maya on SVGA device.
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Reviewed-by: Neha Bhende <bhenden at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Cc: 21.2 mesa-stable
    
    (cherry picked from commit 6751d832c5a3fd437216361a1a55f1fa1d0aed9b)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12200>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fd0ced5413f94b40d34cf5a4835fbc6f24dee98
Author: Neha Bhende <bhenden at vmware.com>
Date:   Wed Jul 14 17:25:48 2021 -0700

    aux/draw: use nir_to_tgsi for draw shader in llvm path
    
    Some drivers doesn't support PIPE_SHADER_CAP_INTEGERS.
    This leads to using load_ubo_vec4 which throws llvmpipe off the guard since
    it doesn't expect load_ubo_vec4 in shader. Use nir_to_tgsi utility in
    such a case.
    
    This fixes crash seen with conform's mustpass.c, select.c and feedback.c.
    Also, few gl-select related piglit tests exhibit same crash. Found in vmware's
    internal testing
    
    Reviewed-by: Charmaine Lee <charmainel at vmware.com>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    
    v2: incorporated Emma's comments. Added check for PIPE_SHADER_CAP_INTEGERS and
    remove PIPE_SHADER_IR_TGSI check
    
    v3: As per Emma's comment, removed expected crashes for i915 piglit
    
    v4: update expetcted passes
    
    (cherry picked from commit b5e782f5f43185076acbbea1e42000fd1fb48aa0)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12200>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d64d80d0a277e5e157d48845dcf1c2d80c2de1a
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Fri Aug 6 11:07:54 2021 +0200

    radv: Write RSRC2_GS for NGGC when pipeline is dirty but not emitted.
    
    The radv_emit_ngg_culling_state function won't write the
    SPI_SHADER_PGM_RSRC2_GS register when it knows in advance that
    radv_emit_graphics_pipeline will overwrite it anyway.
    
    However, there is an unhandled case:
    
    radv_emit_graphics_pipeline will not emit anything (including this
    register) when the pipeline is already emitted. Hence, improve
    the check in radv_emit_ngg_culling_state to consider this.
    
    Fixes: 9a95f5487f5ab83fa44bea12afa30cf1a25fc9db
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12237>
    (cherry picked from commit 74181ffcc5ebed79916d3374455ccfa9e4efa05c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57dfde801d82853ee06eb6915d1e3af5391bfa87
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jul 23 18:20:47 2021 +0200

    st/pbo: set nir_tex_instr::is_array field
    
    Otherwise the layer argument won't be used.
    
    Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download shaders. ")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12096>
    (cherry picked from commit d2845cfcc4d3c2163e4ac35a144d994ded0bf300)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54ba58e68e2c4094116a56e78e40450f6d28b8a0
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jul 23 18:20:26 2021 +0200

    st/pbo: only use x coord when reading a PIPE_TEXTURE_1D
    
    This fixes the following NIR validation error in the
    st/pbo download FS:
    
    	vec2 32 ssa_14 = mov ssa_4.xy
    	vec2 32 ssa_15 = f2i32 ssa_14
    	vec1 32 ssa_16 = deref_var &tex (uniform sampler1D)
    	vec4 32 ssa_17 = (float32)txf ssa_16 (texture_deref), ssa_16 (sampler_deref), ssa_15 (coord)
    error: nir_src_num_components(instr->src[i].src) == instr->coord_components (../src/compiler/nir/nir_validate.c:839)
    
    With this change, the FS becomes:
    
    	vec4 32 ssa_2 = intrinsic load_frag_coord () ()
    	vec1 32 ssa_3 = f2i32 ssa_2.x
    	[...]
    	vec1 32 ssa_9 = deref_var &tex (uniform sampler1D)
    	vec4 32 ssa_10 = (float32)txf ssa_9 (texture_deref), ssa_9 (sampler_deref), ssa_3 (coord), ssa_0 (lod)
    
    Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download shaders. ")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12096>
    (cherry picked from commit ff7e339f1fa48b080c82c24a23cf3fc39e29e1c0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da56d74a458e944d76434e3661a120f513782843
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Thu Aug 5 18:10:15 2021 +0300

    anv: don't try to access Android swapchains
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5180
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12217>
    (cherry picked from commit bc3c71b87ae0b8e053f45c26c1179560e462db04)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e592e75818bec73635e5c6c9b6f572d8bd536f3
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Aug 6 10:24:19 2021 -0700

    .pick_status.json: Update to 0165fde82c41f94c5d6f432f9f444871405a7d49

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=101427245222c1785a872a800e644199e35b9fa5
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jul 30 14:55:22 2021 -0700

    iris, crocus: add idep_genxml to per_hw target dependencies
    
    Fixes
    
      In file included from ../src/gallium/drivers/iris/iris_query.c:49:
      ../src/gallium/drivers/iris/iris_genx_macros.h:81:10: fatal error: genxml/genX_bits.h: No such file or directory
    
    and
    
      In file included from ../src/gallium/drivers/crocus/crocus_query.c:50:
      ../src/gallium/drivers/crocus/crocus_genx_macros.h:86:10: fatal error: genxml/genX_bits.h: No such file or directory
    
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12149>
    (cherry picked from commit b4214adefc3ab5eb5e6bc456413cb2449d98a444)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a96c2c5d7af7f2abded681b26863b7638e8b6b8d
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 4 11:37:12 2021 -0700

    bin/gen_release_notes: Fix commits with multiple Closes:
    
    Currently we'd only handle the last one, not all of them. Which is
    clearely not correct.
    
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
    (cherry picked from commit da00a11bf28f9b9898efa1e6184fa27ea8277a94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e3b3f93a766b51ba8800b4122a1f9451cb3e37c
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 4 11:32:19 2021 -0700

    bin/gen_release_notes: Don't consider issues for other projects
    
    We have enough commits in mesa that have external dependencies that we
    need to be sure that a Closes: https://... is actually for mesa and not
    for another project.
    
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
    (cherry picked from commit 30f7b55e475965d31585bbfb0bd03f234cda16b0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d65d0603e330d4e533ae2a82d1547059709298e2
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 4 11:26:53 2021 -0700

    bin/gen_release_notes: Add basic tests for parsing issues
    
    Since test coverage here is pretty important for a heuristic like this.
    
    Reviewed-by: Eric Engestrom <eric at engestrom.ch>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
    (cherry picked from commit 9dc3672b00f4f04c57b46a6fa675ecd2c03bad07)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cb4a9ec0cc826f463f76d98be6eeea6f1f914b8
Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Wed Aug 4 17:41:46 2021 +0200

    ci: Drop "success" job
    
    It was added to make sure every pipeline for a merge request has at
    least one job which passes (otherwise it's not possible to merge the
    MR). Now the "sanity" job always exists in such pipelines, so this
    isn't needed anymore.
    
    Fixes: 4c41d1900e58 "ci: Add jobs running ci-fairy checks"
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12198>
    (cherry picked from commit 6ccf11ac2b951963407601b5b1109b45a972e48e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=260d1ecf1e072f6e8645bb2143bfcfd6f6afdbdb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 4 12:05:04 2021 -0400

    zink: simplify else clause for mem info gathering
    
    it doesn't matter if this is host-visible, it just has to not be device-local
    
    Fixes: 73f6bff07f1 ("zink: fix mem info query to be more permissive")
    
    Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12199>
    (cherry picked from commit c886ce2991a5b6fec054810d0c891d599986593c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d634d31c329563f0c667874b25478be480bc73f4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Aug 4 11:44:28 2021 -0400

    zink: sum available memory heaps instead of assigning
    
    this is supposed to accumulate now
    
    Fixes: 73f6bff07f1 ("zink: fix mem info query to be more permissive")
    
    Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12199>
    (cherry picked from commit 42442a0d4e3125db00922c4d0a2c4d0f4d415205)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77c2a702df24f79064d705515555b7201a8aadc0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Aug 5 09:25:13 2021 -0700

    .pick_status.json: Update to 6ccf11ac2b951963407601b5b1109b45a972e48e

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84dde64fd33d8a42a107641beebba1477d5be95d
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Mon Aug 2 16:48:41 2021 +0200

    aco: Use Navi 10 empty NGG output workaround on NGG culling shaders.
    
    Navi 10 can hang when an NGG workgroup has no output,
    so we work around that by always exporting a single zero-area
    triangle with a single vertex that has all-NaN coordinates.
    
    Thus far, we only employed this for NGG GS, because on all
    other stages, the output can't be empty.
    
    However, with NGG culling, the output can be empty, so let's
    apply the same workaround there too.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12169>
    (cherry picked from commit 448592b9aeb471772bd696fd44e4f952b8f492b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=217ed59b5d451c346d2ef0cf14d345b4b8e2cab1
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 19 05:58:48 2021 +1000

    virgl: disable anisotropic filtering.
    
    virgl doesn't yet support anisotropic filtering so don't advertise it.
    
    Fixes: a8987b88ff1d ("virgl: add driver for virtio-gpu 3D (v2)")
    Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11944>
    (cherry picked from commit e831c4a537cc4118ba6d5581dfc121a9fe47110a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4e7d73f7a9bd9b24282dcdd95ea0e98dbbf4aff
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Aug 4 10:38:51 2021 -0700

    .pick_status.json: Update to 8918a809ced3551f822abb45d751d31b54ad67da



More information about the mesa-commit mailing list