zink: always use NEAREST for zs blits
LINEAR is illegal, and swapping filtering at this point still seems to be conformant given questionable GL spec requirements for LINEAR zs filtering cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21203>
This commit is contained in:
committed by
Marge Bot
parent
77f59950fd
commit
067545eb9a
@@ -265,7 +265,8 @@ 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, ®ion,
|
||||
zink_filter(info->filter));
|
||||
/* 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_cmd_debug_marker_end(ctx, marker);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user