Mesa (staging/22.1): 26 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 23 16:17:01 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3d67f2d3dcb443472187203bc15469f65374bc1
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Jun 23 09:14:55 2022 -0700

    .pick_status.json: Mark 420270cb4f73da6251d4caec976358681f05c45c as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12a063cf5ee3883e39f3b2b9e78bcbd8fa98829c
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Apr 4 23:40:24 2022 +0300

    anv: limit RT writes to number of color outputs
    
    Not doing so crates skews occlusion queries. Fixes Zink's piglit
    occlusion_query tests.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: a4f502de3228 ("anv: fix VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT state")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6205
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Reviewed-by: Ivan Briano <ivan.briano at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15740>
    (cherry picked from commit 5d05ffa465329ac0d804510e9882c245f9a12ee1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae17a5a56b208ebaaf4bbecadebef27cc45dcebf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Mar 25 13:13:21 2021 -0700

    nir/algebraic: Fix NaN-unsafe fcsel patterns
    
    For example, the proof for this pattern
    
        (('bcsel', ('flt', 'a at 32', 0), 'b at 32', 'c at 32'), ('fcsel_ge', a, c, b)),
    
    would be
    
        bcsel(a < 0, b, c)
        bcsel(!(a < 0), c, b)
        bcsel(a >= 0, c, b)
        fcsel_ge(a, c, b)
    
    However, !(a < 0) => (a >= 0) is well known to produce different
    results if `a` is NaN.
    
    Instead of that replacement, use this replacement:
    
        bcsel(a < 0, b, c)
        bcsel(-0 < -a, b, c)
        bcsel(0 < -a, b, c)
        fcsel_gt(-a, b, c)
    
    This is NaN-safe and exact.
    
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Fixes: 0f5b3c37c5d ("nir: Add opcodes for fused comp + csel and optimizations")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17048>
    (cherry picked from commit a2a2fbc5101d6e6b5d18903c7a0bd84037dbdddc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f4ba7c943a0bafe6aef14cf279d4adb7a9d888f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jun 15 09:21:10 2022 -0700

    nir: i32csel opcodes should compare with integer zero
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Noticed-by: Georg Lehmann <dadschoorse at gmail.com>
    Fixes: 0f5b3c37c5d ("nir: Add opcodes for fused comp + csel and optimizations")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17048>
    (cherry picked from commit ccd18ec4f34b6f1407fb7c1671de8c789f33fa1f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=484037f58732fe648513ee4f1c32687d79a13869
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Wed Jun 22 17:42:46 2022 +0200

    tu: Fix linemode for tessellation with isolines
    
    Fixes: 542211676c5 ("turnip: enable VK_EXT_line_rasterization")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17190>
    (cherry picked from commit d45583808104de6b904bbb8f9a53732ea100788a)
    
    Conflicts:
    	src/gallium/drivers/zink/ci/zink-tu-a630-fails.txt
    
    CI file doesn't exist in 22.1, and has been deleted

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c3da89baecb5390b81eafede972e937be55f498
Author: Emma Anholt <emma at anholt.net>
Date:   Tue Jun 21 09:12:50 2022 -0700

    vc4: Propagate txf_ms's dest_type to the lowered txf.
    
    This was missing, and the added validation caught it.
    
    Fixes: 708c47e663be ("nir: Validate nir_tex_instr::dest_type bitsize")
    Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17172>
    (cherry picked from commit 4309e09d6feab01c11c88249389cc35c9fe595cc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6330c48613cc3fca51ec04926b81112821f954c4
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 20 14:33:09 2022 -0400

    nir/lower_point_size: apply point size clamping
    
    point size min/max values are provided through the state vars, so ensure
    these are always applied in order to respect ARB_point_parameters
    
    cc: mesa-stable
    
    Acked-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17145>
    (cherry picked from commit 4830cc77cb8d1f9113b799b68fbaefc91dcc5344)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4909844839515aa93511a43b3900d234c4c940ed
Author: Italo Nicola <italonicola at collabora.com>
Date:   Mon Jun 20 14:45:43 2022 -0300

    virgl: overpropagate precise flags
    
    As it turns out, MOVs weren't the only instructions that blocked precise
    flags propagation in the transition to nir-to-tgsi.
    This commit fixes some rendering regressions caused by a4a34cd3.
    
    Fixes: a4a34cd3
    
    Signed-off-by: Italo Nicola <italonicola at collabora.com>
    Reviewed-by: Gert Wollny <gert.wollny at collanora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17144>
    (cherry picked from commit 42a126495113ff7f18be759e4606435d54b48fcc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d16db05ba6151455670d59ee8ff8e8033e6b36f3
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jun 22 05:53:52 2022 +1000

    wsi/x11: add xcb_put_image support for larger transfers.
    
    This was noticed as a problem in the EGL code, just fixup wsi.
    
    Cc: mesa-stable
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17155>
    (cherry picked from commit d3e723fb775ddad543d63f31e898458b7e77bcd8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11d6b66be097976a9987d9389b86c26b834b6c53
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jun 22 05:49:44 2022 +1000

    egl/x11: add missing put_image cookie cleanups
    
    These might not be required but be consistent with the wsi code.
    
    Cc: mesa-stable
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17155>
    (cherry picked from commit c5dbb1139c5e5bff0dc52fc2e4c3c19da1cdb4bf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ba310fb747eef0bb53919c2feddd7279f6ef94c
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jun 21 10:59:32 2022 +1000

    egl/x11: split large put image requests to avoid server destroy
    
    wezterm in fullscreen 4k was exceeding the xcb max request size
    on the put image with llvmpipe. This fixes it to send sub-images,
    the Xlib put image used in glx does this internally, but not
    the xcb one, so just do it in sections here.
    
    Cc: mesa-stable
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17155>
    (cherry picked from commit e6082ac62e8aa5922820b219103659c3c4f2f53f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0534a08e397ca9772d9c2c5e0d6617d838932296
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 20 21:31:31 2022 -0400

    zink: fix dual_src_blend driconf workaround
    
    not sure when this broke but it broke
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17156>
    (cherry picked from commit e8fc5cca9039e7d4ea08cc6d99fe9c4f8cc49f8b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65e1542b3bd3e1ba083fa9c32b4c52405cb642ba
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 20 15:37:46 2022 -0400

    glx/drisw: invalidate drawables upon binding context if flush extension exists
    
    this forces surface resize as expected
    
    cc: mesa-stable
    
    fixes #6706
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17147>
    (cherry picked from commit ea005c9e0470adbaa167b6a1d2da5f04efe2035a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=299a65c45f78fd8717374d9da484a74b8fbb786f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 20 15:36:58 2022 -0400

    glx/drisw: store the flush extension to the screen
    
    cc: mesa-stable
    
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17147>
    (cherry picked from commit 23b63e536e54c00de9dc1b634265de3337318588)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66db82441f658f333ad2787633b1376749dfe627
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jun 16 19:04:13 2022 -0400

    pan/bi: Fix LD_BUFFER.i16 definition
    
    This was missing the message, breaking UBO-to-push and who-knows-what-else, when
    enabling fp16 const buffers.
    
    Fixes: 3dc2095b079 ("pan/bi: Model LD_BUFFER instructions")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17101>
    (cherry picked from commit 5ee1179c946a2710e6621192fe8f0cfbf49d368d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c297bf3b41207bf4b25022f3504a4da227a8cc19
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Jun 20 13:00:38 2022 +0000

    vulkan/wsi: fix crash with debug names on swapchain
    
    If you set a name of on a swapchain object, because the base object
    struct has not been initialized with a VkDevice,
    vk_object_base_finish() will segfault when trying to free the object
    name.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: cb1e0db23e3f ("vulkan/wsi: Make wsi_swapchain inherit from vk_object_base")
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17165>
    (cherry picked from commit efc398c722ae47afd01ed1abd83abb208bba9692)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94e1929da414cd72a127289757efe934b8c9d1f0
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Wed Jun 8 20:13:24 2022 +0200

    gallium/u_blitter: Fix depth.
    
    Fix the transform to make sure it doesn't disturb the depth range
    of the blitted image. Set the Z coordinates of the vertices
    by hand instead of relying on the transform to do it.
    
    This is a pre-requisite to Zink always enabling depth clamping.
    
    Fixes: 26c6640835936a77d87030ce8e90f9b9f5be783e
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16929>
    (cherry picked from commit 810135fb428a2505eba490b4d17a33629820e4e5)
    
    Conflicts:
    	src/gallium/drivers/lima/ci/lima-fails.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2a8365d5f2b8251a710b877d2a3402625f0e442
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun 21 10:40:28 2022 +0200

    docs: set language to english
    
    It seems recent versions of Sphinx has started issuing a warning when
    language isn't set to a recognized value. Since we're building with
    warnings as errors on CI, this causes issues for people.
    
    We're writing English docs, so we should set this to English. I probably
    confused this setting with the highlight_language setting or something
    when I set this up initially.
    
    Fixes: 00cd1346bf0 ("docs: use sphinx")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6711
    Reviewed-by: David Heidelberg <david.heidelberg at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17159>
    (cherry picked from commit ee9c3d2625428ac4cf4e15efb09741bb875ad7fe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8281dc99573f7b547df5926cd3891f3000a19883
Author: Filip Gawin <filip at gawin.net>
Date:   Sat Jun 18 13:57:14 2022 +0200

    r300: prefer old not native swizzle in constant folding
    
    r300 and r400 have strict rules with swizzles, so we
    will need to convert swizzle back.
    
    Operating on 0, 1, H in this case unnecessarily makes
    rest of r300 overly complicated.
    (also it's not currently able to handle this)
    
    helps with:
    deqp-gles2 at functional@shaders at random@exponential at fragment@24
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17117>
    (cherry picked from commit 6cbb19110b4daa19e719228bdf2c1d7750ca0e4b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=144c0ad5169186206a9f681ce0b96fc5dbf9342e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Jun 16 14:49:24 2022 +0200

    aco: fix validation of SOP1 instructions without definitions
    
    Like s_setpc_b64.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17082>
    (cherry picked from commit 5485bf7b1bd2f88ecb19c10777a09858a9624b1c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=703f4244064b051ebb5a4a39989302b61dee826c
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Jun 16 17:20:14 2022 +0200

    radv/amdgpu: do not add "global" BO to the virtual BO list
    
    To avoid dangling BO references if it's destroyed without being
    previously unbound. This is under Vulkan spec clarification but it
    looks like the "global" BO fix is simple enough to workaround the
    issue for now.
    
    This fixes a CPU hang with Halo Infinite because the kernel rejects
    a submission (invalid BO handle found).
    
    Cc: 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/17085>
    (cherry picked from commit 6dd2699e9f9cfb482349afc582470a4f9709c5f7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d44645774f97589a3babc949b0e7a82ee1a7587a
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Jun 17 09:10:00 2022 +0200

    radv/amdgpu: make sure to reset the number of BO when there is no ranges
    
    If an application binds a sparse resource and then unbind it with NULL,
    the number of "real" BOs in the virtual BO list should be reset to 0.
    Otherwise, it might use a dangling BO reference if it's destroyed just
    after being unbound.
    
    Cc: 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/17085>
    (cherry picked from commit b4cc10b3427bdf1f172094f991c38c6ec94bbc19)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=404838a3336f3fcaceb6273f04f468a07b75ce62
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Wed Jun 15 12:05:51 2022 -0500

    anv: Properly clamp attachment layer counts
    
    Vulkan requires that the acutal layer count come from
    VkRenderingInfo::layerCount or VkFramebufferCreateInfo::layers rather
    than from the image view itself.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17060>
    (cherry picked from commit 7a8ec23c9de71c5a3c1b1e8830c200c4e9c94bec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb13e00f72b450f297cc3bb71c1777d872e36f22
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Jun 10 23:03:33 2022 +1200

    panfrost: Remove sync arguments from panfrost_batch_submit
    
    Whether a sync object is used cannot depend on where the batch is
    submitted from, remove the in_sync and out_sync fields from
    panfrost_batch_submit.
    
    Always use an output syncobj, this is required for glFinish to work
    correctly. This could be skipped for batches which another batch
    depends on, but because of the existence of empty batches which emit
    no job, doing so is not trivial.
    
    Never use an input syncobj. There appears to be no point to this, the
    kernel driver does implicit sync anyway.
    
    Fixes "seconds per frame" rendering with Neverball; previously, every
    batch was submitted with out_sync=0, so DRI's frame throttling could
    do nothing. New jobs would keep getting submitted until more than a
    thousand were queued in the kernel, which increased rendering latency
    for the compositor far beyond acceptable levels.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16966>
    (cherry picked from commit d8803c724bcb83eb08e038984eb8cd6b5f3f64b8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0acb0f4a631775e9a30ac5960b5945ed47cea4d9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jun 14 12:30:21 2022 -0700

    intel/fs: Add missing synchronization for WaW dependency
    
    v2: Do the synchronization in the correct place.  Noticed by Curro.
    
    Fixes: b5fa43952aa ("intel/fs: Better handle constant sources of FS_OPCODE_PACK_HALF_2x16_SPLIT")
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Tested-by: Felix DeGrood <felix.j.degrood at intel.com> [v1]
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17037>
    (cherry picked from commit 676acfe956be79adafb7552829948b8875b86c8d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff1ffa4f03736585178f3846b275fd2e0465fe39
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Jun 23 08:50:52 2022 -0700

    .pick_status.json: Update to 8ce7faab47a77377a6a1313a80580828b052f878



More information about the mesa-commit mailing list