Mesa (staging/22.1): 37 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 15 20:02:08 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78ced40df50f967675271c06e9e62cd8499714a2
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 20 11:04:11 2022 -0400

    zink: fix 32bit bo rewriting
    
    this was correct for 64bit loads and manually converted 32bit loads (e.g., bindless),
    but it was broken for the case where 64bit was not supported, as the offset wasn't
    being correctly adjusted
    
    break out the offset division to hopefully make this a little clearer
    
    Fixes: 150d6ee97e3 ("zink: move all 64-32bit shader load rewriting to nir pass")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
    (cherry picked from commit bbe5136658f048b6403f31f0d01dff856dd3ff81)
    
    Conflicts:
    	src/gallium/drivers/zink/ci/zink-tu-a630-fails.txt
    
    CI file removed as it doesn't exist in 22.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e61840e5b322fc8647fba2c940f4e93368ab06cc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 18 10:08:26 2022 -0400

    zink: flag optimization pass after inlining uniforms
    
    this probably generated some pretty gnarly code
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
    (cherry picked from commit 02a3a5ff3152cf85d5894d5ee8c708f1c566c6d4)
    
    Conflicts:
    	src/gallium/drivers/zink/zink_compiler.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a18eea852e5962d541883171a2a821df60ed5f46
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jun 14 16:35:49 2022 +0200

    radeonsi: add helper to use si_screen::aux_context
    
    This context needs to be locked before usage, and flushed after.
    If it's forgotten, radeonsi may crash (eg #6666).
    
    To avoid this kind of error, introduce 2 helpers.
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17032>
    (cherry picked from commit bda1c081bd6e9e4ec144f963c8899cd0d17b211f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd1ed273ae85e4fa200699ebc9ccc8353c9f9bb8
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 14:45:49 2022 +0200

    microsoft/compiler: Images are no longer reprensented by uniform vars
    
    emit_barrier_impl() was still checking the nir_var_uniform flag to
    detect images, which is no longer correct.
    
    Fixes: cfdc7ee066e ("spirv: Use nir_var_mem_image")
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
    (cherry picked from commit 303175cfecb166cc69736c1405ac2d3bbee9d82c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6fefe8bb36594254866d12ca0f0e6fb5e882c51
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 05:23:16 2022 -0700

    vulkan/util: Fill VkPhysicalDeviceIDProperties::deviceNodeMask
    
    This field copy was missing in
    vk_get_physical_device_core_1_1_property_ext().
    
    Fixes: 19ff5019b75 ("vulkan: Add helpers for filling exts for core features and properties.")
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
    (cherry picked from commit b78d3ebe722dac1c0093ff8f040f1443ffd02c49)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38995e08ce9f9a7a99be7eb6e2da788b249413ff
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat Jun 11 10:59:59 2022 -0400

    zink: fix cubemap lowering bit size
    
    this isn't always 32
    
    Fixes: 2d745904ca7 ("zink: add a gently mangled version of the d3d12 cubemap -> array compiler pass")
    
    fixes:
    dEQP-GL45-ES31.functional.program_uniform.by_pointer.render.struct_in_array.sampler2D_samplerCube_*
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17008>
    (cherry picked from commit 87c7e757211b393f5b352ba346a927622c996abf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cffe94e90df309a34380d6bcfb6c82ed3e93a7e4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat Jun 11 10:59:59 2022 -0400

    zink: fix cubemap lowering for array samplers
    
    each sampler is 1 driver location, so use the base variable
    
    Fixes: 2d745904ca7 ("zink: add a gently mangled version of the d3d12 cubemap -> array compiler pass")
    
    fixes:
    dEQP-GL45-ES31.functional.shaders.opaque_type_indexing.sampler.const_expression.*.samplercubearray
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17008>
    (cherry picked from commit de6af39534c6372395e09134809b8d6d98bd4bc7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eeb4085ff505ed4050d8edd33a06e5bee5f2df88
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Jun 14 10:22:08 2022 -0400

    zink: don't print VK_EXT_shader_atomic_float warning for nir_intrinsic_image_deref_atomic_exchange
    
    this is covered by base spec and doesn't require the extension
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17010>
    (cherry picked from commit 03d7f31054b16b17eaafe1714c4648151861c014)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94bbe5d6bd829447db5cb8e7d14561350b43f6f9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 13 15:05:09 2022 -0400

    zink: avoid uninit values in renderpass state
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17010>
    (cherry picked from commit d8877437d6125c63b4bfe0b048981770f25a9d16)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce8267e6e8b489620a26b2f8dbf935c97f5176f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Jun 8 15:48:17 2022 -0400

    zink: fix generated tcs deletion
    
    deleting the generated shader on the first loop iteration like this was
    broken if the shader was used in multiple programs, so delete at the end
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17010>
    (cherry picked from commit 44cf6f7564d4bdcc15299007fc12b32e2e9ad1f2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=833e5f4feba3318b508536ceeef5431fec1d8a1f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Jun 7 14:26:02 2022 -0400

    zink: unset generated tcs pointer from tes on deletion
    
    otherwise this will free the generated tcs multiple times if the tes
    is used by multiple programs
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17010>
    (cherry picked from commit cf34d3fe05004c66145a6faf39c8883b71861c8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d164c5b20ab5794484fb6e10a0dd956eaa3e5819
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Jun 7 14:23:07 2022 -0400

    zink: fix generated tcs update path
    
    is_generated is in a union with the generated tcs pointer for tes shaders,
    so check the shader stage too
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17010>
    (cherry picked from commit 338d98643906141322432874c91a1a8528a85e3a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6ecc659e6d33609edb206dfdcb546729af57913
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jun 8 10:30:27 2022 +0200

    gallium: remove stale comment
    
    This hasn't been true for a long time, let's remove the comment.
    
    Fixes: 0d4898ae806 ("include,gallium: Remove pre-MSVC 2013 compatibility.")
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>
    (cherry picked from commit d791184b465b2624703b09ce9a6e41d98d860cd2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7237c44dcb6b01b0dad0218c30dffe90539cc998
Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri Jun 10 10:46:51 2022 +0200

    broadcom/compiler: disable flags optimization for loop conditions
    
    This is not safe because it may skip regenerating the flags for the
    loop condition in the loop continue block and these flags may be
    stomped in the loop body by other conditionals.
    
    Fixes: 9909fe6ba ('broadcom/compiler: Skip bool_to_cond where possible')
    Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17020>
    (cherry picked from commit a97f78eb144ebc8964b891bbf708659e70e5f1c3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cb320fb822ac48758ced56bc29501ef9dee0883
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Jun 13 16:10:52 2022 +0200

    dzn: handle stencil-attachment-optimal layout
    
    We missed this one, whoops.
    
    Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16997>
    (cherry picked from commit 4ab49e2530a0dfde64235ed63b38d909dba60213)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=697b144d97ef8f5662468c3fd8518602bf8c104e
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jun 11 06:58:56 2022 -0400

    gallium/u_threaded: fix buffer busyness tracking
    
    The order of calls was incorrect.
    
    Fixes: e9c41b321488c23b - gallium/u_threaded: add buffer lists - tracking of buffers referenced by tc
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5327
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Reviewed-By: Jonathan Strobl <jonathan.strobl at gmx.de>
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16989>
    (cherry picked from commit 4c5f7b86eccf9ebfb6e546f2e039effa64370128)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92a16e40d24f173001f7ba98680e1942d6319174
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 13 15:19:30 2022 -0400

    zink: fix up KILL to a more sensible log message
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17009>
    (cherry picked from commit 399104f0498575f70cf0e8c369e8b888cfd70881)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c7bf13ca0c9c21347aac9086f7ef10cdb35497
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 13 15:04:34 2022 -0400

    zink: unset res->swapchain upon killing a swapchain
    
    this otherwise causes the driver to make bad assumptions about
    how the resource should be handled
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17009>
    (cherry picked from commit 23892bff6b4394eb7f445e6eff4d07ea16c1b4ab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0b9a4690a5084aa9c6f1124711e0413fcd775b3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Jun 10 13:24:20 2022 -0400

    zink: add implicit sync workaround for non-mesa drivers
    
    implicit sync is hard, and many drivers get it wrong, so assume that
    anyone who isn't mesa might need some hand-holding
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17009>
    (cherry picked from commit ea9e30f9d27593d7fdcc95e6559951127110b8d4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6755ac792a9c6324e41764e361f6fb20cb0cc686
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Jun 15 08:59:41 2022 -0700

    .pick_status.json: Update to ea33e44ce4f95ce45729b75dee34be50df749f09

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4be4fcb943b324f94aa412e842a50c46139c5666
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 6 20:54:53 2022 -0400

    zink: only update layout when doing mixed zs attachment renderpass check
    
    avoid doing any sort of extra work here and avoid multi-context weirdness
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16900>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a8c0754490345a8c8519f9133e074eef9637a58
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 27 10:04:05 2022 -0400

    zink: fix framebuffer attachment usage asserts for dummy attachments
    
    dummy attachments never overwrite existing attachments,
    so they must be explicitly compared like this to avoid
    erroneous crashing
    
    Fixes: 3892c133811 ("zink: add an alternate path for EXT_color_write_enable usage")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16848>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1523572be144a48cff6a85f018e2a06732239ccb
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jun 10 11:57:20 2022 +0200

    radeonsi: prevent recursion in si_decompress_dcc
    
    This avoids u_blitter recursion:
    
     #0  util_blitter_set_running_flag
     #1  util_blitter_custom_color
     #2  si_blit_decompress_color
     #3  si_decompress_dcc
     #4  si_texture_disable_dcc
     #5  si_update_ps_colorbuf0_slot
     #6  si_bind_ps_shader
     #7  util_blitter_restore_fragment_states
     #8  util_blitter_custom_color
     #9  si_blit_decompress_color
     #10 si_decompress_dcc
     #11 si_sdma_copy_image
     #12 si_blit
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16962>
    (cherry picked from commit 3d37291e1c1e2d9d0319bad9888f518a1bcfba04)
    
    Conflicts:
    	src/gallium/drivers/radeonsi/si_blit.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74b4bf310bac0a9b6015513a536174353f54d66f
Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Tue Jun 7 14:49:59 2022 -0700

    d3d12: Properly set HS input control point count
    
    Looks like some hardware needs this info in the shader to match the
    topology. Since there's no spot in the shader info for it, we're
    currently using the array size of the TCS input vars to store it.
    
    Cc: mesa-stable
    Reviewed-by: Paul Dodzweit <paul.dodzweit at amd.com>
    Tested-by: Paul Dodzweit <paul.dodzweit at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16920>
    (cherry picked from commit cc805aef69d48720b929531f0338e4cc79cda5e5)
    
    Conflicts:
    	src/microsoft/compiler/dxil_nir.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6955a2f222a0842dcbb06c6112be6bc15126aedc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Jun 9 09:20:01 2022 -0400

    zink: defer old swapchain destruction
    
    ensure that swapchains that are about to be presented asynchronously
    cannot be destroyed
    
    Fixes: 8ade5588e39 ("zink: add kopper api")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16932>
    (cherry picked from commit 4bee678df3afb654c4f52987fefd039750609976)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efbac88137f2f344079879b27fe9c946174e3bb2
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Jun 9 09:19:18 2022 -0400

    zink: keep a count of async presents occuring for a given swapchain
    
    this provides info about whether a swapchain is in use in another thread
    
    Fixes: 8ade5588e39 ("zink: add kopper api")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16932>
    (cherry picked from commit 1dfa19c541d2d1da1ba3f440d4d0107c4968b3e0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5be15dffed32b7937a8ef53ff01626a946f5a8d5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Jun 8 15:56:47 2022 -0400

    zink: use separate pointer for swapchain presents
    
    this ensures that the same pointer is being accessed from the present
    thread as was intended when the present was queued
    
    Fixes: 8ade5588e39 ("zink: add kopper api")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16932>
    (cherry picked from commit 892f42271fcd67566db01ef651a5a491b54f262c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9123d85c577b3b332cb4d9cc7e13051aa4b7101c
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jun 10 11:28:09 2022 -0400

    panfrost: Disable CRC at <16x16 tile sizes
    
    The hardware writes one CRC per (effective) tile, the tile size of the CRC
    buffer is the same as the configured effective tile size. However, all our CRC
    infrastructure assumes 16x16 tiles. In case CRC is used with smaller tiles,
    buffer overflows and incorrect rendering are all possible. Don't use CRC at
    smaller tile sizes. Note disabling CRC correctly invalidates any bound CRC
    buffers.
    
    Fixes: 2e97d7c8350 ("panfrost: Transaction elimination support")
    Closes: #6332
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16983>
    (cherry picked from commit 44223e5f28c42ff19a5ddba182b403315bbac3ef)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461e5134977a9faf3bb480323e0ac713b48d3579
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Fri Jun 10 11:43:53 2022 -0400

    panfrost: Inline pan_fbd_has_zs_crc_ext
    
    It has a single user -- in a section of code that only runs for MFBD GPUs and
    that has already decided whether to use CRCs -- so inlining it simplifies its
    definition greatly and may avoid redeciding the CRC setting.
    
    [Note for mesa-stable maintainers: This is not a bug fix but is marked for
    backport so the next patch applies cleanly.]
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16983>
    (cherry picked from commit cac0578ee58c5b0838ececbe2b7aa5f7c29874c3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cae12f077cf4b97dbc94cad53c77c2f4c8f8de6f
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jun 8 18:07:43 2022 +0200

    ci/windows: add back build-error detection
    
    This was accidentally broken while refactoring the script.
    
    Fixes: bf3c772e5e5 ("ci: Improve vs2019 mesa_build.ps1 for remove the need of cmd.exe")
    Reviewed-by: Yonggang Luo <luoyonggang at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16965>
    (cherry picked from commit 003d05281011b77b24e56d9168d3104ea8ebe021)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d08af63d73efdde4bbc3b04ee8b2651b26821af7
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Wed Feb 16 16:55:36 2022 +0100

    nir: Fix flat new_var assignment in create_new_io_vars()
    
    If the type is not an array, glsl_get_length() returns 0 and we don't
    update the new_vars[]/flat_vars[] entries.
    
    Fixes: bcd14756eec ("nir/lower_io_to_vector: add flat mode")
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16960>
    (cherry picked from commit d9ec7df2f43975cf77d261adac2f68489172fd99)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f60666ad540b002dd111fdb51c0a63c22806143e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu May 26 17:27:39 2022 -0400

    zink: scalarize when rewriting explicit 64bit io
    
    all of ntv requires scalarized io since the offsets are now array indices
    instead of byte offsets, so enforce scalarization here to avoid breaking
    the universe
    
    Fixes: 150d6ee97e3 ("zink: move all 64-32bit shader load rewriting to nir pass")
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
    (cherry picked from commit cdaa601de38a147aff0839d9622e281ac7a80b33)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52d97826c3b8ca714327adc56ddbbd7819aff143
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat May 21 18:53:59 2022 -0400

    zink: fix variable locations in manual xfb emission
    
    the last output isn't always only consuming 1 slot, so ensure that the
    xfb outputs begin at the appropriate place
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
    (cherry picked from commit e9d28cbe3fbe56076f85e9e309211d831368d1fc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=253dc0a2f23e76da3e29fc5db40de356b198be8c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 20 13:23:05 2022 -0400

    zink: fix ntv partial stores
    
    the previous conditional here was stupid and wrong: it should be comparing
    to see whether the writemask is the full mask of the type's size
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
    (cherry picked from commit 31ba19ff681224208943787cedd0b1ada11329e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f420939bfbe39cc06d3c9a30c8a60ed2577b1464
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 6 15:50:53 2022 -0700

    anv: Remove FS executables when applying the null FS optimization
    
    If the executables are still hanging out,
    anv_GetPipelineExecutableStatisticsKHR will try to dereference NULL
    pointers in pipeline->shaders[MESA_SHADER_FRAGMENT].
    
    At least in terms of fossil-db output, this matches the behavior from
    before 73b3efcd59a.
    
    Fixes: 73b3efcd59a ("anv: Handle the null FS optimization after compiling shaders")
    Closes: #6590
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16898>
    (cherry picked from commit 65d6708bc33694b662d1195fd65842b85b7afc99)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2c8ad353bad0acafd4b8b8e6069af5611aa3bc7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Sat Oct 24 13:28:39 2020 -0500

    compiler/types: Don't place members in the previous substruct's end padding
    
    With the following structures :
    
      struct StructA
      {
         uint64_t value0;
         uint8_t  value1;
      };
    
      struct TopStruct
      {
         struct StructA a;
         uint8_t value3;
      };
    
    Currently offsetof(struct TopStruct, value3) = 9. While the same code
    on the CPU gives offsetof(struct TopStruct, value3) = 16.
    
    This is impacting OpenCL kernels we're trying to use to build
    acceleration structures.
    
    v2: Add comment/link to some description of the alignment/size
        computation
    
    Cc: mesa-stable
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16940>
    (cherry picked from commit 133620196d57cc1c6874c806095fc3cf1f054274)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad2eb1c28fc62d2afca9f3c022002e72fcb88580
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Jun 8 13:52:47 2022 -0400

    zink: always create descriptor templates
    
    the 'notemplates' debug mode is somewhat misleading since there's no
    uncached+notemplates mechanism, meaning that if the descriptor cache
    explodes it'll still use templates for updating in the fallback path
    
    Fixes: 4e3768914d4 ("zink: add ZINK_DESCRIPTORS env var to explicitly set a mode")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16927>
    (cherry picked from commit ee1a0a0772d0aaf4f5124d451f6a087bc6910b58)



More information about the mesa-commit mailing list