mesa/src/asahi
Olivia Lee dc140f5500 hk: fix hk_passthrough_gs_key size computation
The non-dynamic members of xfb_info are already included in
sizeof(hk_passthrough_gs_key), so adding nir_xfb_info_size counts them
twice. Because of this we were including uninitialized memory in the key
in hk_handle_passthrough_gs, which is undefined behavior.

Fixes: 5bc8284816 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39574>
(cherry picked from commit d6745b358d)
2026-02-04 18:39:33 +01:00
..
ci asahi/ci: skip fp64 subgroup tests 2025-12-31 10:27:04 -05:00
clc nir: rename nir_copy_prop -> nir_opt_copy_prop 2025-11-15 02:16:38 +00:00
compiler agx: fix SSA repair with phis with constants 2026-01-16 09:45:40 +00:00
drm-shim asahi: fix drm-shim 2025-09-15 22:46:21 +00:00
genxml asahi: reduce ppp alignment 2025-08-08 10:10:58 +00:00
isa agx: fix simd reduce forcing no cache bit 2025-08-03 14:40:54 -04:00
layout treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
lib nir/lower_blend: Move the format to nir_lower_blend_rt 2026-01-19 21:33:14 +00:00
libagx poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
vulkan hk: fix hk_passthrough_gs_key size computation 2026-02-04 18:39:33 +01:00
.clang-format clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
meson.build agx: add XML-based disassembler 2025-06-05 18:57:42 +00:00