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>
This commit is contained in:
committed by
Marge Bot
parent
120a506e70
commit
f0e1512673
@@ -135,7 +135,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. */
|
||||
|
||||
Reference in New Issue
Block a user