asahi: don't canonicalize nans/flush denorms when copying

CL image copies

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
This commit is contained in:
Alyssa Rosenzweig
2024-01-07 20:54:51 -04:00
parent 5cd7416542
commit ab7fb3d400

View File

@@ -407,6 +407,10 @@ try_copy_via_blit(struct pipe_context *pctx, struct pipe_resource *dst,
if (dst->target != src->target)
return false;
/* TODO: float formats don't roundtrip, cast */
if (util_format_is_float(dst->format) || util_format_is_float(src->format))
return false;
struct pipe_blit_info info = {
.dst =
{