Revert "zink: always use NEAREST for zs blits"

This reverts commit 067545eb9a.

this is good enough for CI but not enough for anholt's piglit tests

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21314>
This commit is contained in:
Mike Blumenkrantz
2023-02-14 10:08:22 -05:00
committed by Marge Bot
parent 6ac830ccb1
commit 120a506e70
+1 -2
View File
@@ -265,8 +265,7 @@ blit_native(struct zink_context *ctx, const struct pipe_blit_info *info, bool *n
VKCTX(CmdBlitImage)(cmdbuf, src->obj->image, src->layout,
dst->obj->image, dst->layout,
1, &region,
/* VUID-vkCmdBlitImage-srcImage-00232: zs formats must use NEAREST filtering */
util_format_is_depth_or_stencil(info->src.format) ? VK_FILTER_NEAREST : zink_filter(info->filter));
zink_filter(info->filter));
zink_cmd_debug_marker_end(ctx, marker);