de91d07927
Since we can be blitting using a format that is different from the resource's native format, we also need to validate and demote if necessary, similar to sampler-views, image-views, and fb state. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11371>