mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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:
parent
385f9a9662
commit
70e8f8b4d0
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue