zink: verify that source-format support linear-filter
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 14 Apr 2021 14:47:42 +0000 (16:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 15:48:03 +0000 (15:48 +0000)
commit5362adf68dc30dcf132e89e686c21bdd6a7f6dbb
treedaf533db7ed346febd6f14c9d9baafd238795952
parent0ba3cf1f953ed2a342ef729211ecf90d241385f8
zink: verify that source-format support linear-filter

Similar to the previous commit, we should also verify that the
source-format support linear-filter if we try to blit with it.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10234>
src/gallium/drivers/zink/zink_blit.c