Mesa (staging/21.3): 54 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 9 06:06:09 UTC 2022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b5720d07e75201cc0be5eb58c166abb086938e7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Jan 18 10:05:22 2022 +0200
intel/nir: fix shader call lowering
We're replacing a generic instruction by an intel specific one, we
need to remove the previous instruction.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: c5a42e401036 ("intel/fs: fix shader call lowering pass")
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
(cherry picked from commit 39f6cd5d799ad077ad41d920dc31c5da1fae3c24)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bf9a88a62515031c9de6bb5ee48a56495ec89a7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Thu Feb 3 11:33:26 2022 +0200
intel/fs: don't set allow_sample_mask for CS intrinsics
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: 77486db867bd ("intel/fs: Disable sample mask predication for scratch stores")
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
(cherry picked from commit c89024e4463389663cf7f7d2f2752de2029efb23)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1833f2672f6c26b45172d0dea2fa382eef0d418
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Feb 3 09:51:52 2022 -0500
zink: min/max blit region in coverage functions
these regions might not have the coords in the correct order, which will
cause them to fail intersection tests, resulting in clears that are never
applied
cc: mesa-stable
fixes:
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_all_buffer_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_color_and_depth_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_color_and_stencil_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_linear_filter_color_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_magnifying_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_minifying_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_missing_buffers_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_nearest_filter_color_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_negative_dimensions_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_negative_height_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_negative_width_blit
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_scissor_blit
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14867>
(cherry picked from commit 388f23eabe54cb92d71eb5a31b39338585cd4d76)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27a70a437d5fa0af7eb798031555d25410067366
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Feb 1 10:41:35 2022 -0500
zink: reject invalid draws
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14859>
(cherry picked from commit b656ab75a684807d2718d726dd807726a36f1a0f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4628c06127df7b85b54361c182eae183e7bf31aa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Jan 31 10:43:54 2022 -0500
zink: fix PIPE_CAP_TGSI_BALLOT export conditional
this requires VK_EXT_shader_subgroup_ballot
cc: mesa-stable
fixes (lavapipe):
KHR-GL46.shader_ballot_tests.ShaderBallotAvailability
KHR-GL46.shader_ballot_tests.ShaderBallotFunctionRead
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14858>
(cherry picked from commit e38c13830fcbe8f3784dc3adbd736ea72b67fdea)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=866fcc5adf0d708ebf1a6155a4386b2cdd5afce1
Author: Eric Engestrom <eric at engestrom.ch>
Date: Tue Feb 8 19:50:14 2022 +0000
.pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8761e3918f0d057f50073e45f9ef55431b10b39
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri Feb 4 19:02:54 2022 +0000
radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances
Matches radeonsi.
Seems Vulkan CTS doesn't really test cull distances. Removing
VARYING_SLOT_CULL_DIST0/VARYING_SLOT_CULL_DIST1 variables doesn't break
any of dEQP-VK.clipping.*, except for tests which read the variables in
the fragment shader.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5984
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14882>
(cherry picked from commit 7ddad1b93a131df4c3ec86caf7cacd593caef64f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7df3d09aaf1f2c0bebc8f8d84a73a00fd3e787d
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Feb 7 16:19:15 2022 +1000
crocus: find correct relocation target for the bo.
If we have batch a + b, and writing to batch b, causes batch a
to flush, all the bo->index get reset, and we try to submit a -1
to the kernel.
Look the bo index up when creating relocations.
Fixes crash seen in KHR-GL46.compute_shader.pipeline-post-fs
and a trace from Wasteland 3
Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
Reviewed-by: Zoltán Böszörményi <zboszor at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14905>
(cherry picked from commit 37c3be6947b43d31e454d1f4adcee8eea49a8f0a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52534ebc4de3347209f09b8a0de79f9753b3a436
Author: Eric Engestrom <eric at engestrom.ch>
Date: Mon Feb 7 19:24:18 2022 +0000
.pick_status.json: Update to 604d97671b663501195644f2a5f12535e88c563f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=059493ba9ec9e89796cd0881aa3d032e38c5a673
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Feb 6 14:39:39 2022 +0000
.pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=11d5ea93f89fde21ae5a06488dc9ce6d4d07d1dd
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Feb 6 14:39:35 2022 +0000
.pick_status.json: Update to 945a1e0b8cd57403c6a0cbf9b2fec112f233075e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45a84461271c9584ff51e5cb167f7d166ed1ff74
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Jan 27 10:43:33 2022 -0500
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
required by spec
cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14853>
(cherry picked from commit 1e96542390adaaec2b3e84ef69239f580403b26d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5dab9182c5b81d3f41f1db16c5810e5ff3c073f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Feb 2 18:00:20 2022 -0500
llvmpipe: ci updates
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835>
(cherry picked from commit f8a90104101b90af43dc6aabf19560a326be6333)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f052bd174c8da82d034a9ffc395fe43c0d8e7843
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Feb 2 15:54:45 2022 -0500
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
this cap is broken
cc: mesa-stable
fixes:
GTF-GL46.gtf21.GL2Tests.glGetUniform.glGetUnifor
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835>
(cherry picked from commit 9a75392cd829df3f8f5a89dfecd4f2103658bfbd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ad259c9064317e80422d710d8d095ded5bc4dbc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Feb 2 14:53:45 2022 -0500
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
this cap is broken
cc: mesa-stable
fixes:
GTF-GL46.gtf21.GL2Tests.glGetUniform.glGetUniform
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835>
(cherry picked from commit 9a38dab2d18d5c6c685bdedb921d485bbb305eed)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b0db4a12a67333ed96b3d409aea5f116f2f1e04
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Feb 4 20:31:38 2022 +0000
.pick_status.json: Update to 47f4cb2405fa8cbfce8e940c07b7725d9619f200
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=31462006f3b1ecf71d11b20138e9e404eb40b2cd
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Wed Feb 2 16:42:24 2022 +0000
aco: don't encode src2 for v_writelane_b32_e64
Encoding src2 doesn't cause issues for print_asm() because we have a
workaround there, but it does for RGP and it seems the developers are not
interested in fixing it.
https://github.com/GPUOpen-Tools/radeon_gpu_profiler/issues/61
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Tested-by: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14832>
(cherry picked from commit 0447a2303fb06d6ad1f64e5f079a74bf2cf540da)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10cdd85533f808055370a3a83b0bbf0bec339104
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu Feb 3 19:10:08 2022 +0000
.pick_status.json: Update to 0447a2303fb06d6ad1f64e5f079a74bf2cf540da
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaf282c15abebe590428bee71846bf296df6d112
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Feb 2 02:30:34 2022 -0800
i965: Avoid NULL drawbuffer in brw_flush_front
Commit 17e62a3c23f68df802bcbfdab947dff4226fa281 made _mesa_make_current
begin calling ctx->Driver.Flush() in more cases, including when called
during context destruction, after _mesa_free_context_data has set
ctx->DrawBuffer to NULL. i965's flush hook wasn't prepared for this,
and assumed that ctx->DrawBuffer was non-NULL. This led to a crash
with the following backtrace:
#0 0x00007ffff5bf97b5 in _mesa_is_winsys_fbo (fb=0x0)
at ../../src/mesa/main/fbobject.h:52
#1 0x00007ffff5bfa359 in brw_flush_front (ctx=0x5555555a4110)
at ../../src/mesa/drivers/dri/i965/brw_context.c:242
#2 0x00007ffff5bfa587 in brw_glFlush (ctx=0x5555555a4110,
gallium_flush_flags=0) at ../../src/mesa/drivers/dri/i965/brw_context.c:301
#3 0x00007ffff5d46b2b in _mesa_make_current (newCtx=0x0, drawBuffer=0x0,
readBuffer=0x0) at ../../src/mesa/main/context.c:1616
#4 0x00007ffff5d46484 in _mesa_free_context_data (ctx=0x5555555a4110,
destroy_debug_output=true) at ../../src/mesa/main/context.c:1309
#5 0x00007ffff5bfcb59 in brw_destroy_context (driContextPriv=0x555555590260)
at ../../src/mesa/drivers/dri/i965/brw_context.c:1301
There is really no point in worrying about front buffer flushing during
the context's destruction when we've already discarded the drawbuffer,
so just add a NULL check in brw_flush_front and skip that work.
Fixes: 17e62a3c23f ("mesa: (correctly) flush more in _mesa_make_current")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5957
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14828>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0f586162b72a1b83d353442e15e18c32b8f26f1
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Feb 2 21:44:02 2022 +0000
.pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e7105d0cf425d3155bbd0c8aee4329c93325b42
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue Feb 1 15:57:36 2022 +0100
radv/winsys: fix missing buffer_make_resident() for the null winsys
With latest Fossilize everything should now be captured correctly
but without this, all Fossilize databases that need
VK_EXT_custom_border_color would just crash.
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/14821>
(cherry picked from commit 1cadd19197aabd36f1da31740af8ff712bd66e6b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=582227b11a548cb3b9d0db2d85b9755ba93f3f08
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date: Tue Feb 1 14:32:02 2022 +0200
ir3: opt_deref in opt loop to remove unnecessary tex casts
Otherwise we may be left with such casts:
vec1 32 ssa_72 = deref_var &shadow_map (uniform sampler2D)
vec1 32 ssa_73 = deref_cast (texture2D *)ssa_72 (uniform texture2D)
vec1 32 ssa_74 = deref_cast (sampler *)ssa_72 (uniform sampler)
vec1 32 ssa_76 = (float32)tex ssa_73 (texture_deref), ssa_74 (sampler_deref), ssa_75 (coord), ssa_64 (comparator)
And crash in ycbcr lowering since we aren't able to follow deref chain.
Fixes crash in GFXBench Aztec Ruins Vulkan tests.
See issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5945
Cc: mesa-stable
Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14819>
(cherry picked from commit f917c735288835a18b8aba799b8e48acc75bdcf9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9912299f27f742d449df03ace22eb7936f2f1c80
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Wed Jan 5 19:45:55 2022 +0100
ir3/cp: ir3: Prevent propagating shared regs out of loops harder
We need to check the source of the copy, not the destination. That means
this we need to move this check inside the ifs, where we know that the
source is a copy.
Fixes: 590efd180be ("Prevent propagating shared regs out of loops")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14412>
(cherry picked from commit 09731fc79a4dcb5e74d65088ca3aa9795c779dc7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=83a6109906b6e641e5069c06d67c1ddc70b9115a
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Mon Dec 6 19:10:28 2021 +0100
ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor()
Fixes: 2768a35e416 ("ir3: Add pass to remove unreachable blocks")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14412>
(cherry picked from commit 53e54898e040da33d665ff73d6b92c6860157865)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bf0340ae19984cf58279c4976c94307af7186af
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 18 10:39:25 2022 -0500
zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops
Workgroup is only allowed in compute shaders, and Device should be more
in line with the intended use here
the alternative would be to keep using Workgroup for compute and use Device
otherwise, but this would effectively make atomic ops non-atomic, which seems
like it isn't desirable
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14690>
(cherry picked from commit 6f38ea4ac73302fb040ef27f84633e34da3567ac)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e71e90eea7829f011d802417f96128718e8ccf60
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 14 16:30:28 2022 -0500
zink: cast image atomic op params/results based on image type
according to spec, these must match the texel pointer type
cc: mesa-stable
fixes (nvidia):
dEQP-GLES31.functional.image_load_store.2d.atomic.exchange_r32f_return_value
dEQP-GLES31.functional.image_load_store.2d_array.atomic.exchange_r32f_return_value
dEQP-GLES31.functional.image_load_store.cube.atomic.exchange_r32f_return_value
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14690>
(cherry picked from commit 2361c52b5e88bdc9212161a7fb4070c40082c01a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1df7d008a971f13b1070eb3aaa3ad112a07cced6
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Jul 22 18:38:20 2021 -0500
vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path
Fixes: 4bdf8547f4dc "vulkan/wsi: Implement VK_KHR_swapchain_mutable_format"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12031>
(cherry picked from commit 8299d5f37f1689ca90278eab45b0277c89cca058)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f5462523b2ae37fc5032cbc7d9d316409c6a90
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Tue Jan 18 00:38:10 2022 +0100
vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness.
This had the opposite problem of the shm path. R8G8B8A8 was always support if
either DRM_FORMAT_XBGR8888 or DRM_FORMAT_ABGR8888 was supported, but we need
both.
Fixes: d944136f363 ("vulkan/wsi/wayland: don't expose surface formats not fully supported")
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14588>
(cherry picked from commit cbe4943ae949d6c46222bafacac573c7ea50caed)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49e088239406db0d550f29680f9ca700f37ba421
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Tue Jan 18 11:19:34 2022 +0100
vulkan/wsi/wayland: Add modifiers for RGB formats.
These formats get overwritten after the FALLTHROUGH, so no modifers got added
to them at all.
Fixes: 151b65b2119 ("vulkan/wsi/wayland: generalize modifier handling")
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14588>
(cherry picked from commit 9843fddffff24a4add73182b909802d2ba74581c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8baf16d1d9075118960a35245386d57359b4533
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Tue Jan 18 00:40:00 2022 +0100
vulkan/wsi/wayland: Convert missing vulkan formats to shm formats.
Fixes: 6b36f35734a ("vulkan/wsi/wl: add wl_shm support for lavapipe.")
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14588>
(cherry picked from commit a881b6ac1ff70c73090ee076c4011ad84493ae14)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8fe66f3ef6d3fc9123e315cc479161db7af2719
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Tue Jan 18 00:13:09 2022 +0100
vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness.
We need both the SHM format with alpha and the opaque format to fully support
a vulkan format with alpha. Previously no surface format was reported because
the vulkan formats with aplha were never added as opaque.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5879
Fixes: d944136f363 ("vulkan/wsi/wayland: don't expose surface formats not fully supported")
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14588>
(cherry picked from commit 4ae4e04e18d7dc688aa94e52778c4959861bae0c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3f07a7c7fff56dba27c9507e967195c293734e8
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri Jan 28 13:48:34 2022 +0000
aco: fix neg(abs(mul(a, b))) if the mul is not VOP3
Previously, is_abs was just ignored if mul_instr->isVOP3()==false.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Fixes: 93c8ebfa780 ("aco: Initial commit of independent AMD compiler")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14773>
(cherry picked from commit 452975f257f14ae755c713d607a002b9211a8a17)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05110a7860ec1953634e14915078c7b826e5d792
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 18 17:40:56 2022 -0500
zink: fix waiting on current batch id
- the current batch id is always 0
- there is always a current batch
- a batch id can only be set at the time of submit
thus when passing 0 to wait on the current batch, the submit must complete
so that there is a batch id, and this must occur before the timeline wait
path or else the timeline wait does nothing
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14693>
(cherry picked from commit 3a0888c62fa3ebcce0494e3e07451fa9aa26b9df)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76b60224c2742755268b952166e9a803b611952d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 18 11:17:12 2022 -0500
zink: add vertex shader pipeline bit for generated barrier construction
if the vertex buffer resource has writes, it needs this bit too
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14691>
(cherry picked from commit 95bfb7568862e209cb3ec49f9a70f329f7324410)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=956f8de5145d9e8acb384b65a68c43cb09eac1b8
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 18 13:06:55 2022 -0500
zink: clamp tbo creation to maxTexelBufferElements
for sparse buffers, the total buffer size will be huge, so this needs
to only be the limit that the driver can support to avoid crashing
or whatever
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14692>
(cherry picked from commit 27d405dc2fddb5b814476a4e055358fd1efa7a4d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd51e701177cf01c5590f59071ac1256b396d1b0
Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
Date: Mon Jan 10 17:18:05 2022 -0800
iris: implement inter-context busy-tracking
Previously, no buffers were ever marked as EXEC_OBJECT_ASYNC so the
Kernel would ensure dependency tracking for us. After we implemented
explicit busy tracking in commit 89a34cb8450a, only the external
objects kept relying on the Kernel's implicit tracking and Iris did
inter-batch busy tracking, meaning we lost inter-screen and
inter-context synchronization. This seemed fine to me since, as far as
I understood, it is the duty of the application to synchronize itself
against multiple screens and contexts.
The problem here is that applications were actually relying on the old
behavior where the Kernel guarantees synchronization, so 89a34cb8450a
can be seen as a regression. This commit addresses the inter-context
synchronization case.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5812
Fixes: 89a34cb8450a ("iris: switch to explicit busy tracking")
Tested-by: Konstantin Kharlamov <hi-angel at yandex.ru>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14783>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69fb8cea15f1e37188698b04c4d0b5aac1085975
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Feb 2 20:33:41 2022 +0000
.pick_status.json: Update to 242c7a651308f43d5f6f2590717fd72f44eba3ca
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f81cb2e6e9eff128eb1d3b17ddeb6fc1b128039f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 25 15:20:50 2022 -0500
zink: fix vertex buffer mask computation for null buffers
off by N
affects:
KHR-GL46.texture_cube_map_array.sampling
Fixes: 53aade0ef0d ("zink: fix enabled vertex buffer mask calculation")
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14721>
(cherry picked from commit 42ae116ac753aad5853139840f3e958b986922c1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04b854992987833a341dbea1b6199427bb5cae37
Author: Caio Oliveira <caio.oliveira at intel.com>
Date: Fri Jan 28 00:57:03 2022 -0800
anv: Fix subgroupSupportedStages physical property
Use the proper Vulkan values that can be combined into a bitmask.
Fixes: f40a08d25c9 ("anv: Don't advertise unsupported shader stages")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14761>
(cherry picked from commit d6c31f05a248a62e63525d2c264eb0ec7640b0f1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=456604a601af6a30b5b2d396d036ad6d7e539eea
Author: Emma Anholt <emma at anholt.net>
Date: Thu Dec 16 15:54:02 2021 -0800
vulkan: Fix leak of error messages
Fixes: 0cad3beb2a0d ("vulkan/log: Add common vk_error and vk_errorf helpers")
Acked-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14235>
(cherry picked from commit bdb8e615d1a1ff6cce935ee5544748d61db1bb5c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5025114101014c92914465981f25f81385d3d24b
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Jan 28 18:40:24 2022 +0000
.pick_status.json: Update to a78861b0fbd6e1c1bac7c89f4049cdab7ee2913d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bad11501c380fab2a90055de8f65d66a6ab19c6
Author: Manas Chaudhary <manas.chaudhary at collabora.com>
Date: Thu Jan 27 02:26:41 2022 +0530
panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs
nr_in_fences was being incremented to point to an
illegal address
Fixes: 1e23004600c3 ("panvk: Add vkEvents support")
Cc: mesa-stable
Signed-off-by: Manas Chaudhary <manas.chaudhary at collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14744>
(cherry picked from commit cad053db6152ee01950af8d7418c7672fd8abfe7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a7e44b26037901919bf974195512fa11899ffc3
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Tue Jan 25 12:19:33 2022 -0500
anv: Re-enable CCS_E on TGL+
Commit e6147895885 ("anv: Also disallow CCS_E for multi-LOD images")
accidentally disabled CCS_E on TGL+ because it checked for
image->vk.mip_levels > 0 instead of image->vk.mip_levels > 1.
Instead of reverting it, we remove the code which disables CCS_E for
mipmapped or arrayed images now that we've sufficiently handled the
clear color issue in other ways.
Fixes: e6147895885 ("anv: Also disallow CCS_E for multi-LOD images")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14723>
(cherry picked from commit 57445adc89186fcadc1e6006d1aa32768b26556b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e900e61f3d15b819c4c47ae5ce8277503c877110
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Tue Jan 25 16:33:26 2022 -0500
anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+
On TGL, if a block of fragment shader outputs match the surface's clear
color, the HW may convert them to fast-clears (see HSD 14010672564).
This can lead to rendering corruptions if not handled properly. We
restrict the clear color to zero to avoid issues that can occur with:
- Texture view rendering (including blorp_copy calls)
- Images with multiple levels or array layers
Fixes: e6147895885 ("anv: Also disallow CCS_E for multi-LOD images")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14723>
(cherry picked from commit c48401404c18a1f44dca6bd0d4ea2f64731eae4d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=292026c0964d0cdb44649c5acea331d3a5b84122
Author: Nanley Chery <nanley.g.chery at intel.com>
Date: Mon Jan 24 18:53:37 2022 -0500
anv: Disable CCS_E for some 8/16bpp copies on TGL+
CCS_E is currently disabled on TGL+, but we'll enable it soon. We choose
to explicitly disable it for certain copy operations to avoid CTS
failures in the following groups:
- dEQP-VK.drm_format_modifiers.export_import.*
- dEQP-VK.synchronization*
Fixes: e6147895885 ("anv: Also disallow CCS_E for multi-LOD images")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14723>
(cherry picked from commit d68b2db89ca38f3f6c0d3ebd65945c471d864d58)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e6bee7bd802b6ed1f70ad0333e414c7d3d8ca10
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu Jan 27 19:31:35 2022 +0000
.pick_status.json: Update to 2d75fd1e0ac06c65d83e053c58bf266732db3de4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa4733263dd3323f150594f4fe28af50ef2c2de1
Author: Yiwei Zhang <zzyiwei at chromium.org>
Date: Wed Jan 26 07:53:59 2022 +0000
tu: VkExternalImageFormatProperties is optional
..even if external image info has valid external handles.
Fixes: 26380b3a9f8 ("turnip: Add driver skeleton (v2)")
Signed-off-by: Yiwei Zhang <zzyiwei at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14730>
(cherry picked from commit 96acd0933eeb638ce2399a2dd8bf03906c765120)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c7e8e12d15718e5d48bf76b0013da0a7927f203
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 25 11:25:24 2022 -0500
zink: reorder fbfetch flag-setting to avoid null deref
this avoids dereferencing pg->dd which is allocated a few lines later
Fixes: 417477f60ed ("zink: always use lazy (non-push) updating for fbfetch descriptors")
fixes (radv):
dEQP-GLES31.functional.blend_equation_advanced.basic.multiply
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14718>
(cherry picked from commit 8747715aecea73fa932d11a30188aae2b353cdb4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1ffdb9a9ed1984b2971b6704040008494d77ae7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Tue Oct 26 12:38:18 2021 -0500
anv/pass: Don't set first_subpass_layout for stencil-only attachments
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/13980>
(cherry picked from commit 6612dcc4258b8c50b497afd7c276bbe3fd11d652)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5d8b764d5ba5affb43156f68260a562db55f815
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 21 09:39:22 2022 -0500
zink: never use SpvOpImageQuerySizeLod for texel buffers
this is illegal
cc: mesa-stable
affects KHR-GL46.texture_buffer.texture_buffer_texture_buffer_range
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14696>
(cherry picked from commit 5e748770b9ca755811d55cafba084b3434165fe0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1199803da5d980ae6e7297093655fd453ce46b31
Author: Francisco Jerez <currojerez at riseup.net>
Date: Mon Dec 20 01:54:57 2021 -0800
intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE.
This fixes a bug in the handcrafted SIMD lowering done by the SHUFFLE
code generation, which wasn't taking into account the source and
destination region strides while deciding whether it needs to split an
instruction.
v2: Use new element_sz() helper instead of left shift. (Lionel)
Fixes: 90c9f29518d ("i965/fs: Add support for nir_intrinsic_shuffle")
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14273>
(cherry picked from commit d1038197f31041f0ff5712bf92be63d34fb883e2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=193a97ddd57900f34ad44e09fa77b92e1a02641c
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jan 26 22:35:23 2022 +0000
.pick_status.json: Update to 8bca29dcf0ae01c23215bbee2193bdde1956def4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75835603058938d7f8f3a40ca6bdbfcd0a839d1b
Author: Charles Baker <charles at juicelabs.co>
Date: Thu Jan 13 20:19:33 2022 +1300
Revert "zink: handle vertex buffer offset overflows"
This reverts commit 9823b970fb51db21ac6ce29753eba82dc25f3072.
From VkPhysicalDeviceLimits [1]:
> maxVertexInputAttributeOffset is the maximum vertex input attribute
offset that can be added to the vertex input binding stride. The offset
member of the VkVertexInputAttributeDescription structure must be
less than or equal to this limit.
The maxVertexInputAttributeOffset is a limit on the offset of a vertex
attribute within a vertex rather than a limit on offsets for vertex
buffer bindings. The code to bind temporary buffers can be removed.
[1] https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceLimits.html
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14572>
(cherry picked from commit 1b88777e97f635612c560a2f00d349ea271581b1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb21190b24ba329a98078a5a3b274c8b76c48400
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Thu Jan 13 12:51:52 2022 +0100
Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants"
This reverts commit a1af902531122464b0f4eb66a7c4bf207a8a69f1.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5423
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14532>
(cherry picked from commit d1530a3f3b1625baa42e84cba9844b6eb4ac76ce)
More information about the mesa-commit
mailing list