59a6c5b357
For multisampled textures, the decision about whether to compress or not is based on the effective width and height in samples, not pixels. Introduce ail_can_compress() to encode this logic in ail, so the driver can use it to decide whether to compress or not before the full layout is determined. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22971>