mesa/src/panfrost
Boris Brezillon bb07343c28 pan/image: Start checking image view consistency
We recently found a weird case where an image was re-interpreted with
a format that had a bigger size than the image format, which led the
resulting texture descriptor to have a size that was bigger than what
the plane descriptors were covering.

Let's make sure this sort of unexpected use don't slip through in the
future by introducing basic image view consistency checks.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35317>
2025-06-06 14:16:43 +00:00
..
ci panvk: Implement indirect dispatch on JM 2025-06-06 12:58:21 +00:00
clc pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
compiler panvk: Add FS read support for PrimitiveID 2025-06-06 13:54:57 +00:00
drm-shim panfrost: Fix group priorities in drm-shim 2025-02-05 13:30:29 +00:00
ds pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
genxml pan/genxml: Switch pan_merge to a macro 2025-06-06 12:58:21 +00:00
lib pan/image: Start checking image view consistency 2025-06-06 14:16:43 +00:00
libpan libpan: Add indirect dispatch implementation 2025-06-06 12:58:21 +00:00
midgard pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
perf pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
shared pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
tools pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
util panvk: Add FS read support for PrimitiveID 2025-06-06 13:54:57 +00:00
vulkan panvk: Add FS read support for PrimitiveID 2025-06-06 13:54:57 +00:00
.clang-format panforst: Update ForEachMacros for pan/bi 2025-06-03 14:28:06 +00:00
meson.build panfrost: Move genxml out of pan/lib 2025-05-09 09:33:38 +00:00