mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
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:
parent
5cd7416542
commit
ab7fb3d400
1 changed files with 4 additions and 0 deletions
|
|
@ -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 =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue