mesa/src/panfrost
Erik Faye-Lund 58498ab806 panvk: document reason for maxResourceSize-limit
There's no reason to calculate this more closely; the Vulkan spec
explicitly allows for it to be conservative. And there's no other Vulkan
driver in Mesa that currently does anything else.

But, we have another reason to limit to this specific value (which also
happens to be the minimum value allowed by the spec); we'll overflow the
32-bits of slice_stride for resources where the product of width, height
and texel-size is over UINT32_MAX. But with this limit in place, we
avoid this.

This limit will go away in v11, beacuse there's an additional five bits
of slice_stride there. But let's leave that for later.

Anyway, let's document why this is the correct limit, insted of having
the FINISHME-comment.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: John Anthony <john.anthony@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32265>
2024-11-21 08:59:15 +00:00
..
ci panvk: Enable VK_KHR_vertex_attribute_divisor 2024-11-21 06:02:13 +00:00
compiler nir: make use_interpolated_input_intrinsics a nir_lower_io parameter 2024-11-20 02:45:37 +00:00
drm-shim panfrost: Report default value for GROUP_PRIORITIES_INFO in drm-shim 2024-11-12 08:46:22 +00:00
ds build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
include panfrost: implement a driver-specific max-miplevel 2024-04-18 15:04:57 +00:00
lib panfrost: use 64-bits for layout calculations 2024-11-20 09:20:17 +00:00
midgard nir: make use_interpolated_input_intrinsics a nir_lower_io parameter 2024-11-20 02:45:37 +00:00
perf build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07: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: use mesa_log infra instead of stdio 2024-11-13 09:15:05 +00:00
vulkan panvk: document reason for maxResourceSize-limit 2024-11-21 08:59:15 +00:00
.clang-format pan/cs: Add helpers for if/else blocks 2024-09-20 07:25:03 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00