Skip to content
Commit 4d3dc926 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Juan A. Suarez Romero
Browse files

iris: Drop copy format hacks from copy region based transfer path.



This doesn't work for compressed formats, as the source texture and
temporary texture would have different block sizes.  (Forcing the driver
to always take the GPU path would expose the bug.)  Instead, just use
the source format for the temporary, and let blorp_copy deal with
overrides.

The one case where we can't do this is ASTC, because isl won't let us
create a linear ASTC surface.  Fall back to the CPU paths there for now.

Fixes: 9d1334d2 ("iris: Use copy_region and staging resources to avoid transfer stalls")
Reviewed-by: default avatarRafael Antognolli <rafael.antognolli@intel.com>
(cherry picked from commit 136629a1)
parent 4f4a3828
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment