mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-26 14:38:13 +02:00
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> |
||
|---|---|---|
| .. | ||
| ci | ||
| compiler | ||
| drm-shim | ||
| ds | ||
| include | ||
| lib | ||
| midgard | ||
| perf | ||
| shared | ||
| tools | ||
| util | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||