mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 17:58:09 +02:00
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> |
||
|---|---|---|
| .. | ||
| clc | ||
| compiler | ||
| drm-shim | ||
| layout | ||
| lib | ||
| .clang-format | ||
| meson.build | ||