mesa/src
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
..
amd aco: don't consider gfx1153 to have point sample acceleration 2025-06-06 11:55:13 +01:00
android_stub
asahi hk: fix texture state count 2025-06-05 18:57:43 +00:00
broadcom broadcom/ci: update expected results with kernel 6.12 2025-06-05 11:21:46 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/scale_fdiv: handle fp16 fdiv 2025-06-05 13:17:27 +00:00
drm-shim
egl egl: Fixes for eglQueryContext and RESET_NOTIFICATION_STRATEGY 2025-06-02 04:36:48 +00:00
etnaviv Uprev Piglit to c32e5cc717e846ffa43408174181dc16a31d3df0 2025-05-26 10:19:29 +00:00
freedreno tu: Add perf debug for FDM being disabled 2025-06-05 21:18:07 +00:00
gallium panfrost: Make the MTK detiling more robust 2025-06-06 14:16:43 +00:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: fix suballocation logic using u_mm 2025-06-04 17:24:24 +00:00
glx glx,egl: drop libpipe_loader_dynamic dependency 2025-05-27 07:53:20 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: simplify RENDER_SURFACE_STATE parsing 2025-06-06 12:28:42 +00:00
loader loader/wayland: Move acquisition time tracking into perfetto flows 2025-05-26 16:13:25 -05:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-23 20:18:25 +00:00
mesa amd: replace most u_bit_consecutive* with BITFIELD_MASK/RANGE 2025-06-04 17:46:38 +00:00
microsoft microsoft/compiler: Cast one enum to another instead of to int to resolve warning 2025-05-30 17:04:18 +00:00
nouveau nvk/headers: sync up the latest blackwell compute class headers 2025-06-06 12:46:51 +10:00
panfrost pan/image: Start checking image view consistency 2025-06-06 14:16:43 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util anv: add support for shaderStorageImageReadWithoutFormat through emulation 2025-06-06 12:28:42 +00:00
virtio venus: properly handle implicit fence from the compositor 2025-05-27 02:40:44 +00:00
vulkan vulkan/format: map ASTC HDR formats 2025-06-06 06:40:59 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00