mesa/src/asahi
Asahi Lina 2221eb6cec ail: Fix miptree offset generation for compressed textures
For compressed textures, the POT miptree starting size is calculated
backwards (POT then minify instead of minify then POT).

In addition, the existing POT miptree start level code does not work for
compressed textures. Due to the extra block alignment requirement each
step of the way, we can no longer get away with nice log-based O(1)
math. Switch to a loop. This should be equivalent for uncompressed
textures, but yields different results with compression (element size >
1x1).

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
2023-12-09 10:56:45 -04:00
..
clc asahi: clc: Handle doorbell and stack mapping intrinsics 2023-11-07 00:05:55 +00:00
compiler agx: wire up texture_samples/image_samplers 2023-12-09 10:56:45 -04:00
drm-shim asahi: drop unused include paths 2023-07-22 10:10:03 +00:00
layout ail: Fix miptree offset generation for compressed textures 2023-12-09 10:56:45 -04:00
lib agx: wire up texture_samples/image_samplers 2023-12-09 10:56:45 -04:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
meson.build asahi: Fix tools=all builds 2023-11-02 18:51:57 -04:00