-
fe3a3b08
by Dylan Baker at 2025-10-24T07:54:46-07:00
.pick_status.json: Update to fd55e874ed09a04447ebd4dae25c98df2621ef7d
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
2c1c52a8
by Valentine Burley at 2025-10-24T07:54:52-07:00
tu: Fix indexing with variable descriptor count
Based on RADV.
The Vulkan spec says:
"If bindingCount is zero or if this structure is not included in
the pNext chain, the VkDescriptorBindingFlags for each descriptor
set layout binding is considered to be zero. Otherwise, the
descriptor set layout binding at
VkDescriptorSetLayoutCreateInfo::pBindings[i] uses the flags in
pBindingFlags[i]."
Fixes dEQP-VK.api.maintenance3_check.* in VKCTS 1.4.4.0.
Cc: mesa-stable
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
(cherry picked from commit 17e25b4983dc333d971c7b6eed4bdae741a9bf03)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
d5f7261c
by Valentine Burley at 2025-10-24T07:54:54-07:00
tu: Fix maxVariableDescriptorCount with inline uniform blocks
It must not be larger than maxInlineUniformBlockSize.
Fixes VKCTS 1.4.4.0's
dEQP-VK.api.maintenance3_check.support_count_inline_uniform_block*.
Cc: mesa-stable
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
(cherry picked from commit fd2fa0fbc93792bd9c588c61b1ba37fe05893bba)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
1648f759
by Lionel Landwerlin at 2025-10-24T07:54:55-07:00
anv: rename structure holding 3DSTATE_WM_DEPTH_STENCIL state
Cc stable for the next commit.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
(cherry picked from commit 8d05b7b72e70fe35d6ff6b5d65272ec520a707f3)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
dcecd8fd
by Lionel Landwerlin at 2025-10-24T07:54:56-07:00
brw: handle GLSL/GLSL tessellation parameters
Apparently various tessellation parameters come specified from
TESS_EVAL stage in GLSL while they come from the TESS_CTRL stage in
HLSL.
We switch to store the tesselation params more like shader_info with 0
values for unspecified fields. That let's us merge it with a simple OR
with values from from tcs/tes and the resulting merge can be used for
state programming.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a91e0e0d61 ("brw: add support for separate tessellation shader compilation")
Fixes: 50fd669294 ("anv: prep work for separate tessellation shaders")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
(cherry picked from commit f3df267735e47703017e640ff5b796d56ddbc36b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
bfd09d98
by Lionel Landwerlin at 2025-10-24T07:54:57-07:00
nir/lower_io: add missing levels intrinsics to get_io_index_src_number
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c7ac46a1d8 ("nir/lower_io: add get_io_index_src_number support for image intrinsics")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit aa929ea706e32f4acfe8b21eaebb2fe201afd580)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
cd253df9
by Faith Ekstrand at 2025-10-24T07:54:58-07:00
nvk: Include the chipset in the pipeline/binary cache UUID
Cc: mesa-stable
(cherry picked from commit d1793c7a594f49f8870beeef99bd3edcdb1ddb9f)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
3f9f4d79
by Faith Ekstrand at 2025-10-24T07:54:59-07:00
nvk: Disable sampleLocationsSampleCounts for 1x MSAA
Suggested-by: Mel Henning <mhenning@darkrefraction.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14108
Fixes: a34edc7500c8 ("nvk: Fill out sample locations on Maxwell B+")
(cherry picked from commit aa0f404f7b7d2d0b10f5a7d8b9a98006a6b5835b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
2a0a2cc5
by Konstantin Seurer at 2025-10-24T07:54:59-07:00
aco: Fixup out_launch_size_y in the RT prolog for 1D dispatch
launch_size_y is set to ACO_RT_CONVERTED_2D_LAUNCH_SIZE for 1D
dispatches. The prolog needs to set it to 1 so that the app shader
loads the correct value.
cc: mesa-stable
(cherry picked from commit 47ffe2ecd42625405b16141868af81dc3f9006c6)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
6a7effe0
by Xaver Hugl at 2025-10-24T07:55:00-07:00
vulkan/wsi: remove support for VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
It's not really clear whether or not it should use gamma 2.2 or the piece-wise
transfer function, or how clients would use it for wider gamut in general.
Currently no compositors I know of support ext_srgb, so this shouldn't affect
applications in practice.
Signed-off-by: Xaver Hugl <xaver.hugl@kde.org>
Fixes: 4b663d56 ("vulkan/wsi: implement support for VK_EXT_hdr_metadata on Wayland")
(cherry picked from commit 14fcf145e3d95975b9d93d8c91b20331709b9d22)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
159d3974
by Lionel Landwerlin at 2025-10-24T07:55:01-07:00
anv/brw: fix output tcs vertices
brw_prog_tcs_data::instances can be divided by vertices per threads on
earlier generations.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a91e0e0d61 ("brw: add support for separate tessellation shader compilation")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
(cherry picked from commit e450297ea9d5b715e6e34a6a3bb7a8b3ec5f4890)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
a9653fa0
by Lionel Landwerlin at 2025-10-24T07:55:02-07:00
anv: destroy sets when destroying pool
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14169
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
(cherry picked from commit 2689056c82dde882238058d183f6455750d4e340)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
65eb3aed
by Connor Abbott at 2025-10-24T07:55:02-07:00
tu: Fix RT count with remapped color attachments
The index of each RT is the remapped color attachment index, so we have
to use the remapped indices when telling the HW the number of RTs.
This fixes KHR-GLES3.framebuffer_blit.scissor_blit on ANGLE once we
enabled VK_EXT_multisampled_render_to_single_sampled, which switched
ANGLE to using dynamic rendering with
VK_KHR_dynamic_rendering_local_read.
Fixes: d50eef5b06f ("tu: Support color attachment remapping")
(cherry picked from commit 8d276e0d70151744509cbd7bb89ae8b58e8fed93)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
fb2273df
by Mauro Rossi at 2025-10-24T07:55:03-07:00
util: Fix gnu-empty-initializer error
Fixes the following building error happening with clang:
../src/util/os_file.c:291:29: error: use of GNU empty initializer extension [-Werror,-Wgnu-empty-initializer]
struct epoll_event evt = {};
^
1 error generated.
Fixes: 17e28652 ("util: mimic KCMP_FILE via epoll when KCMP is missing")
Cc: "25.3"
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
(cherry picked from commit 7bbbfa667036e6d495c88665bdc851623903753a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
b74000db
by Faith Ekstrand at 2025-10-24T07:55:04-07:00
nvk: Emit inactive vertex attributes
VK_KHR_maintenance9 requires that vertex attributes in shaders which map
to vertex attributes that aren't bound at the API return a consistent
value. In order to do this, we need toemit SET_VERTEX_ATTRIBUTE_A, even
for unused attributes. The RGBA32F format was chosen to ensure we
return (0, 0, 0, 0) from unbound attributes.
Fixes: 7692d3c0e1a2 ("nvk: Advertise VK_KHR_maintenance9")
(cherry picked from commit d39221cef30d5c54b3d7651b6d89ab85c23e0480)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
ba107091
by Faith Ekstrand at 2025-10-24T07:55:05-07:00
nvk: Look at the right pointer in GetDescriptorInfo for SSBOs
It doesn't actually matter but we shouldn't poke at the wrong union
field.
Fixes: 77db71db7dfc ("nvk: Implement GetDescriptorEXT")
(cherry picked from commit a13474939dffe2e710aa1d6a38c5c458fc7a0752)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
7f759310
by Faith Ekstrand at 2025-10-24T07:55:05-07:00
nvk: Capture/replay buffer addresses for EDB capture/replay
Fixes: 3f1c3f04be93 ("nvk: Advertise VK_EXT_descriptor_buffer")
(cherry picked from commit 998dbd43d3c3dd7f2cc0953aa8c4aeb2151964dc)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
424f37b3
by Samuel Pitoiset at 2025-10-24T07:55:06-07:00
radv: dirty dynamic descriptors when required
The user SGPRS might be different and dynamic descriptors need to be
re-emitted again
This fixes a regression with ANGLE, and VCKTS is currently missing
coverage.
Fixes: a47952d495e ("radv: upload and emit dynamic descriptors separately from push constants")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14146
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 54a6c81d3a20e6b5e6ac8b36f291ab2a8761fc95)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
606ebb04
by Faith Ekstrand at 2025-10-24T07:55:07-07:00
panvk/shader: [de]serialize desc_info.max_varying_loads
Fixes: de86641d3f4f ("panvk: Limit AD allocation to max var loads in v9+")
Acked-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
(cherry picked from commit a546484ed9ed235674b5bba093def5c21f7dd151)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
2cfd3c52
by Faith Ekstrand at 2025-10-24T07:55:08-07:00
panvk/shader: Use the right copy size for deserializing dynamic UBOs/SSBOs
Fixes: 563823c9ca9e ("panvk: Implement vk_shader")
Acked-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
(cherry picked from commit 64ad337036cf38c007047f4cf185ead9dfe4568d)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
1c52a944
by Connor Abbott at 2025-10-24T08:07:28-07:00
tu: Don't patch GMEM for input attachments never in GMEM
This can happen if we resolve to a resolve attachment and then use that
resolve attachment as an input attachment in a later subpass. We don't
need to put it in GMEM, but it's still considered "written" because
input attachment reads need a dependency after the resolve.
MSRTSS input attachment tests effectively created such a scenario after
lowering to transient multisample attachments and inserting resolves.
Cc: mesa-stable
(cherry picked from commit d491a79027b175f2b13536b5db67b471ba58bd28)
Conflicts:
src/freedreno/vulkan/tu_pass.cc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
f142fdc2
by Connor Abbott at 2025-10-24T08:07:28-07:00
tu: Fix 3d load path with D24S8 on a7xx
We need to always use the FMT6_Z24S8_AS_R8G8B8A8 format for GMEM even if
UBWC is disabled, as already done for the 2d store path. Because we
use the pre-baked RB_MRT_BUF_INFO register value, this means we have to
override it.
Cc: mesa-stable
(cherry picked from commit 9417ce287c29495090ce88df3084a58542db6966)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
9728bbf7
by Connor Abbott at 2025-10-24T08:07:30-07:00
tu: Also disable stencil load for attachments not in GMEM
We were accidentally still emitting loads for D32S8 resolve attachments.
Cc: mesa-stable
(cherry picked from commit a3652af380cc1d4ec55fe3f784b7c66082fa2be1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
498a25cf
by Olivia Lee at 2025-10-27T09:34:33-07:00
hk: fix data race when initializing poly_heap
hk_heap is called during command buffer recording, which may be
concurrent, so writing dev->heap without synchronization is a data race.
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Fixes: 5bc82848163 ("hk: add Vulkan driver for Apple GPUs")
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
(cherry picked from commit bca29b1c92320dea0004341a08cc76a18e3edaf3)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
b7681398
by Dylan Baker at 2025-10-27T09:34:33-07:00
.pick_status.json: Update to 45a762727cf8708392b6de38616909543c799923
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
d9636807
by Dylan Baker at 2025-10-27T09:34:33-07:00
intel/compiler/brw: Add assert that we don't have a negative value
Coverity notices that `nir_get_io_index_src_number` could return -1, and
that we use it to index an array. It cannot understand that -1 only
happens for unhandled enum values, but all of these are handled. Add an
assert to help it out.
CID: 1667234
Fixes: 37a9c5411f4 ("brw: serialize messages on Gfx12.x if required")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit a5b9f428f9bbb577e70b652a11777581ece3f325)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
f02f5e21
by Mary Guillemard at 2025-10-27T09:34:33-07:00
hk: Fix maxVariableDescriptorCount with inline uniform block
Same problem as NVK on VKCTS 1.4.4.0
Fixes: 5bc828481630 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 8447b99f61aa28d0bf233fe984b10e5a4368a1df)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
74880f89
by Mary Guillemard at 2025-10-27T09:34:33-07:00
hk: Disable 1x in sampleLocationsSampleCounts
We don't support it, everyone dropped support for that, let's not expose it.
Fixes: 5bc828481630 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 7e636d52f17c03a909cfa348033cfe6e7c0dbcba)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
28e172e9
by Mary Guillemard at 2025-10-27T09:34:33-07:00
hk: Remove unused allocation in queue_submit
Unused and leaking memory, found with address sanitizer.
Fixes: c64a2bbff5a3 ("asahi: port to stable uAPI")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 64131475a8371105a923e021299f6d8306654c53)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
04045385
by Sagar Ghuge at 2025-10-27T09:34:33-07:00
anv: Call brw_nir_lower_rt_intrinsics_pre_trace lowering pass
Call this pass before nir_lower_shader_calls().
Fixes: d39e443e ("anv: add infrastructure for common vk_pipeline")
Cc: mesa-stable
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 006085e6769c3697c29cd5087dfabe7b5b8d046a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
5e1a88ce
by Mary Guillemard at 2025-10-27T09:34:33-07:00
hk: Make width and height per block in HIC
We were assuming that every formats used for HIC had a block widgh and
height of 1x1.
This is wrong for compressed formats like BC5, ASTC, ect.
Fixes: 5bc828481630 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Eric Engestrom <eric@igalia.com>
(cherry picked from commit 887f06a966f4ac650701b9d1421dd2f67fc23ae5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
b3470359
by Mary Guillemard at 2025-10-27T09:34:33-07:00
hk: Allocate the temp tile buffer in copy_image_to_image_cpu
We may require a bigger more than 16KiB to handle the image copy.
We now always allocate a buffer to handle it properly fixing the
remaining failures on VKCTS 1.4.4.0 for HIC.
Fixes: 5bc828481630 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Mary Guillemard <mary@mary.zone>
(cherry picked from commit d37ba302d0055f72577a47dcc4eff5400e7ecdb1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
5ae84740
by Taras Pisetskyi at 2025-10-27T09:34:33-07:00
drirc/anv: force_vk_vendor=-1 for Wuthering Waves
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12459
Signed-off-by: Taras Pisetskyi <taras.pisetskyi@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit dcd9b90affab27a99a6ee44ce6d0ac3f4b5990f1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
05e5db1a
by Natalie Vock at 2025-10-27T09:34:33-07:00
nir/lower_shader_calls: Repair SSA after wrap_instrs
Wrapping jump instructions that are located inside ifs can break SSA
invariants because the else block no longer dominates the merge block.
Repair the SSA to make the validator happy again.
Cc: mesa-stable
(cherry picked from commit 50e65dac794511fb392fd9103f50c553d69a56d2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
f1f32d55
by Job Noorman at 2025-10-27T09:34:33-07:00
ir3/ra: fix assert during file start reset
While accounting for an input register's merge set when resetting the
file start after the preamble, we implicitly assume that the allocated
register is the preferred one by asserting that the register's merge set
offset is not smaller than its physreg (to prevent an underflow).
However, inputs are not guaranteed to have their preferred register
allocated which causes the assert to get triggered.
Fix this by only taking the whole merge set into account for inputs that
actually got their preferred register allocated.
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 9d4ba885bb8 ("ir3/ra: make main shader reg select independent of preamble")
(cherry picked from commit f84d85790ef0bb45488d775fc6c79b1cf1714f80)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
8010d0cd
by Mike Blumenkrantz at 2025-10-27T09:34:33-07:00
zink: disable primitiveFragmentShadingRateMeshShader feature
features are auto-enabled, but some of them cause validation errors
which are simple to work around
Fixes: 90f3c573374 ("zink: hook up VK_EXT_mesh_shader")
(cherry picked from commit a2ef369abf78ddc71725079b687c9da5d932b312)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
9ba765e3
by Sagar Ghuge at 2025-10-27T09:34:33-07:00
brw/rt: Move nir_build_vec3_mat_mult_col_major helper to header
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 3edeb1e191980f1293f12a5515843b5f97fc249c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
f63a5df3
by Sagar Ghuge at 2025-10-27T09:34:33-07:00
brw/rt: fix ray_object_(direction|origin) for closest-hit shaders
We were returning world BVH level for origin/direction, this commit
fixes by retuning correct object BVH level origin/direction.
Fixes: aaff19135644 ("brw/rt: fix ray_object_(direction|origin) for closest-hit shaders")
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 89fbcc8c3413016a23720d82ffb82d47d819912c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
3e227a04
by Dylan Baker at 2025-10-28T12:53:10-07:00
.pick_status.json: Update to 32b646c5976f64152a004d4c83962ca14c46154f
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
9311f170
by Marek Olšák at 2025-10-28T12:53:15-07:00
zink: fix mesh and task shader pipeline statistics
Fixes: 9d0e73335af - zink: enable GL_EXT_mesh_shader
(cherry picked from commit 41a8c4d37ca15a17f9480d682ab444161fd67065)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
2e17fd0c
by Lionel Landwerlin at 2025-10-28T12:53:16-07:00
vulkan/render_pass: Add a missing sType
Fixes: 3a204d5cf370 ("vulkan/render_pass: Add a better helper for render pass inheritance")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
(cherry picked from commit c5740c2548a023f4e03eae6ff53b598536ed2704)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
ac492d42
by Benjamin Cheng at 2025-10-28T12:53:17-07:00
radv/video: Override H265 SPS block size parameters
VCN only supports this set of parameters.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Cc: mesa-stable
(cherry picked from commit 84b6d8e0d7789ea18867aa36fe4fa9f4eeed9475)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
8a2bf930
by Benjamin Cheng at 2025-10-28T12:53:18-07:00
radv/video: Override H265 SPS unaligned resolutions
VCN requires 64x16 alignment for HEVC. When the app requests non-aligned
resolutions, make up for it with conformance window cropping.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Cc: mesa-stable
(cherry picked from commit cef8eff74d3f05a2cf5208f42c20c46c09678785)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
3a71d947
by Job Noorman at 2025-10-28T12:53:18-07:00
spirv: don't set in_bounds for structs
The arr::in_bounds field was set unconditionally for every deref created
for a chain. For struct derefs, which don't have this field, this would
write to an unused memory location, which is probably why this never
caused issues.
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: f19cbe98e32 ("nir,spirv: Preserve inbounds access information")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
(cherry picked from commit 0ac55b786ac357a468ca918fc848c7fe68edfc6c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
-
315b6889
by Dylan Baker at 2025-10-30T11:35:06-07:00
VERSION: bump for rc3
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
-
fd777ce6
by Dylan Baker at 2025-10-30T12:13:41-07:00
.pick_status.json: Update to 33342848451ca06deb054fad94de3cea3a9efe63
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
3ce875a2
by Alyssa Rosenzweig at 2025-10-30T12:13:52-07:00
anv: use D3D-compatible texturing for Proton
Intel & AMD Direct3D drivers modify their rounding behaviour for texturing to
match Direct3D expectations. Such behaviour is not conformant in Vulkan, and
Intel hardware lacks a reasonable way to get NVIDIA's behaviour (which uniquely
works for Vulkan & Direct3D). The second best choice is to use
Direct3D-compatible behaviour for Proton (via driconf) and our current
Vulkan-conformant behaviour everywhere else. Given the APIs diverge and there is
no Vulkan extension to control the behaviour explicitly, driconf'ing on the
engineName is the reasonable solution.
anv already has a anv_force_filter_addr_rounding driconf option to force
Direct3D behaviour for certain Direct3D titles. Here we simply apply it to all
D3D10+ titles, aligning us with the Windows driver.
Note that D3D9 does not have this behaviour. We therefore use standard Vulkan
behaviour for D3D9 to avoid breaking D3D9 titles, even though the engineName is
the same as D3D10+.
This is the same solution radv uses, they call it radv_disable_trunc_coord. We
could unify the driconf entries later.
See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38098#note_3166306
for a more detailed analysis, as well as the linked references:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27337
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25911
https://github.com/HansKristian-Work/vkd3d-proton/pull/1884
This fixes misrendering in piles of Direct3D games run on anv via Proton,
including Assassin's Creed Valhalla.
Cc: mesa-stable
Closes: #13886
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Co-authored-by: Calder Young <cgiacun@gmail.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
(cherry picked from commit 7a719527626313d18a3d41d009d3e05c98348aa2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
0edb1852
by Sagar Ghuge at 2025-10-30T12:13:53-07:00
vulkan/runtime: Fix typo in stack size calculation
Fixes: 69a04151db4 ("vulkan/runtime: add ray tracing pipeline support")
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
(cherry picked from commit a00560f7633232c53bf90ba1ac9835ebd1d5e228)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
7e15070e
by Mike Blumenkrantz at 2025-10-30T12:13:54-07:00
zink: collapse gfx pipeline fetching and binding conditionals
this avoids taking the wrong conditional if a pipeline fetch fails
cc: mesa-stable
(cherry picked from commit 0b24fd174a8cf9543b07bdfa150d868d673ce44a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
a7a020dd
by Mike Blumenkrantz at 2025-10-30T12:13:54-07:00
zink: collapse mesh pipeline fetching and binding conditionals
this avoids taking the wrong conditional if a pipeline fetch fails
cc: mesa-stable
(cherry picked from commit 343eef990e54d974d811f7414e79a8854b8c97f9)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
6670d074
by Gert Wollny at 2025-10-30T12:13:55-07:00
r600/sfn: extract function to update group after instr insert
Fixes: 359bfc3138e ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit a7f477b51f7b2f7861a3d1cc8efca1cc842b317e)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
a12369eb
by Gert Wollny at 2025-10-30T12:13:55-07:00
r600/sfn: move some common code into try_readport
Fixes: 359bfc3138e ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit 51e7c477d6e1994bf16e2d8dfda96966a8d0252c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
e082f6b6
by Gert Wollny at 2025-10-30T12:13:56-07:00
r600/sfn: Track whether a ALU group has a exec flag update
Fixes: 359bfc3138e ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit 0d065a2421d54ab3e95d3c2cd9fa4f3276f9fa1a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
2c67b0fa
by Gert Wollny at 2025-10-30T12:13:57-07:00
r600/sfn: make sure kill and update_exec don't happen in one group
v2: - Correctly test in multi-slot split whether the group has kill if
we want to add a multi-slot op.
- update group_has_predicate if an according vector op was added
Fixes: 359bfc3138e ("r600/sfn: make sure that kill and update pred are not in the same group")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit 317345cc980c510b3d4600a80f87580aea5a5ac5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
093c7d9d
by Mike Blumenkrantz at 2025-10-30T12:13:57-07:00
zink: don't destroy old push layout when enabling fbfetch descriptor
this may be in use by programs, and adding tracking/refcounting just to
delete a descriptor layout isn't worth the effort
cc: mesa-stable
(cherry picked from commit 272cf1db8e7596e0eeddecc52c90629f939892d8)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
205fe1a2
by Dmitry Osipenko at 2025-10-30T12:13:58-07:00
virtio/vdrm: Fix varying offsets of struct vdrm_device members
Struct virgl_renderer_capset_drm has a varying size depending on whether
AMDGPU driver is enabled or not. This breaks offset of struct vdrm_device
members for non-AMD drivers when Mesa is built with multiple native context
drivers including the AMD driver. Place varying capsets in the end struct
vdrm_device to mitigate the issue.
Fixes: 57362807307d ("virtio/vdrm: add ENABLE_DRM_AMDGPU for c_args")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
(cherry picked from commit bd8377bb0416bd30007aa49573579e2711cc2f8e)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
770e0957
by Eric Engestrom at 2025-10-30T12:13:58-07:00
asahi/virtio: fix memleak
Fixes: c64a2bbff5a3370bca7f ("asahi: port to stable uAPI")
(cherry picked from commit fdef10916ee61e4440189b9fad5d09c6295b7a71)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
f69d1abf
by Samuel Pitoiset at 2025-10-30T12:14:00-07:00
radv: ignore dual-source blending when blending isn't enabled for MRT0
The Vulkan spec says:
"VUID-vkCmdDraw-maxFragmentDualSrcAttachments-09239
If blending is enabled for any attachment where either the source
or destination blend factors for that attachment use the secondary
color input, the maximum value of Location for any output attachment
statically used in the Fragment Execution Model executed by this
command must be less than maxFragmentDualSrcAttachments"
Which means it must be disabled.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14190
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit b2badb2b241b3f5637133634b6bb48ebb90e4fed)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
46f04221
by Eric Engestrom at 2025-10-30T12:14:04-07:00
util/meson: don't build libmesa_util_clflushopt unless needed
Fixes: 555881e57499bc38f098 ("util/cache_ops: Add some cache flush helpers")
(cherry picked from commit ccf33664e89bec2afb6dd1297ebfee1972d5fb3c)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
9aeac1e0
by Eric Engestrom at 2025-10-30T12:14:05-07:00
util/meson: don't build libmesa_util_clflush unless needed
Fixes: efbecd93baa35b4bbeb5 ("util: Build util/cache_ops_x86.c with -msse2")
(cherry picked from commit 0fe0acd4c3896d2446ec48510928ecb46f504198)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
182877f3
by Faith Ekstrand at 2025-10-30T12:14:05-07:00
nvk: Don't re-initialize the descriptor writer if the set matches
The logic here before was wrong. In the case where the set is the same,
it would avoid the flush but then re-initialize anyway, loosing the
dirty information and causing us not to actually flush out all the
descriptors.
Fixes: 1f0fda22f7fe ("nvk: Flush descriptor set maps")
(cherry picked from commit 2f6b3b6b91f25c3f9d3abdcb3fdfb7f47a0196d9)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
0a0d08df
by Dylan Baker at 2025-10-31T12:07:09-07:00
.pick_status.json: Update to e44a776f4751d665efc447d8fe8e6c01d25a60c5
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
a46307a7
by Paul Gofman at 2025-10-31T12:07:11-07:00
driconf: add a workaround for Investigation Stories : gunsound
CC: mesa-stable
(cherry picked from commit 63aec75981c9aedf1efb98c33a99e3ceb05ec0ca)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
86313f95
by Gert Wollny at 2025-10-31T12:07:12-07:00
r600/sfn: AR loads are not dependend on the future and other code blocks
If the AR is loaded from a register changing that register in a loop was
resulting in a scheduling failure because the AR load was made dependend
on a later instruction. Fix the dependencies by only using dependencies on
older instruuctions in the same block.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14114
Fixes: d21054b4bc9 ("r600/sfn: Add pass to split addess and index register loads")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
(cherry picked from commit 43d9765e35d936a54fb5a1846ce21b06edb1c3da)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
3ddddf78
by Tapani Pälli at 2025-10-31T12:07:12-07:00
anv: bring back some lost game drirc workarounds for subgroups
Fixes: d39e443ef88 (" anv: add infrastructure for common vk_pipeline")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit f48df6f45c80e150eff13734fb1a3df9eda86c99)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
1e885e7a
by Samuel Pitoiset at 2025-10-31T12:07:13-07:00
radv: add a workaround for illegal depth/stencil descriptors with No Man's Sky
Using descriptors with both depth and stencil aspects is illegal in
Vulkan and this hangs the GPU.
Use NULL descriptors to mitigate the issue. Note that AMDVLK also
ignores them.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13325
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit cb4e0c414093170e5edf31591d60db3f02ac857b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
12c82aaa
by Icenowy Zheng at 2025-10-31T12:07:14-07:00
gallivm: orcjit: remember Context in addition to ThreadSafeContext
The llvm::orc::ThreadSafeContext object wraps an llvm::Context and keeps
its reference.
As we are no longer able to squeeze out Context from ThreadSafeContext
in LLVM 21, do not let ThreadSafeContext create Context implicitly for
LLVM 21, instead explicitly create Context and then remember it.
This also eliminates the code creating a Context that is never disposed.
Fixes: cd129dbf8af2 ("gallivm: support LLVM 21")
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
(cherry picked from commit cc60a7a39d11251c96dafcc4c017be502c06abf5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
629a0a4d
by David Rosca at 2025-11-03T13:17:38+01:00
radv/video: Introduce two levels of write_memory support
Print warning when using write_memory with firmwares that require
PCIe atomics support.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 8e1d74bbb466034b794cdd9e1552000c53cfc653)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
ce6c6a7a
by David Rosca at 2025-11-03T13:17:41+01:00
radv/video: Only use write_memory for encode feedback with full support
write_memory is used after encoding every frame to mark the feedback
buffer as ready. Only use it when write_memory can work without PCIe
atomics support.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 874e02003a0b6c946e2a26fae14b294918e5ac8d)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
3086692b
by Dylan Baker at 2025-11-04T10:16:42-08:00
.pick_status.json: Update to 27d9e4ec2a13a957f416a234a93bf2f0c2c9c56c
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
9bad1beb
by Ian Romanick at 2025-11-04T10:16:42-08:00
brw: Apply Gfx9 vgrf127 workaround in more cases
No shader-db changes on any Intel platform.
fossil-db:
Skylake
Intel(R) HD Graphics 530 (SKL GT2)
Totals:
Cycle count: 57669758527 -> 57669757913 (-0.00%); split: -0.00%, +0.00%
Totals from 10 (0.00% of 1736875) affected shaders:
Cycle count: 274949 -> 274335 (-0.22%); split: -0.36%, +0.14%
This change is likely due to subtle differences of different registers
being allocated.
In addition, fossils/google-meet-clvk/BgBlur.1f58fdf742c27594.1.foz and
fossils/google-meet-clvk/Relight.1f58fdf742c27594.1.foz stopped failing
EU validation on Gfx9 platforms.
Closes: #14171
Fixes: e7b7d572b3b ("intel/fs/ra: Re-arrange interference setup")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
(cherry picked from commit 3e6af6c5bb75e5d2823c45d4ccdd90bf2c11b6d7)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
55a37838
by Ian Romanick at 2025-11-04T10:16:42-08:00
elk: Apply vgrf127 workaround in more cases
No shader-db changes on Broadwell. Older platforms were not tested.
Fixes: e7b7d572b3b ("intel/fs/ra: Re-arrange interference setup")
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
(cherry picked from commit 2e8b89ec60f700c04347ab850d25aa6d85e2083b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
3dab7315
by Alyssa Rosenzweig at 2025-11-04T10:16:42-08:00
asahi,ail: fix multi-plane imports
We need to handle plane offsets everywhere. I noticed this broken before but
didn't realize it was a GL driver issue. Fix is easy, wrote this on my sofa
while waking up in the morning.
Fixes gst-launch-1.0 v4l2src ! glimagesink
Note that cheese & snapshot both still hang for some reason due to
libgstpipewire, but the Mesa side should be fine now.
Closes: #14217
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: mesa-stable
(cherry picked from commit aa9f93711692504bc216423cdff76a86b40c6fa3)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
90b6c3a8
by Janne Grunau at 2025-11-04T10:16:42-08:00
hk: Report the correct plane count in VkDrmFormatModifierProperties2?EXT
Fixes import of planar formats like NV12 in gtk4. Allows
`gst-launch-1.0 v4l2src ! gtk4paintablesink` to use vulkan instead of
falling back to OpenGL.
Closes: #14217
Cc: mesa-stable
Signed-off-by: Janne Grunau <j@jannau.net>
(cherry picked from commit 83b97379dc2d7f8db65fd88a8773a495ca70bbd8)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
7c185409
by Marek Olšák at 2025-11-04T10:16:42-08:00
Revert ABI breakage "amd: Add user queue HQD count to hw_ip info"
This reverts commit 56d758d321fd87b883106585b564fac92aa0793a.
It broke ABI between Mesa and libdrm, causing crashes due to stack smashing.
See: https://gitlab.freedesktop.org/mesa/libdrm/-/issues/121#note_3172362
Fixes: 56d758d321fd87b883106585b564fac92aa0793a
(cherry picked from commit 5d92c92ce56c4c3b9d98936fee51129281923e1a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
d527eedb
by Konstantin Seurer at 2025-11-04T10:16:42-08:00
lavapipe: Bump maxPrimitiveCount
The vulkan spec requires at least 2^29-1.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14212
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit ff145d2ddc13ef36129bae10c73816e2b83757e3)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
c70fd7f7
by Konstantin Seurer at 2025-11-04T10:16:42-08:00
lavapipe: Zero image null descriptors
The size queries for images do not use function pointers so we need to
be careful that width, height and depth are 0.
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit d6dd96e1c70d3c257d3d38775f3e3f05aad7a344)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
51285c67
by Konstantin Seurer at 2025-11-04T10:16:42-08:00
lavapipe: Bump MAX_DESCRIPTOR_UNIFORM_BLOCK_SIZE
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 25e678a37d67aafa4659ab4ed35ac7849fa1f7d4)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
775652e0
by Konstantin Seurer at 2025-11-04T10:16:42-08:00
gallivm/nir/soa: Use the sign of src1 for imod
This is the behavior specified by the nir opcode, the spirv spec and
required by maintenance8.
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 4d30da6599e33292a113d9e788490cc402f06ea8)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
3109237d
by Konstantin Seurer at 2025-11-04T10:16:42-08:00
llvmpipe: Always recompute 1/w
The value depends on the tgsi_interpolate_loc which is not constant for
the loop. llvm should be able to cse in cases where they are the same.
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit aa28fcb6105d4504850cf649e483289a86f37605)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
2ad12150
by Mel Henning at 2025-11-04T10:16:42-08:00
nak/opt_lop: Don't handle modifiers in dedup_srcs
The handling in dedup_srcs was incorrect because it would apply the
modifier from srcs[i] to the LUT without removing the modifier from the
instruction. We can fix and simplify this code by removing all modifiers
before the dedup_srcs() call, which we were doing immediately after the
call anyway.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13966
Fixes: 66c9c40f68bc ("nak: Handle modifiers in dedup_srcs() in opt_lop()")
Reviewed-by: Seán de Búrca <sdeburca@fastmail.net>
Reviewed-by: Lorenzo Rossi <git@rossilorenzo.dev>
(cherry picked from commit 041216e605a89cfb36edb4a5a6c97ffbc835a1a1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
e23c7221
by Ryan Houdek at 2025-11-04T10:16:42-08:00
freedreno/fdl: Fix typo in tiled_to_linear_2cpp
The non-aarch64 path was copying in the wrong direction.
Fixes: 7a5a33e0e39 ("freedreno/fdl: Add tiling/untiling implementation for a6xx/a7xx")
(cherry picked from commit 455eb2c7518d94c43c5664163b54a649008a9d21)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
eb2668aa
by Danylo Piliaiev at 2025-11-04T10:16:42-08:00
vulkan: Always fill DS state for EXT_dynamic_rendering_unused_attachments
If renderpass has D/S attachment, but pipeline has D/S as UNDEFINED,
D/S should be properly disabled for the pipeline. The easiest way is to
ensure that D/S state is valid when pipeline's D/S format is UNDEFINED.
So we always create VkPipelineDepthStencilStateCreateInfo.
CC: mesa-stable
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
(cherry picked from commit 2798ef7bfdf9ceafb931c2b2db4b6ef5d787fb0a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
30678337
by Lionel Landwerlin at 2025-11-04T10:16:42-08:00
u_trace: reserve chunk space before emitting copies
Some implementations can emit tracepoints when copying u_trace
buffers. It's important to reserve the slots we want to copy into
before emitting the copies so that both processes don't clash with one
another.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
(cherry picked from commit df5f92d11453948e3a08761c0554a5d554a60163)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
96969210
by Lionel Landwerlin at 2025-11-04T10:16:42-08:00
anv: avoid null pointer access in utrace copies on CCS
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3e0ad0176b ("anv: Emit state cache invalidation after every compute dispatch")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 6f138fe723506a41519ec3956a89488893114705)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
ef9457d1
by Connor Abbott at 2025-11-04T14:12:20-08:00
tu: Rename tu_render_pass_attachment::clear_views to used_views
It's not just used for clears, it was already used for loads and it
needs to be used for stores too so clear_views was a confusing name.
Cc: mesa-stable
(cherry picked from commit 6c3ed74ed27c8fb42c00c0c5c657d9197bc8a71d)
Conflicts:
src/freedreno/vulkan/tu_pass.cc
src/freedreno/vulkan/tu_pass.h
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
1dadb38d
by Connor Abbott at 2025-11-04T14:12:21-08:00
tu: Fix attachment stores with subpasses with partial views
Subpasses can have different view masks, although this isn't often used.
So we can't use the view mask of the last subpass when deciding what to
store, instead we have to use the same used_views field that's used by
loads and clears.
Noticed by upcoming tests for VK_QCOM_multiview_per_view_render_areas.
Cc: mesa-stable
(cherry picked from commit c0b5c04b844b3772f1347703c9f95a1ae82ec68b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
44822812
by Yiwei Zhang at 2025-11-05T10:16:55-08:00
panvk: fix sample shading of internal blend shader for MSAA
Align with gallium side. When fixed-function blending is not available,
the internal blend shader is used. This is handled by a single ST_TILE
in the blend shader with the current sample ID, which requires sample
shading enablement.
Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
(cherry picked from commit 763d2418b8fe064858b108b446105101d30fff90)
CI fails removed from cherry-pick as the file doesn't exist on stable,
and the main branch change has only removals.
Conflicts:
src/panfrost/ci/panfrost-g925-fails.txt
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
7d4557ba
by Georg Lehmann at 2025-11-05T10:18:26-08:00
radv: do not report wave32 in gl_SubgroupSize for Doom Dark Ages
The shaders in question use:
(memory_load + (gl_SubgroupSize - 1)) & ~(gl_SubgroupSize - 1)
My guess is that this is supposed to be the subgroup size of whatever
produced the value, not the subgroup size in this shader.
And because in the consumer the workgroup size is 32, we use wave32.
Fixes: a2d3cbac2a1 ("radv: determine subgroup/wave size early")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14187
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 83e9ae2d5c21382f1990fa656ac9347c51964385)
Conflicts:
src/amd/vulkan/radv_instance.c
src/amd/vulkan/radv_instance.h
src/util/driconf.h
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
-
944ec88c
by Dylan Baker at 2025-11-06T09:02:18-08:00
VERSION: bump for 25.3.0-rc4
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
-
f0dcef0f
by Timo Aaltonen at 2025-11-07T12:31:14+02:00
Wrap-and-sort.
-
cdc80148
by Timo Aaltonen at 2025-11-07T12:36:42+02:00
control: Add libpng-dev build-dep for screenshot vulkan layer.
-
d4b0e204
by Timo Aaltonen at 2025-11-07T12:38:00+02:00
mesa-vulkan-drivers: Add mesa-screenshot-control.py.
-
e88c123d
by Timo Aaltonen at 2025-11-07T12:38:54+02:00
Merge branch 'upstream-experimental' into debian-experimental
-
c2a1773a
by Timo Aaltonen at 2025-11-07T12:41:28+02:00
version bump
-
b4ef7b99
by Timo Aaltonen at 2025-11-07T12:54:10+02:00
mesa-vulkan-drivers.lintian-overrides: Updated.
-
1cbd85db
by Timo Aaltonen at 2025-11-07T12:54:19+02:00
releasing package mesa version 25.3.0~rc4-1