zink: block LINEAR filtered blits for zs formats

this is illegal, and the u_blitter path has to be taken to guarantee
enough accuracy that the strictest piglit tests pass

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21314>
(cherry picked from commit f0e1512673)
This commit is contained in:
Mike Blumenkrantz 2023-02-14 10:10:20 -05:00 committed by Eric Engestrom
parent 385f9a9662
commit 70e8f8b4d0
2 changed files with 2 additions and 2 deletions

View file

@ -3262,7 +3262,7 @@
"description": "zink: block LINEAR filtered blits for zs formats",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -128,7 +128,7 @@ blit_native(struct zink_context *ctx, const struct pipe_blit_info *info, bool *n
return false;
if (util_format_is_depth_or_stencil(info->dst.format) &&
info->dst.format != info->src.format)
(info->dst.format != info->src.format || info->filter == PIPE_TEX_FILTER_LINEAR))
return false;
/* vkCmdBlitImage must not be used for multisampled source or destination images. */