mesa/src/panfrost
Mary Guillemard 154c7b0d23 pan/bi: Fix scratch access optimization
This was causing a crash on
"dEQP-VK.graphicsfuzz.cov-function-large-array-max-clamp" where the
test was trying to allocate ~6GB of TLS.

Considering we were already doing something identical before those changes,
we can just add nir_lower_scratch_to_var before nir_lower_vars_to_scratch
to get the expected behavior (Cleaning LLVM spilling mess around pan_pack)

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Fixes: 1619fc596a ("bi: Optimize scratch access")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33510>
2025-02-12 17:02:32 +01:00
..
ci pan/ci: add a couple of common flakes 2025-02-06 13:42:44 +00:00
clc panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
compiler pan/bi: Fix scratch access optimization 2025-02-12 17:02:32 +01:00
drm-shim panfrost: Fix group priorities in drm-shim 2025-02-05 13:30:29 +00:00
ds build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
lib pan/genxml: Rework gen_pack.py to support OpenCL 2025-02-11 12:33:23 +00:00
libpan panvk: Implement precomp dispatch 2025-02-11 12:33:23 +00:00
midgard panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
perf panfrost: Kill panfrost-job.h 2025-01-07 11:10:55 +00:00
shared format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util panfrost: support 16-bit varyings 2025-02-04 01:56:01 +00:00
vulkan panvk: Initialize device virtual address space after the VM creation 2025-02-11 18:26:31 +00:00
.clang-format pan/cs: cs_{break,continue} are not for_each macros 2025-01-15 14:07:37 +00:00
meson.build panfrost: Add base of OpenCL C infrastructure 2025-02-11 12:33:23 +00:00