Files
angle/scripts
Geoff Lang 70e5e90fb2 Metal: Avoid locking IOSurfaces in glReadPixels on AMD.
The AMD driver tends to crash when locking IOSurfaces. Avoid this by
using the copyIOSurfaceToNonIOSurfaceForReadOptimization feature to do
a texture-texture copy before reading back data to the CPU.

This is a *speculative* fix due to seeing crashes in the
ClientLockIOSurface function in the AMD driver.

Bug: angleproject:7573
Change-Id: Ia120f2a96eed65431b5f8a99cf1da7d7e85da639
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3915181
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Gregg Tavares <[email protected]>
2022-09-26 15:43:07 +00:00
..
2022-09-20 04:02:18 +00:00
2022-09-22 16:11:44 +00:00
2022-04-12 03:20:38 +00:00