Mesa (staging/21.3): 46 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 9 20:11:03 UTC 2022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fef2cdb0a57b91143173a9d8b1ac32c7e577eb89
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Feb 9 20:10:39 2022 +0000
VERSION: bump for 21.3.6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=405ce01d7855d2e21482796a3c2b6b699ff3ea89
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Feb 9 20:10:36 2022 +0000
docs: add release notes for 21.3.6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b680bd065622deea9ca7b0bed261c68da7eedba3
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=caf19bcf7beaf8eadb89ac96d0573fef1c00a4d3
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=f0281839c321435d2298c2bf3a08785d83dd9953
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=ed869d3eb74bc5c5ee570a31a74bd9837ffc0cce
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=fa3d049548c21ca4742fe71e368ed53111299838
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=c185f61e1bba028bd09f377ec72540e7a010f167
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=3cbc17121b72dcde142db25a7aecf5526d875b86
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=808eec704d04aaae93c4a146efc8bd0c9520ef76
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=58382828c9922c4b67f7ad4b74607cd811d1fddf
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=444e37340d25c584d7c810e6ee1985d42de31e72
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=2ef1287ef72e2373235123f39c216637734f4f76
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=b340c47b69b93a36bdcb0f0e635d005da4013505
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=6bc710d7694bf1f0ae019326407f7d32af043852
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=fe18c96c86b7fcd39836c0915c806acc9a2039b8
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=2027acff500d143bc911139545bc86ab8f7ef37f
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=77f9a3ada477ee00c8a7ff695a6559638d3695bc
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=5be8602e4df2954bd036ffb5be207f2bdcd5e30d
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=e5d09f30b94c0759ade25a3e350672652bd7be9c
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=39e4072ef436e2b12122f0c516357605d765deef
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=675c2dabd33b9df0c094c32287acabe358f93819
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=d594032257e127991212592598ba0f4f40514578
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=b366fdbe53b9ddf18485ee253d38e04b22fb277d
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=09499c42027edb85e1accc44f8cfdd6717c3d1ff
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=6f916ec0c0d31361121f381129a03a9b6f3d583f
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=154ce771769c155f6e4bbf4e879ce418172e1d3f
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=c975c588b1520318d6b8650812e08940130ea84d
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=494e8094690679f9cff5aa1970f26fe41cbf476f
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=e2085aeaff25655e2cd91a232c229b064d91e63b
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=9b50b320d1db19c8c00be0e5476ef58c55db6e49
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=adab2e0b7a4c4c7ad55c214f1767971def199c32
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=e3956c3d5cec368bd92b30294dac30d3384fe8ae
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=d08330e7314aa0efb48dfdff3257f73a5c35cd39
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=35444289c5b525f79f895b5e8c163152100ba74f
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=9c0388b7ff2d78b36906fbfd043a890381df38bd
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=cbb35dbbccfccff5f6c0be9cea4c4aa927c543fd
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=d55fed66d98466d955044fec9f3e7e9d7c7079c4
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=a987828e6b8f92a834e356243a193f45caf921a7
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=343f9f52a127231ed02247096374fcc44248e014
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=5a106c47d72dd5986049fffffeb8ee4a8092a644
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=0051b41362b6afceba2eb7e53626de3b01a96818
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=9f974e41b103807fc6f360561670a43cfd063f81
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=2e255372a66535b63188b3873c0776088decc9b8
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=f040bf876ba748ba14c0ffd2094e943ba13ee196
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=bf8ee1a24fea02e6f2368c8d5cb588bf84ad77ae
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jan 26 22:35:23 2022 +0000
.pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
More information about the mesa-commit
mailing list