Mesa (22.1): 81 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 16 16:31:57 UTC 2022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a037d8e19985de21534c6044587e1c7306f61498
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Thu Jun 16 09:17:50 2022 -0700
Bump version to 22.1.2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cea8116d2ec7576143e07bc2415a3bd63cd6eb40
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Thu Jun 16 09:17:14 2022 -0700
docs: add release notes for 22.1.2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7711164baf735f888e1588d359a8421dbb211934
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=d2dd99d5f4e8bebdf243960493c0be8d6c949bab
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=ebda38196a15e49ae3bfef2e34684a4da126da49
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=9f199d0e02ad3f2608edda31db8e5cac64b0d6e6
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=d5a5bcbd54dd594e933c3ae66b5824f4a2c4919b
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=dfd2cd3ebcf9a463ea2268386cc6970711ec3502
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=3fb2d7b7a8b7e937a38b51ab5f817f2f9595149e
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=245ef2b49dd0c3bd55ab08dc956ae4c0b7cd3317
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=914ff0ab4292a99a5ac164ce1f6d4b1ec4210415
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=d9a67ee393f981117b3b2f05e5452f3ab52775d7
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=d8fa501ca42e234a96c5ad6578726b78df1b8b0c
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=96574ecba3b50f10c6ea58c2c00d76e0bb9066b0
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=6d41869f1ee874234261f09d43d6abb7e3bf25f1
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=7302d43677f459353217fc55e0a7ded9f2d1fb1b
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=2bd2df1aec76940cdc455a218f54bc5b5b1e5c92
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=29dac89446e051c9ee926d16f4fc012fb836f9c0
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=c1f7b8edd70d91e27df3a54dd5fd3f8ba8e7fccd
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=61cf43cea15813e00589f761c5ed70873af9ff2a
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=4108785f13b4ebae7f1bb8037db2ed54c641223c
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=d0d37c1f9e1da80c15b403f9f16a338036d3d153
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=1fb2d9ba5c2841235678ad5512f7776f02841727
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=32f640dc0577be1281b9bbb439c44fe2622f9108
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=0080232e6cf19aab177145b6cc2c275433c05a04
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=791969df9722151b76bce3ad26759982e58cff33
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=f11d7948be6635f5f6c50b7bfc11644e000442bf
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=a86a20ed99d9c48d43e1b67262e3d2f81ac16509
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=302c13dc8dfd2e6166361f638c888061152cff03
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=7597df42b8d77bb3cadc36779601404cdd5ccecf
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=d331e4edcdc121f38c7512ea55c22d8652fbae68
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=e4da9d825430907c83f500b74064db9d91367a72
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=c4f770308ff8337b58b5c3db266f9a3563378e04
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=594dc7af9a3bb25f617eadaab50c9c29835de365
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=692375bf9d25b592d6ec98b9523e8093fae3c68a
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=274fcc2783384d64a422140eead460484553e22f
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=9ff1f30d4508b44795f80b1ca2ec4dc833ac4e77
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=c9981574c14a814aff7871a648a8d63ecfe5c6c8
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=47a52576da74f58f550eba3a1d1c1fdea7015d85
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)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2f9aa5e8d1fd6b14335b1741a14d9b9f1430dee
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Mon Jun 13 13:19:49 2022 -0700
.pick_status.json: Update to 2ef6b0aab1c7b99b85f2d88ced44a63f28cfca6b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a835a2da3cda81e23321d755712485fa8b55816
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu May 26 11:55:08 2022 -0400
ac/gpu_info: always retile DCC on gfx10 and newer chips
Unaligned DCC doesn't work there.
Fixes: f8cf5ea982a - amd: add support for gfx1036 and gfx1037 chips
Reviewed-by: Mihai Preda <mhpreda at gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16726>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc28a8fd88f561d88e331cdc173f9f4372def24d
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Fri May 27 17:19:23 2022 -0700
nir: Consider PNTC to be a varying
Fixes: 3528dcdf ("nir: add nir_io_semantics::no_varying, no_sysval_output, and helpers")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6091
Reviewed-by: Marek Olák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16761>
(cherry picked from commit f812cc0fe62565675555a93dfc20e5abf0dd60ce)
Conflicts:
src/gallium/drivers/d3d12/ci/d3d12-quick_gl.txt
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=364767c445a4d2e9de7b50f2adf391beab7b69e3
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Mon Jun 6 16:48:57 2022 -0400
panfrost: Fix inverted indirect dispatch condition
Inverted condition -- indirect dispatch gets disabled when WLS is in use, not
the other way around. Not sure how this worked before...
Fixes: fd7b44882ce ("panfrost: Use direct dispatch with shared memory")
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16916>
(cherry picked from commit 3c5f1595b89d02df92bead419e8bbb0511d14201)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6022ed00791cc1f2285735e62226455fb8e1fb52
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Jun 1 10:46:11 2022 +0200
va/surface: set the correct size in vaExportSurfaceHandle
The size must be the size of the total object, not the size
of the resource.
For instance, when using a single object for a multi-plane
format, the size of each plane should be equal to the size
of the underlying object to match libva's documentation:
/** Total size of this object (may include regions which are
* not part of the surface). */
uint32_t size;
Fixes: 13b79266e47 ("frontend/va: Setting the size of VADRMPRIMESurfaceDescriptor")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16813>
(cherry picked from commit bce227611d5e124ab8dc8f0be872e3360414f575)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4c1b9a5e6320edf1bd8384f1aaeab8ea61dfba1
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Jun 1 10:45:09 2022 +0200
gallium: add size attribute to winsys_handle
This is needed at least for the VA-API frontend where the exporter
needs to know the total size of the object.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16813>
(cherry picked from commit 8c07d7cbdd2cfc09246d625246bacf8c9c4ecc57)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5df18fdb77e149bc25bfb5981b654d86128dab70
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Wed Jun 8 08:58:37 2022 -0700
.pick_status.json: Update to 35dd4ac886283444294238ae0be1a7edcc776c8a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30a9514258af95a0fa904717170b6412de29b2a5
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Thu May 19 12:08:46 2022 -0400
pan/mdg: Remove uppercase write masks
These do not convey any additional information, and fail to account for
shrinking. In particular, a 64-bit writemask with .keephi would fail to
disassemble and instead trip the assertion, since that would be the ZW
components. Just delete the broken code.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16798>
(cherry picked from commit 8c11f4809b8c766902ad5ac36d2dd5c0536ce682)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01eba9dcb2d5968924ddf9cae51521e53f01d845
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Thu May 19 12:29:01 2022 -0400
pan/mdg: Scalarize with 64-bit sources
Otherwise, we can get vec3 with u2u32 with 64-bit sources which we need lowered.
Since our current approach is "scalarize all 64-bit ops", we need to check for
conversions too.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16798>
(cherry picked from commit 9e4b45795866547a5debecd122d6e72af6a9c603)
Conflicts:
src/panfrost/ci/panfrost-t860-fails.txt
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4da856eaacc32b5cfa5f7f233e8e34f9302be622
Author: Emma Anholt <emma at anholt.net>
Date: Tue May 31 13:18:09 2022 -0700
nouveau/nv30: Make sure fsat is lowered in the VS.
GLSL lowers fsat to clamps based on PIPE_CAP_VERTEX_SHADER_SATURATE
(EmitNoSat), but nir is happy to optimize that back to fsat unless you
tell it not to.
Noticed by inspection while looking at deleting EmitNoSat.
Fixes: ca1ec7272685 ("nv30/40: Switch to using NIR-to-TGSI by default.")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16823>
(cherry picked from commit 7a8e3c80fd41fea5fc3730c79580682d4c92ee15)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7026ff1857132359388c855ffcb3a612b42ef4b4
Author: Nagappa Koppad, Basanagouda <basanagouda.nagappa.koppad at intel.com>
Date: Mon Jun 6 14:40:06 2022 +0530
iris:Duplicate DRM fd internally instead of reuse.
Scenario we want to avoid is double close of DRM fd in iris driver.
Signed-off-by: Nagappa Koppad, Basanagouda <basanagouda.nagappa.koppad at intel.com>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6620
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16886>
(cherry picked from commit a99e85db9ebd83c41d3606568db8e8d81ca0205c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c6c80b0a0b18d41e837bee783364b73964a1e93
Author: Qiang Yu <yuq825 at gmail.com>
Date: Thu Mar 24 11:15:58 2022 +0800
mesa/program: fix nir output reg overflow
outputs_written is uint64_t, should count max reg number
by util_last_bit64(). Otherwise the following access will
overflow the allocated array with a smaller size.
cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Signed-off-by: Qiang Yu <yuq825 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15765>
(cherry picked from commit feea8fed44331bc19f6e8869a7c0d421b50b9054)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b37f7dabc1a76d792d62366798296757427bf94
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Mon May 30 12:46:20 2022 +0100
aco: fix SMEM load_global with VGPR address and non-zero offset
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Fixes: 3e9517c7577 ("aco: implement _amd global access intrinsics")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16775>
(cherry picked from commit f4c02d9116dd01629fbac850d51ba590a1af062a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b223bf759dc54c71338e9ea8ace6431a5727fd4f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Mon May 30 12:45:10 2022 +0100
aco: fix SMEM load_global_amd with non-zero offset
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Fixes: 3e9517c7577 ("aco: implement _amd global access intrinsics")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16775>
(cherry picked from commit 4d9f3fcf9cab04c787211b15e645bd28e34a0227)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=379aab1a64da6f502175f7c1373febce91322dd1
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date: Thu Jun 2 17:06:20 2022 +0200
v3d: save only required states in blitter
Some blitter operations, like clear, doesn't require to save all the
states.
This is particular important because, besides saving time, the blitter
operation restores the state required for the operation, and if we saved
more states than those, these ones won't be restored and will be leak.
So this also fixes some leaks when running CTS tests.
CC: mesa-stable
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16837>
(cherry picked from commit 695f66cecd431eb3b8e38f7d3436ff9e44028384)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e01d543c76acf6b0496dc9dde93cc05383344646
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jun 3 16:32:39 2022 -0400
format_utils: properly parenthesize macro params
this otherwise breaks evaluation of the parameters on arm64
cc: mesa-stable
fixes #6496
Reviewed-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16860>
(cherry picked from commit ba09a00a5cbbcd75b59ec121985ff4d12f220eb8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2f4b1acfbfe816735963b10d6757037db8e9a25
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Fri Jun 3 16:26:11 2022 +0200
zink: Use VK_USE_64_BIT_PTR_DEFINES to check for 64bit platforms.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6605
Cc: mesa-stable
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16853>
(cherry picked from commit f3c3b8cf2aea12245f87e70d9f007e6260d3a6db)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0f34e6bafbd7c7d9682a0c5f215b62a6922064e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jun 1 14:12:16 2022 -0400
zink: fix dmabuf plane layout struct scoping
this struct needs to exist for all the scopes it's used in
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16822>
(cherry picked from commit c57fa8b390414f93ca24b027c708c5f854eafcf2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39ca39d4f3f2df71422e0fbf9fe28145e437dc93
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jun 1 11:31:49 2022 -0400
kopper: use get_drawable_info path for non-x11 drawables
wayland surfaces need to take this path to get resizing right
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16814>
(cherry picked from commit b6a80142178ddba9d5b970b53e1f621b95235755)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3b4b2d5636d735642903f43fa05e1c3206d3179
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jun 1 16:34:32 2022 -0400
egl/wayland: skip buffer creation on zink
this happens through wsi, so don't create resources that aren't used
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16814>
(cherry picked from commit 20ba7596949085bcf06ba48ff4f1a0784c6a6e24)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=575da2866f53d334692cfe452bc62b2d1210e2d3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jun 1 10:47:27 2022 -0400
egl/wayland: manually swap backbuffer when using zink
this would usually occur through dri2_wl_swrast_commit_backbuffer(),
but zink triggers this functionality using vulkan wsi, which fails to
perform these updates as expected
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16814>
(cherry picked from commit f67bd8adfab7eac1bd83ee5d3cc90d6dce76fbf3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e58cd4a6f91adb34400e6d86b05506658f721e20
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Thu May 19 10:57:40 2022 +0200
st/mesa: use mutex in st_get_texture_sampler_view_from_stobj
st_texture_release_all_sampler_views uses the validate_mutex,
but st_get_texture_sampler_view_from_stobj didn't.
Since they both modify stObj->view we could have threadA in
st_get_texture_sampler_view_from_stobj with a non-NULL sv,
so expecting sv->view to be non-NULL, while threadB was in
st_texture_release_all_sampler_views clearing sv->view.
It's also needed to protect st_sampler_view::private_refcount,
which is supposed to be used from the owning context thread,
but can also be used by any context in st_texture_release_all_sampler_views.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6088
Fixes: ef5d4274132 ("st/mesa: add a mechanism to bypass atomics when binding sampler views")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16779>
(cherry picked from commit b51e40ebdecea4bfe0afa8200d068fc35798596f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6ad3c0fd770546520d84c0626d0857dd4aa0bfa
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Wed May 25 10:18:32 2022 +0200
microsoft/spirv_to_dxil: Fix the push_constant UBO size calculation
Right now, we just consider the size of the accessed portion of the
push constant array, but it doesn't necessarily reflect the size
of the UBO we should declare.
Fixes: de1e941c5909 ("microsoft/spirv_to_dxil: Lower push constant loads to UBO loads")
Reviewed-by: Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16703>
(cherry picked from commit 2feef505c1e93f23bfd480eced4e1f7c7755c5ad)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=211d980d297f818f4d059ad5ca24ec397ee17399
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Wed May 25 10:05:26 2022 +0200
microsoft/spirv_to_dxil: Fix push_constants type declaration
We're not declaring an array of bytes but an array of uint32. Let's
fix the element_count we pass to glsl_array_type().
Fixes: de1e941c5909 ("microsoft/spirv_to_dxil: Lower push constant loads to UBO loads")
Reviewed-by: Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16703>
(cherry picked from commit 6783a8845566a9fdffa938d5b99127f7a3af0edf)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=551396ed7b711696143c40f9867b6d222cbf4f12
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Thu Jun 2 09:03:16 2022 +0200
radv: enable radv_zero_vram for Hammerting
This native Vulkan game is broken, it has TON of Vulkan validation
errors and hangs without RADV_DEBUG=zerovram. Also tested with PRO
and AMDVLK.
The application name is also not really descriptive but the executable
name 'boot.exe' is worst.
https://github.com/ValveSoftware/Proton/issues/4347#issuecomment-1141415515
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/16832>
(cherry picked from commit fe9f1d064af05464e5a31c74ea0d063b8c20611d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc7c2df02b87966ddd67851085e629e0f982eb1a
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Jun 3 12:25:32 2022 +1000
llvmpipe: handle timespec overflow on fence waits.
on 32-bit systems VK CTS was failing due to an overflow here,
detect the overflow and just do a normal wait.
Fixes: 5b284fe6bc0a ("llvmpipe: add lp_fence_timedwait() helper")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16847>
(cherry picked from commit b62dd20dea64c3ab5a79673fcfd9442e4f80b855)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9097462c37ccdda899ce59e53572e8890a47e701
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Jun 2 14:04:04 2022 -0400
zink: force queries to start/end out of renderpass
spec requires queries to either start and end in the same renderpass
or start and end outside of renderpass, so do the latter since it's
easier to track
cc: mesa-stable
fixes #6579
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16844>
(cherry picked from commit d9ab27944d800d84296ded8489349d3240f0d2da)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5baf33795a56f7b54fc9ecba17032c69201e4399
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Thu Jun 2 20:27:41 2022 -0400
pan/bi: Fix clper_xor on Mali-G31
Mali-G31 has the old CLPER instruction, not the new one, which means we don't
get to specify a custom lane op. But the clper_xor helper incorrectly checked
the arch, not the implementation quirk.
Fixes: c00e7b729fe ("pan/bi: Optimize abs(derivative)")
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reported-by: Icecream95 <ixn at disroot.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16846>
(cherry picked from commit 7535362204642db2b59b48ac910cb74146bb96a6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d962bdcdd344b1b397ceba0f332709dd4abe0f88
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Jun 2 02:11:15 2022 -0700
intel/compiler: Fix uncompaction of signed word immediates on Tigerlake
This expression accidentally performs a 32-bit sign-extension when
processing the second half of the expression (the low 16 bits).
Consider -7W, which is represented as 0xfff9fff9 in our encoding (the
16-bit word is replicated to both halves of the 32-bit dword).
Tigerlake's compaction stores the low 11-bits of an immediate as-is,
and replicates the 12th bit. So here, compacted_imm will be 0xff9.
( (int)(0xff9 << 20) >> 4) |
((short)(0xff9 << 4) >> 4))
0xfff90000 | (0xff90 >> 4)
0xfff90000 | 0xfffffff9 ...oops...
0xfffffff9
By casting the second line of the expression to unsigned short, we
prevent the sign-extension when it combines both parts, so we get:
0xfff90000 | 0x0000fff9
0xfff9fff9
Fixes: 12d3b11908e ("intel/compiler: Add instruction compaction support on Gen12")
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16833>
(cherry picked from commit 26bb81f3f62ff5a19f360f4b6d2f72bdcb229360)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03847428d8844d26a856a459535ad1eb1322ca48
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Tue Jun 7 11:01:56 2022 -0700
.pick_status.json: Update to 49234585772f49626435d3d9324ad144e27fc453
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b77caa70f2ff3eadbb6847f1752a1f5a901db9b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jun 1 16:25:58 2022 -0400
lavapipe: fix dynamic patchControlPoints
the dynamic state value is independent of whether tesselation is used
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16824>
(cherry picked from commit fc5a3e1e37ac1d4f081304c0b3bcd253e5b524fb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9d10441f09b22e00d5ea1ca58c7980bae3d7c5a
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Tue May 31 08:54:30 2022 +0200
intel: remove stale makefile
When this landed, the Autotools build system was already removed. Why
was this file added in the first place? Probably a rebase-mistake...
Fixes: 134e750e16b ("i965: extract performance query metrics")
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16790>
(cherry picked from commit a8605db504b20607b3e9461e5fbbbd2bdeff155f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85d1edec9b463d57b179d4ba0a4f8ba70643d92e
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Tue May 31 07:27:42 2022 +0200
freedreno: remove stale makefile
We don't use this makefile, so there's no point in keeping it in the
repo. It's also a generated one, so it contains a lot of... mess.
Fixes: 536f43cb96b ("freedreno: slurp in afuc")
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16790>
(cherry picked from commit 9bcd5386431a5a735a9d179a395af14baca7dc87)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e320dce31a1f1a1763b7a95060d460d3932fa7e4
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Jun 1 14:34:08 2022 -0400
panfrost: Fix XML for AFBC header on v9
Misnamed field due to copy/paste fail from Bifrost.
Fixes: c011ea6c265 ("panfrost: Shuffle render target AFBC for Valhall")
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16800>
(cherry picked from commit 2cc2f217d4e686538ba52f9a9062af5efaa13b49)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae07db983d042fe696a705b1cbd420768a269682
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Thu Jun 2 10:37:22 2022 -0700
.pick_status.json: Update to ad5c84999b9eb2522cdf78bb0890939450280cf3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6195ecc599c8acd0eafb67181f57b59c93bf9b86
Author: Kyle Russell <bkylerussell at gmail.com>
Date: Sat May 7 17:56:09 2022 -0400
etnaviv: don't halve max_instructions for GC400
This allows glamor to successfully compile its shaders on the GC400.
When running glamor using the GC400, Xorg reports that the compiled
shaders exceed the maximum allowed instructions because the value
reported from the kernel is halved.
Xserver[314]: etna_draw_vbo:318: compiled shaders are not okay
$ cat /sys/kernel/debug/dri/128/gpu | grep instruction_count
instruction_count: 256
However, the spec for the Unified vertex-fragment shader explicitly
lists 256 as the maximum number of instructions for each shader
("256 for vertex shaders; 256 for fragment shaders").
Signed-off-by: Kyle Russell <bkylerussell at gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
(cherry picked from commit aa29e0d858799554396bedefbdcf64a6185d0c47)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16661>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53c72db5d3c5c00eec054d5530efee60afd94310
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Wed Jun 1 14:49:45 2022 -0700
.pick_status.json: Update to 1c63a0beafefccec599ddbe355ec5a8b61df6438
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4beb72bc7c1e111b383bbf4f2d598ab3df1704d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 31 09:56:30 2022 -0400
zink: remove first_frame stalling
this is fixed by kopper
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16796>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38b59a9e1501ade65b6c4e5e7d556ebccf90f377
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 26 14:19:15 2022 -0400
st/pbo_compute: fix z coords for compute pbos
without manually taking the value from the global_id vec, this will
end up being offset.y again, which breaks z-indexing
Fixes: e7b95619596 ("gallium: implement compute pbo download")
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16728>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d05f81668b9408b9a4214882daa8aca909d0570b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu May 26 14:52:46 2022 -0400
st/pbo_compute: make compute download conditional in shader slightly more readable
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16728>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e27144bedffe243a94434765a32aab1035a7669
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Thu Mar 24 10:36:06 2022 +0100
nir: introduce and use nir_component_mask
The BITFIELD_MASK() macro is intended for using with actual bitfields,
not with nir_component_mask_t. This means we do some extra work to
handle values that are invalid for nir_component_mask_t in the first
place.
This eliminates some warnings on Clang, where the compiler complains
about casting UINT32_MAX to UINT16_MAX.
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15547>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87e49ea9779270f09591e5294b2e36e99b4a0f82
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date: Mon May 9 12:15:44 2022 -0500
nir/builder: Add a nir_trim_vector helper
This pattern pops up a bunch and the semantics of nir_channels() aren't
very convenient much of the time. Let's add a nir_trim_vector() which
matches nir_pad_vector().
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16309>
More information about the mesa-commit
mailing list