b68f2e747c
Instead of the previous fragile attempt to handle sparse_resident_and by crawling deref chains, we now insert an is_sparse_resident_zink intrinsic immediately after the tex or sparse_load intrinsic and define Zink's sparse resident codes to always be 0/1. Then sparse_resident_and becomes iand and is_sparse_texels_resident becomes != 0 and everything is well-defined and robust. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28123>