URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78ef63305622a761d22d2bed926f46dcd5e0a310
Author: Eric Engestrom <[email protected]>
Date: Wed Feb 8 22:24:16 2023 +0000
docs/relnotes: add sha256sum for 22.3.5
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6570a15662e7b174080ef62335bb226eec84a6e8
Author: Eric Engestrom <[email protected]>
Date: Wed Feb 8 21:05:36 2023 +0000
VERSION: bump for 22.3.5
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad91f96a8d2cc1ae776c237af28bca7dcae73cf4
Author: Eric Engestrom <[email protected]>
Date: Wed Feb 8 21:05:31 2023 +0000
docs: add release notes for 22.3.5
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0950a0b30701fa7a803e35bea08fc937f1f57c73
Author: Iván Briano <[email protected]>
Date: Thu Jan 19 15:23:56 2023 -0800
anv: uncompressed views of compressed 3d images are now valid
There was a VUID-VkImageViewCreateInfo-image-04739 in the Vulkan 1.3
spec that said:
If image was created with the
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag and format is a
non-compressed format, viewType must not be VK_IMAGE_VIEW_TYPE_3D
That VUID has since been removed, and when a view of a 3D image is
created, with put the depth into the array_len, so it won't be always 1.
Reviewed-by: Mark Janes <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20803>
(cherry picked from commit 58ababdee6cd6b1e08604033602e4a5f9d5ab7a3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72a090347a6f0694725bad41116be9739d757f13
Author: Georg Lehmann <[email protected]>
Date: Tue Feb 7 20:53:12 2023 +0100
aco: fix imod/omod for gfx11 VOP3 opcodes
Fixes: d8d99c3c4f2 ("aco: add GFX11 opcode numbers")
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21170>
(cherry picked from commit c8adf16278fc02207602e4fafa12b95e6ea8dda0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6a3803803d12e2c4abb69c5ce928ec47ecad05e
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Feb 6 10:14:24 2023 -0500
util/vbuf: fix multidraw unrolling
* drawid needs to be incremented at end of loop
* rescope draw structs to initialize at top of loop
fix #8191
Fixes: 6b07893b31f ("util/vbuf: handle multidraws")
Reviewed-by: Kenneth Graunke <[email protected]>
Tested-by: Mark Janes <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21139>
(cherry picked from commit 8f5a63ebfe84f0bdaa7959fae79e9d42a17113ac)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=deccd02888860e58a7fbe700392accd7e7d5b98c
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Feb 7 14:50:16 2023 -0500
zink: use screen indexing for bindless descriptor set in template bind
Fixes: 8636717270f ("zink: add a "compact" descriptor mode")
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit faaf6f95cc478da6ea4f8416bdae7080d9fca77a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0efffb8f55ce98de3be284d6b1b755aaabb9b914
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Feb 6 15:26:43 2023 -0500
zink: make last_vertex_stage the first bit in zink_vs_key_base
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit 77d8cd9c07adb5da818ed14c7a60341e6289a308)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b3aaba2975cd2d3664b9a97dc4367df66ff0f1d
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Feb 7 13:53:28 2023 -0500
zink: fix gpl lib hashing
this was including the generated tcs bits, which was likely to be wrong
and thus break optimal key hashing, requiring more pipelines
it also wasn't setting the optimal key value correctly during precompile,
which meant the wrong hash value was used and the precompiled libs were
never
actually accessible
cc: mesa-stable
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit 4cf54e2ed22023c986f70711bddd0e934aa5683c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0064841f28f7d66646a3a5fdcdba74d9a47d29bd
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Feb 7 12:50:10 2023 -0500
zink: set zs feedback loop bit from driver workaround on ctx create
this may otherwise not be set until the cache has been broken
Fixes: 56fb2580642 ("zink: replace mixed_zs with zs feedback loops")
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit bbae237258a40c370caffb58602745f1d36f66ba)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9b162820954a96688bc734ff0614bd0320e88cb
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Feb 7 12:48:33 2023 -0500
zink: set gfx feedback loop bit in pipeline state for driver workaround
this needs to be set on context create or it may never get set
Fixes: 645f2da3faf ("zink: always set
VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT sometimes")
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit 0cb326cc74464f4e7f57de5c4d740e080f5e5b70)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d71f973538fe152e2dd071b74e7a14f82fad82d
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Feb 6 17:35:51 2023 -0500
zink: add a define for testing that an optimal key is the default
tcs values here are ignored since they only matter for generated tcs
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry picked from commit 7c021cc5f05d24211f327ea16d686f4bd9986465)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf586009b4dcb26159f454600123c3059ec6407b
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Feb 6 15:57:45 2023 -0500
zink: add a define for the "default" optimal key
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
(cherry-picked from 1f08a6dcdbf382a7586b703379969bdd3113c02e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a194c941ccf5bab228e468fbc23721c1399fe3e9
Author: SoroushIMG <[email protected]>
Date: Wed Feb 1 20:37:26 2023 +0000
zink: fix pointcoord y inversion
Point sprite coordinates in general need to be inverted,
not just the texcoords converted to point sprite.
Move point coord y inversion out to its own pass.
Fixes GTF-GL46.gtf21.GL2FixedTests.point_sprites.point_sprites
with FBO dEQP surface.
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21050>
(cherry picked from commit 782f1e9e010452850853b9791e673f2e1a7a671e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c52859394049e286293ef09df00cfccef5f569ee
Author: Ian Romanick <[email protected]>
Date: Mon Feb 6 09:41:36 2023 -0800
lavapipe: Fix bad array index scale factor in lvp_inline_uniforms pass
A few lines earlier uni_offsets is accessed with ubo scaled by
PIPE_MAX_CONSTANT_BUFFERS:
if (uni_offsets[ubo * PIPE_MAX_CONSTANT_BUFFERS + i] == offset)
Found by inspection.
Looking at the before and after NIR code for
dEQP-VK.graphicsfuzz.cov-int-initialize-from-multiple-large-arrays,
using the correct indexing appears to enable the pass to inline an
additional uniform. My guess is that when a uniform is used more than
once, the first loop wouldn't find the offset recored in the table
because it was recorded at the wrong location.
Fixes: d23a9380dd6 ("lavapipe: implement extreme uniform inlining")
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21144>
(cherry picked from commit a7696a4d98bcf4cdfae1c56a21c4deb3a9ce004f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f615ca7458c292dc6c67beba84fc080fcdee063c
Author: Rhys Perry <[email protected]>
Date: Fri Feb 3 17:27:52 2023 +0000
aco: fix out-of-bounds access when moving s_mem(real)time across SMEM
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Georg Lehmann <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8224
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21138>
(cherry picked from commit fad1f716dd831fba4c380bce1cf76bffc11be6d6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc9220de955bf0c5ffb427b21a0f48e02e401345
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Feb 3 10:24:42 2023 -0500
lavapipe: disable VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT for int
formats
this is unsupported and undefined by the spec
cc: mesa-stable
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21099>
(cherry picked from commit 7d8e2db9f95747895b6cd137cb1db445b3a1a66f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=abfbec7ae5c6443dbfd2427deb18359acd87a272
Author: Iago Toral Quiroga <[email protected]>
Date: Tue Feb 7 13:06:48 2023 +0100
v3dv: ensure we apply binning syncs to secondary command buffers
Currently, we postpone binning syncs until we record draw calls
and can validate if any of them require accessing protected
resources in the binning stage, however, if the draw calls are
recorded in a secondary command buffer and the barriers have
been recorded in the primary command buffer, we won't apply the
binning sync in the secondary when we record the draw calls
and so we must apply it when we execute the secondary in the
primary.
Fixes flakyness in:
dEQP-VK.api.command_buffers.record_many_draws_secondary_2
cc: mesa-stable
Reviewed-by: Alejandro Piñeiro <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21162>
(cherry picked from commit fec15a225f603f7a980241ce6b7fad35dfc6aff4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e65762031071b0cd0fd740d5a0c808a237d3896
Author: Iago Toral Quiroga <[email protected]>
Date: Mon Feb 6 13:16:12 2023 +0100
v3dv: ensure at least V3D_CL_MAX_INSTR_SIZE bytes in last CL instruction
The CLE parser in the sim will read this many bytes for each instruction
in a CL, so we should ensure we have at least that many bytes available
in the BO when reading the last instruction, otherwise we can trigger
a GMP violation. It is not clear whether this behavior applies to real
hardware too.
cc: mesa-stable
Reviewed-by: Alejandro Piñeiro <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21162>
(cherry picked from commit c2601f06908434aaddd6b1db5e995bbda22d2a72)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d4413d65f25279c8d0f0846322a4eae772a8bc3
Author: pal1000 <[email protected]>
Date: Tue Feb 7 01:35:45 2023 +0200
meson: Ignore unused variables when assertions are disabled
Fixes: 46b099e3
("meson: Ignore unused variables in release builds")
46b099e3 has some issues:
- it doesn't enable unused variables warning on release builds
with assertions enabled;
- it doesn't disable unused variables warning on debug builds
with assertions disabled;
- it doesn't disable unused variables warning when building
with MSVC and assertions are disabled regardless of buildtype,
see #8147. 3/4 regressions reported there have this limitation
alone as root cause.
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21154>
(cherry picked from commit 4347072443867f6337c33ffc330263bb851d9839)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e5da1cc33d95d2feae56cde8b09eb1d7a18cdcd
Author: Yuxuan Shui <[email protected]>
Date: Mon Feb 6 01:22:47 2023 +0000
loader: unregister special event in loader_dri3_drawable_fini
This was inadvertently removed in 98a6cfd3953 and causes continuous
memory leaks as events are being received after the context has been
unbound.
Fixes: 3170b63314f ("loader: Add infrastructure for tracking active CRTC
resources")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8238
Signed-off-by: Yuxuan Shui <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21128>
(cherry picked from commit 27a89a0903f2c541541846e8d909bb67af242d5e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=edb82453e1fed7a6fce1e01571829bbfa6c9a04e
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Feb 3 08:40:25 2023 -0500
zink: fix max acquired image count
according to spec, the maximum number of acquired images can be calculated
with
swapchain_size - VkSurfaceCapabilitiesKHR::minImageCount + 1
the previous calculation was both wrong and occurring in the wrong place,
so this corrects both issues
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21095>
(cherry picked from commit 89cf0a3bdc9949c54d8d7965a2d51bed91b6d10a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=df96e9c0a078a9d9603d37dc675733fefd88ca36
Author: SoroushIMG <[email protected]>
Date: Sun Feb 5 14:18:16 2023 +0000
zink: clear null image surfaces to 0
GL Spec says that imageLoad from incomplete images must return 0.
This is not really spec compliant as for proper behavior nullDescriptor
and robustImageAccess2 is needed.
A workaround for lack of either of these requires a shader variant.
Clearing the null surface and hoping the app doesn't write to the image
is closer to spec, while avoiding a shader recompile.
KHR-GL46.shader_image_load_store.incomplete_textures tests this.
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21135>
(cherry picked from commit 22e91af1a77361249b9c71ee609b67ec187e612c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f58fe67d23f225da9915d9595ad4bf11743ff19
Author: SoroushIMG <[email protected]>
Date: Sun Feb 5 17:31:47 2023 +0000
zink: fix leak when rebinding same image surface
simple way to reproduce this is to run these 4 together:
KHR-GL46.gpu_shader5.images_array_indexing
KHR-GL46.shader_image_load_store.advanced-allMips
KHR-GL46.shader_image_load_store.advanced-sso-simple
KHR-GL46.shader_image_load_store.incomplete_textures
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21134>
(cherry picked from commit 104040b5c7135403194005951e57197ef76438a6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21e6f53a689fe78609d643295df7cf2aacd9503e
Author: SoroushIMG <[email protected]>
Date: Sun Feb 5 15:43:45 2023 +0000
zink: only save frag const buffers when used by blit
fixes upload manager constant buffer leak.
zink only needs to save the const buffer for stencil fallback blits.
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21134>
(cherry picked from commit 4c647c9e259a6a0fc1499c377a07bfd0ba902079)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72fbe4451d65bb200a7f2451ff08578d54966bff
Author: Rhys Perry <[email protected]>
Date: Wed Jan 25 18:00:54 2023 +0000
radv: set state.vbo_misaligned_mask_invalid in radv_bind_vs_input_state
Found by inspection. Something probably hangs because of this, but I don't
know what.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Tatsuyuki Ishi <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Fixes: c199a5160a0 ("radv: bind the VS input state for prologs created with
GPL")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20913>
(cherry picked from commit 10a5035c836a852fcdc7a4532d9ec1af5fd3464d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e29a84fc1695497d4f51f589cd73245b67b94310
Author: Konstantin Seurer <[email protected]>
Date: Wed Jan 4 16:49:08 2023 +0100
ac/llvm: Fix validation error with global io
Fixes: afd645f0576 ("ac/llvm: remove LLVMBuildGEP usages")
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20521>
(cherry picked from commit 10ac51a52bad2c2378b2d847eae23e1366ddc46f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=18f0d33423b6635d0157a2eca46155ff0c2fe4b1
Author: Timur Kristóf <[email protected]>
Date: Wed Feb 1 13:07:42 2023 +0100
ac/nir/ngg: Include culled primitives in query.
Vulkan spec 18.8. Primitives Generated Queries:
When a generated primitive query for a vertex stream is active,
the primitives-generated count is incremented every time a
primitive emitted to that stream reaches the transform feedback
stage, whether or not transform feedback is active.
We can see the order of stages in chapter 27 Fixed-Function
Vertex Post-Processing, which shows that the transform feedback
stage is before rasterization (and therefore culling).
Conclusion is that culled primitives should be included
in the primitives generated query.
This commit makes sure to emit the primitives generated query
code before culling and uses the input primitive count passed
to the current wave instead of the exec mask after culling.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21037>
(cherry picked from commit 3a819bd22ec5a7eea2e0e337977cbc0af9e38032)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=489f1293dbfab427bcf816b19b2807d24bb50dff
Author: SoroushIMG <[email protected]>
Date: Sat Feb 4 17:44:40 2023 +0000
zink: fix cap check for arb sparse texture2
arb_sparse_texture2 also enables multisampled sparse textures.
bring back the check for msaa support.
fixes #8229
Fixes: 4f8ba2b9aae ("zink: fix sparse residency query and minLOD feature
checks")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21121>
(cherry picked from commit 8f928a95e167423320af711b21270a8212f34628)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8aa0587e17b466eef74141b748ab643c9dbd5c3
Author: SoroushIMG <[email protected]>
Date: Mon Jan 30 18:53:19 2023 +0000
zink: fix sparse residency query and minLOD feature checks
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21013>
(cherry picked from commit 4f8ba2b9aae265dfc56a62e85cd5eab3c4c718f3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=28e5823a68b4474b064b5cc092febd82a558f499
Author: Dylan Baker <[email protected]>
Date: Thu Feb 2 13:05:33 2023 -0800
meson: combine checks for linker --gc-sections support
We first do an incomplete check for whether the linker supports
--gc-sections, then potentially add C and C++ arguments assuming that it
works, then later do a complete check to see if it actually works and
use --gc-sections. This means we can end up putting functions and data
in separate sections when we can't gc them.
Combine the checks, do less work, and be more accurate.
fixes: f51ce21e4e0bf7efabe58afb4a2cd6b9f98d9505
("meson: Drop adding -Wl,--gc-sections to project c/cpp arguments.")
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21083>
(cherry picked from commit fd9b50aa1c07512c46ec981f19ea68fa4b8d7b4f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b742313eaf70dfd740d035426d33b61279c85720
Author: Qiang Yu <[email protected]>
Date: Sat Jan 14 22:06:32 2023 +0800
ac/nir/ngg: fix clip dist culling mask uninitialized
Fixes: f75452918b2 ("ac/nir/ngg: support clipdist culling")
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20691>
(cherry picked from commit d798214c7b25b0bf2ce6b094475913a1f72585b8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eadaef0ffda55d5063d9f076952ae7896865c665
Author: Timur Kristóf <[email protected]>
Date: Mon Jan 30 15:23:12 2023 +0100
radv: Disable NGG culling when conservative overestimation is used.
Even when small primitive culling is disabled, the face culling algorithm
in ac_nir_cull can delete tiny triangles when their area is almost zero.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20987>
(cherry picked from commit 3508597aa1b88d1b5a6f78ad53d8abcc32cde2c9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a5bec6695073a894cdc78cbec5b15df16085aee
Author: Constantine Shablya <[email protected]>
Date: Thu Feb 2 10:45:16 2023 +0200
anv: handle ATTACHMENT_OPTIMAL layout
Closes: #8216
Reviewed-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21066>
(cherry picked from commit 9b3b7e509106976b131df85f0462df299a44c80f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e10b4ffa4daecd44db0a58dd4a67e4cc6ba9860d
Author: Marek Olšák <[email protected]>
Date: Fri Jan 27 18:02:37 2023 -0500
amd: fix typo in shadowed uconfig registers on gfx11
It used an invalid offset, which hung.
Fixes: f24f8665dbe2a - ac: implement register shadowing for gfx11
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 76472c850b7f93a5389c473a9cf87685ad97cb72)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2da08ed347dc5f730caa46ebba5444a9bd2b344f
Author: Marek Olšák <[email protected]>
Date: Tue Jan 24 02:44:48 2023 -0500
amd: fix tile_swizzle on gfx11 - should be shifted by 10 bits, not 8
This reverts the radv_adjust_tile_swizzle change to unify the code.
Fixes: 529eb739fc4 - radeonsi/gfx11: add CB deltas
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 47f598a183e849dfee4a587b51074664ee778312)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d218080952ebe035dc52b2b922048756bb455ade
Author: Marek Olšák <[email protected]>
Date: Tue Jan 24 03:00:38 2023 -0500
amd: split GFX1103 into GFX1103_R1 and GFX1103_R2
Fixes: caa09f66ae4 - amd: add chip identification for gfx1100-1103
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 84d59cdb5971424a4297e288b852c8cc15c46163)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88fd0585216b3624c98377e56e13704ab8af43a5
Author: Marek Olšák <[email protected]>
Date: Mon Jan 23 23:08:36 2023 -0500
radeonsi/gfx11: unset SAMPLE_MASK_TRACKER_WATERMARK to fix hangs
Same as PAL.
Fixes: 529eb739fc4 - radeonsi/gfx11: add CB deltas
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 66d11391f76c0892388d933282fbc74028d9edc4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1f454182eec0fcca1a8bcf74acec06e9140f07c
Author: Marek Olšák <[email protected]>
Date: Tue Jan 24 05:52:17 2023 -0500
radeonsi: fix RB+ blending with sRGB formats
The epsilon for 8bpc is for the linear colorspace. There is no epsilon
for sRGB.
Fixes: 17021efc742 - radeonsi: adjust RB+ blend optimization settings
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 8556b3db71683fc0393b7f75b0317890c8c0ae4e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dbe1e8ef383c9cd4792d0de2387e54f1607eec1
Author: Lucas Stach <[email protected]>
Date: Mon Jan 30 18:58:30 2023 +0100
etnaviv: fix double scanout import of multiplanar resources
etna_resource_from_handle() is called for each plane of a multiplanar
resource, so there is no point in looping over all planes to do the
renderonly scanout import. In fact that will cause us to lose track
of the scanout imports from later planes when the earlier planes are
redoing the import, overwriting the pointer to the allocated
renderonly_scanout struct.
Drop the loop and just do the import for the current plane.
Fixes: 826f95778a4e ("etnaviv: always try to create KMS side handles for
imported resources")
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20993>
(cherry picked from commit 175732bb51c81513ae05f9313d6df7c0631ef159)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00da41e6c930e08e2de0c683c0be6393c03db647
Author: Marek Olšák <[email protected]>
Date: Thu Feb 2 18:21:39 2023 -0500
Revert "radeonsi: enable glthread by default"
This reverts commit d6fabe49cd72fb7f7087b12efd8a9e3371e36c01.
It has issues that are not worth fixing in this release branch in my
opinion.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21087>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62858c93d491ea4dff3a09dd78d90dcf317aa9ad
Author: Eric Engestrom <[email protected]>
Date: Thu Feb 2 16:43:21 2023 +0000
.pick_status.json: Mark d23b3a13943576bbb8dd0fea12ac717c40b376e1 as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=390d4c7e8240cc0f32c71cb36e3f638084b525cd
Author: Sagar Ghuge <[email protected]>
Date: Mon Jan 30 10:41:37 2023 -0800
intel/fs: Always stall between the fences on Gen11+
Be conservative in Gfx11+ and always stall in a fence. Since there are
two different fences, and shader might want to synchronize between them.
This change also brings back the original code block for the stall
between the fence and comment from the commit
b390ff35170fdc2b7f1fb1709a79d81edcd56981.
v2: (Caio)
- Re-arrange code block.
- Adjust comment.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6958
Fixes: f7262462 ("intel/fs: Rework fence handling in brw_fs_nir.cpp")
Signed-off-by: Sagar Ghuge <[email protected]>
Tested-by: Mark Janes <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20996>
(cherry picked from commit 0c083d29a55bf20a993eab82786d583403582c8c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=773e3cb7936defbb655d068de0b8b71d111d3b64
Author: Eric Engestrom <[email protected]>
Date: Thu Feb 2 12:24:49 2023 +0000
.pick_status.json: Mark a568a5492f1dd7eb8c08247b74df2aae498b0863 as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=444fc67a9915b922a009dd4eb20d8a36b597c333
Author: Rhys Perry <[email protected]>
Date: Thu Jan 26 16:14:26 2023 +0000
aco: limit VALUPartialForwardingHazard search
Complicated CFG and lots of SALU can cause this to take an extremely long
time to finish.
Fixes
dEQP-VK.graphicsfuzz.cov-value-tracking-selection-dag-negation-clamp-loop
and Monster Hunter Rise demo compile times.
fossil-db (gfx1100):
Totals from 57 (0.04% of 134574) affected shaders:
Instrs: 170919 -> 171165 (+0.14%)
CodeSize: 860144 -> 861128 (+0.11%)
Latency: 961466 -> 961505 (+0.00%)
InvThroughput: 127598 -> 127608 (+0.01%)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8153
Fixes: 5806f0246fd ("aco/gfx11: workaround VALUPartialForwardingHazard")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20941>
(cherry picked from commit bfd4ac4581bae0d36b2c58524131f91c7c0d27ce)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=58a320186d1ee1a9a3e03b4ae57da10d88361d00
Author: José Roberto de Souza <[email protected]>
Date: Mon Jan 23 12:09:56 2023 -0800
intel/ds: Fix crash when allocating more intel_ds_queues than u_vector was
initialized
u_vector_add() don't keep the returned pointers valid.
After the initial size allocated in u_vector_init() is reached it will
allocate a bigger buffer and copy data from older buffer to the new
one and free the old buffer, making all the previous pointers returned
by u_vector_add() invalid and crashing the application when trying to
access it.
This is reproduced when running
dEQP-VK.synchronization.signal_order.timeline_semaphore.* in DG2 SKUs
that has 4 CCS engines, INTEL_COMPUTE_CLASS=1 is set and of course
perfetto build is enabled.
To fix this issue here I'm moving the storage/allocation of
struct intel_ds_queue to struct anv_queue/iris_batch and using
struct list_head to maintain a chain of intel_ds_queue of the
intel_ds_device.
This allows us to append or remove queues dynamically in future if
necessary.
Fixes: e760c5b37be9 ("anv: add perfetto source")
Reviewed-by: Lionel Landwerlin <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20977>
(cherry picked from commit 8092bc2158ebb8a5f85e0ec569387c5dcd0d1627)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52b984e55575472c9e70e82aada029209fe97a10
Author: José Roberto de Souza <[email protected]>
Date: Mon Jan 23 13:02:34 2023 -0800
intel/ds: Nuke intel_ds_queue::queue_id
queue_id is not used anywhere.
Signed-off-by: José Roberto de Souza <[email protected]>
Reviewed-by: Marcin Ślusarz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20888>
(cherry picked from commit 5ccc2049fae591d1baf6f581bbd0e3953c0ee5fa)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8ae58820e3150615ef6a16d89b1ff76626a1beb
Author: Rhys Perry <[email protected]>
Date: Tue Jan 10 17:33:52 2023 +0000
aco/spill: always end spill vgpr after control flow
To fix a hypothetical issue:
v0 = start_linear_vgpr
if (...) {
} else {
use_linear_vgpr(v0)
}
v0 = phi
We need a p_end_linear_vgpr to ensure that the phi does not use the same
VGPR as the linear VGPR.
This is also much simpler.
fossil-db (gfx1100):
Totals from 1195 (0.89% of 134574) affected shaders:
Instrs: 4123856 -> 4123826 (-0.00%); split: -0.00%, +0.00%
CodeSize: 21461256 -> 21461100 (-0.00%); split: -0.00%, +0.00%
Latency: 62816001 -> 62812999 (-0.00%); split: -0.00%, +0.00%
InvThroughput: 9339049 -> 9338564 (-0.01%); split: -0.01%, +0.00%
Copies: 304028 -> 304005 (-0.01%); split: -0.02%, +0.01%
PreVGPRs: 115761 -> 115762 (+0.00%)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20621>
(cherry picked from commit bbc5247bf71cebfdb2ee79646bd2231a909a74eb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4710d25a44028e79faedcc719b4e2abfaa99d43c
Author: Rhys Perry <[email protected]>
Date: Tue Jan 10 15:29:15 2023 +0000
aco: end reduce tmp after control flow, when used within control flow
In the case of:
v0 = start_linear_vgpr
if (...) {
} else {
use_linear_vgpr(v0)
}
v0 = phi
We need a p_end_linear_vgpr to ensure that the phi does not use the same
VGPR as the linear VGPR.
fossil-db (gfx1100):
Totals from 3763 (2.80% of 134574) affected shaders:
MaxWaves: 90296 -> 90164 (-0.15%)
Instrs: 6857726 -> 6856608 (-0.02%); split: -0.03%, +0.01%
CodeSize: 35382188 -> 35377688 (-0.01%); split: -0.02%, +0.01%
VGPRs: 234864 -> 235692 (+0.35%); split: -0.01%, +0.36%
Latency: 47471923 -> 47474965 (+0.01%); split: -0.03%, +0.04%
InvThroughput: 5640320 -> 5639736 (-0.01%); split: -0.04%, +0.03%
VClause: 93098 -> 93107 (+0.01%); split: -0.01%, +0.02%
SClause: 214137 -> 214130 (-0.00%); split: -0.00%, +0.00%
Copies: 369895 -> 369305 (-0.16%); split: -0.31%, +0.15%
Branches: 164996 -> 164504 (-0.30%); split: -0.30%, +0.00%
PreVGPRs: 210655 -> 211438 (+0.37%)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20621>
(cherry picked from commit 44fdd2ebcb271011665dd100ba9ef6852cddb22e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=36ded4ae53458a4c270493413bdb3e3e536ff497
Author: Eric Engestrom <[email protected]>
Date: Thu Feb 2 12:09:51 2023 +0000
.pick_status.json: Mark 13de23ea07dd7e1340fd9b72367996fa3c2433ee as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=986cd34917195fcb4e4a65fd2be2bab797e746d7
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jan 23 16:34:31 2023 -0500
zink: always unref old images when adding new binds
at some point this was correct, but refactoring has since occurred,
and this ends up leaking storage image objects
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20867>
(cherry picked from commit d745e3b0ab4614136f1c8d93feb54b612fd58d3f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=adf5b07f02e7910367f8a0b428e349ada4fe6b69
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jan 23 16:08:48 2023 -0500
zink: stop leaking push descriptor templates
templates[ZINK_DESCRIPTOR_TYPE_UNIFORMS] needs to be deleted, which
requires a larger iterator
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20867>
(cherry picked from commit dd733034aa117294be0f06b5b973b18d1c341666)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=732beb96411472ddb7bddd4b39b26b660cf019e6
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Jan 19 13:22:30 2023 -0500
zink: don't add dmabuf export type if dmabuf isn't supported
avoid trying to create dmabuf-exportable resources too
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20791>
(cherry picked from commit 01d2e7afce562013a8cb9b6b9fd1190e317e896a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7aba11a525a75d8390c8bcbf851aff96ccf76ac
Author: Samuel Pitoiset <[email protected]>
Date: Mon Jan 30 09:16:50 2023 +0100
radv: fix RB+ for SRGB formats
This should be set for linear colorspace only.
Ported from RadeonSI.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20982>
(cherry picked from commit c8a575eb3098282f495948b728abd45768dc5d01)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9db2229a3efa2eb12d28b19827bc56a409132b1e
Author: Eric Engestrom <[email protected]>
Date: Thu Feb 2 12:03:34 2023 +0000
.pick_status.json: Mark 47852b9ff45e73f8f6773a1598cf872c6ee6207f as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7689e2dfc8990ae6a8dc99a6a7a7e82a80fc021c
Author: Bas Nieuwenhuizen <[email protected]>
Date: Mon Jan 30 02:54:19 2023 +0100
radv: Shift left the tile swizzle more on GFX11.
ac/surface puts the raw pip_bank_xor there, which needs the extra
shift for the actual tile_swizzle.
(I think long term we should refactor this in ac/surface but for
now lets fix like radeonsi to avoid race conditions.)
CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20979>
(cherry picked from commit b0a9772cc6154e29ba6e3d21a91096dd891ef302)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=14483d16b52b18315d2fb1fef2d5f65afeaf7582
Author: Bas Nieuwenhuizen <[email protected]>
Date: Mon Jan 30 02:31:41 2023 +0100
radv: Set FDCC_CONTROL SAMPLE_MASK_TRACKER_WATERMARK
Might cause hangs according to comments. Syncs with radeonsi/PAL.
Fixes: e210ffb4d0d ("radv: update framebuffer registers on GFX11")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20979>
(cherry picked from commit d321bc1323b02de92a095397830c9296996e16b3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eca296b07b1d0ad381f6da81069afcd17bb4eb60
Author: Eric Engestrom <[email protected]>
Date: Thu Feb 2 16:44:37 2023 +0000
.pick_status.json: Mark 4b841cfec8b502a8290cd67356d811933d318c2b as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=302186957be44b830fe70da191cce4ec1f540815
Author: Hyunjun Ko <[email protected]>
Date: Tue Jan 31 16:30:03 2023 +0900
vulkan/runtime: match the spec when taking pipeline subsets.
Signed-off-by: Hyunjun Ko <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21006>
(cherry picked from commit c489b3eadb1570762fe2362b9c0e78090ee8c127)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8459995eefc53c90e0d597f8de9b7a5e326e63f3
Author: Lucas Stach <[email protected]>
Date: Thu Jan 26 19:08:14 2023 +0100
etnaviv: drm: fix check if BO is on a deferred destroy list
list_is_linked() isn't the right function to use in order to check if
the BO is on a cache bucket or the zombie list, as this checks if the
next pointer of the list isn't NULL. This is always the case with the
BO list item as it's always initialized, so the next pointer points to
the list head itself when the BO isn't on any list.
Use list_is_empty() to check if the BO is actually linked into one
of the deferred destroy lists.
Fixes: 1b1f8592c03c ("etnaviv: drm: properly handle reviving BOs via a
lookup")
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20940>
(cherry picked from commit 196882a1477a69ba1593db8bdaaf6726fe914fca)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=480b9ff46ef3abf1c2c25ec962c294c0a38b1e0f
Author: Lucas Stach <[email protected]>
Date: Thu Jan 26 12:46:25 2023 +0100
etnaviv: free pm queries dynarray on screen destroy
CC: mesa-stable
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20940>
(cherry picked from commit c59369005bf42c2981561643d8b0eb15b1b52581)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5d88aa190ff2fae9947e2e9b15384c061602959
Author: Lucas Stach <[email protected]>
Date: Thu Jan 26 12:38:35 2023 +0100
etnaviv: drm: fix BO array leaks
Free the both arrays tracking BOs when the etna_cmd_stream is destroyed.
CC: mesa-stable
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20940>
(cherry picked from commit 3156b15f70c83d954db9d8ffac90988c7b71a194)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=552902a4fb1476c36a36094bb95a6adc59fad23a
Author: Lionel Landwerlin <[email protected]>
Date: Fri Jan 27 11:21:54 2023 +0200
anv: fix null descriptors
When writing descriptor with a null buffer/image we expect that
writing 0 will point to the null surface. For that to work the null
surface has to be in the bindless surface heap.
This fixes some new failures in dEQP-VK.robustness.* tests once
rewritten from the NV_ray_tracing to KHR_ray_tracing extension.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 4ceaed7839 ("anv: split internal surface states from descriptors")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7762
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20953>
(cherry picked from commit 0d7f8aa2499104b1d16deba32e4c25c342d1ce7d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae63d102059547acdabca6c80d784692d5d28c6c
Author: Eric Engestrom <[email protected]>
Date: Sat Jan 28 22:14:16 2023 +0000
.pick_status.json: Mark ac339d97978e96c80d43688566717d4c4f6fa7f3 as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4c4269746532c2296cb0b2fb6bc7aa315f689e1
Author: Eric Engestrom <[email protected]>
Date: Sat Jan 28 22:25:55 2023 +0000
.pick_status.json: Mark 6f7b752fdd2f5f33139dbc105da433ef6f11f112 as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9267c30f1934f4a38417d4160cf9df8a7dc5e7d7
Author: Eric Engestrom <[email protected]>
Date: Sat Jan 28 21:03:02 2023 +0000
.pick_status.json: Mark cc9fa060ee1b232e5e72077232d7b90c92dfc1bd as
denominated
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2105b352d6be1657957510e4eedf7e5f4ecbbda4
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jan 25 11:19:07 2023 -0500
zink: set vkusage/vkflags for buffer resource objects
this needs to be populated for other places in the driver that need it
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20912>
(cherry picked from commit 3c562cfc06417ca52738460bbe63ad972f26f4c5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=18af0f23f9ad5543b6b9a2896abeba9eeacfebb1
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jan 25 11:13:08 2023 -0500
zink: add VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT for buffers if ext is
enabled
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20912>
(cherry picked from commit c545300f30bc1d6558c066466052ec6a0acb3bed)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd723283f3195cca8acfba6aa3eb880d632918c5
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Jan 27 12:52:23 2023 -0500
Revert "zink: allow direct memory mapping for any COHERENT+CACHED buffer"
This reverts commit a3552048c7e7b8afebfc99caac6d555439ddf2bc.
on some drivers this catches qbos, which then hits the below assert.
needs more investigation
Fixes: a3552048c7e ("zink: allow direct memory mapping for any
COHERENT+CACHED buffer")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20912>
(cherry picked from commit 07809c45271a25066c583ca90b7365e0d88daf0d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c02ae8592ed26849e873ec110d2ddc88c46a42e9
Author: Rhys Perry <[email protected]>
Date: Wed Jan 25 19:19:17 2023 +0000
aco: set has_color_exports with GPL
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Fixes: 192486b7aa5 ("aco/gfx11: export mrtz in discard early exit for
non-color shaders")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20937>
(cherry picked from commit 695cf75266f43c0f9d123c5030b136bbdf061d4c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=68246581eb79b9c8f4780b9d43296dd4fc434cf0
Author: Samuel Pitoiset <[email protected]>
Date: Wed Jan 11 17:04:56 2023 +0100
radv: add a layer for fixing rendering issues with RAGE2
This game seems to incorrectly set the render area and since we switched
to full dynamic rendering, the framebuffer dimensions is no longer used.
Forcing the render area to be the framebuffer dimensions restore the
previous logic and it fixes rendering issues.
Fixes: c7d0d328d56 ("radv: Set the window scissor to the render area, not
framebuffer")
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20900>
(cherry picked from commit 1a93cd15563a5d0bb6faf12c5d4c852cb3534415)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b52fbf71853b15c58b29e9352b3be45ee7db82b6
Author: Kenneth Graunke <[email protected]>
Date: Wed Jan 11 15:37:22 2023 -0800
egl: Rewrite eglGetMscRateANGLE to avoid probes and handle multi-monitor
RRGetScreenInfo re-probes connector status, which may result in an EDID
transfer for every output, which according to Adam Jackson can be on the
order of 100ms for a single EDID block. So our previous implementation
of this eglGetMscRateANGLE was blocking for excessive periods of time
instead of being a quick query of the refresh rate like users expect.
This changes our eglGetMscRateANGLE implementation from using
RRGetScreenInfo to RRGetScreenResourcesCurrent and RRGetCrtcInfo.
This obtains the same monitor info without re-probing connectors.
Fixes a severe performance regression in Chromium WebGL performance.
While we're re-implementing the extension, we also implement proper
multi-monitor support: if there are multiple active CRTCs, we determine
which contains the largest portion of the surface, as specified in the
EGL_ANGLE_sync_control_rate extension.
We also now report fractional refresh rates correctly rather than
rounding to the nearest Hz.
Fixes: 47526556494 ("egl/x11: implement ANGLE_sync_control_rate")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6996
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7038
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20665>
(cherry picked from commit 41d5f0ee09ccc6406d9b57351fa95edf30b03298)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=987e4f54c056b174b0541f15c3ea69dbeafa6234
Author: Kenneth Graunke <[email protected]>
Date: Tue Jan 17 15:48:20 2023 -0800
loader: Add infrastructure for tracking active CRTC resources
This provides a cached view of the current screen resources, with the
coordinates and refresh rate for every active CRTC. It's currently only
implemented for X11/XCB.
Fixes: 47526556494 ("egl/x11: implement ANGLE_sync_control_rate")
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20665>
(cherry picked from commit 3170b63314f14f0031cb95bd5ee3a4726f26b43b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6d2afccc87bf007fa60eddf69555148dffa0bd0
Author: Corentin Noël <[email protected]>
Date: Thu Jan 26 13:25:57 2023 +0100
kopper: Do not free the given screen in initScreen implementation
The given screen is already freed by the caller in case a NULL-pointer is
returned by the implementation.
Cc: mesa-stable
Signed-off-by: Corentin Noël <[email protected]>
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20933>
(cherry picked from commit dd3730f8bdd7afdbc7fb0e9dd200951f9d713a34)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b883564a4a3c9f5c8061aa0676a3e51d72bed20
Author: Eric Engestrom <[email protected]>
Date: Thu Jan 26 18:49:28 2023 +0000
.pick_status.json: Update to 6390953fa5c0e0a001ce6c07f704366c18f85ccf