sharpemu/tests/SharpEmu.Libs.Tests
kuba 2c0ab66c5a [GPU] Read guest buffers back from unified memory without a copy
A CPU read of GPU-written guest memory recorded a copy at the tail of
the current command buffer and waited for it, so it also waited for
every draw recorded after the writer. In Silent Hill's title menu most
of those reads targeted buffers whose writer had retired long before,
and UE's render thread spent a third of its time in them.

On a device with device-local, host-visible, coherent memory (Apple
GPUs), guest buffers are now allocated there. A readback whose writers
retired copies straight out of the buffer's mapping; one whose writer
is submitted but still running waits for that submission alone and then
copies; the command worker submits a writer that is still recording
and reads after it. A guest-thread wait also marks its window hot, so
the next GPU write there is submitted right after its command.
SHARPEMU_UNIFIED_BUFFERS=0 keeps device-local buffers.
2026-10-06 22:18:30 +02:00
..
Agc Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Ampr Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
AppContent Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
Audio Page fixes (#1023) 2026-10-04 19:07:37 +03:00
AvPlayer Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Cpu Page fixes (#1023) 2026-10-04 19:07:37 +03:00
Fiber Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Font [Font] Fix font face creation (#1010) 2026-10-03 05:04:56 +03:00
GUI [GUI] revision of default settings (#1009) 2026-10-02 02:51:50 +03:00
Gpu [GPU] Read guest buffers back from unified memory without a copy 2026-10-06 22:18:30 +02:00
HLE Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Ime Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Json Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Kernel Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
LibcInternal Add libc heap trace contract tests (#409) 2026-07-19 03:25:42 +03:00
Loader Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Logging Reject undefined numeric LogLevel values (#390) 2026-07-18 15:47:19 +03:00
Media Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Memory Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Network Gran Turismo 7 Fixes, AvPlayer, Razor CPU stubs, Net stubs (#927) 2026-09-30 01:37:56 +03:00
Ngs2 Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Np Fix for DS,Little Nightmares, Little Nightmares III and Astro Bot shader (#913) 2026-09-27 20:43:07 +03:00
Pad Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
PlayGo [PlayGo] Reject authoritative unknown chunk loci (#242) 2026-07-16 19:22:33 +03:00
Pthread Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
Random [HLE] Add RandomExports HLE (#413) 2026-07-18 23:44:57 +03:00
Remoteplay fix(gta): restore wiped GTA foundation and gameplay path (PPSA04264) (#650) 2026-07-27 01:58:55 +03:00
Rtc Fix sceRtcConvertLocalTimeToUtc failing on non-UTC hosts (#210) 2026-07-16 00:04:35 +03:00
SaveData Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
ShaderCompiler Perf computed shaders (#1013) 2026-10-03 04:49:43 +03:00
SystemService [GUI/CLI] Add support for console settings and language selection (#907) 2026-09-26 00:17:25 +03:00
Tls [AGC/Vulkan] Extend PS5 runtime and rendering compatibility (#216) 2026-07-16 02:02:34 +03:00
VideoOut Astro playroom shaders (#1030) 2026-10-06 01:32:13 +03:00
AerolibCatalogTests.cs [SourceGenerators] Compile-time SysAbi export registry, analyzers, and build-generated aerolib.bin (#204) 2026-07-16 00:00:32 +03:00
AllocationMeasurement.cs Astrobot / Demon's soul performance improvement (#955) 2026-09-30 18:14:21 +03:00
FakeCpuMemory.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
LibcStdioExportsTests.cs Fix/gen5 shader resource handling (GTA 5) (#1015) 2026-10-03 04:00:32 +03:00
NativeExecutionRequirements.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
NativePageProtectionRequirements.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
SaveDataStorageTests.cs Sdl backend (#670) 2026-07-28 03:33:26 +03:00
SharpEmu.Libs.Tests.csproj Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
SysAbiRegistryTests.cs Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00