mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
graphics: synchronize host file writes and depth clipping
Map paired PS5 depth-clip state through Vulkan pipeline creation and preserve asymmetric hard failures. Prepare GPU-mapped guest ranges before kernel file reads so buffer, texture, and alias ownership remains coherent. Add focused regression coverage and update the current launch target.
This commit is contained in:
@@ -882,6 +882,13 @@ void WriteBacking(uint64_t vaddr, const void* data, uint64_t size) noexcept {
|
||||
}
|
||||
}
|
||||
|
||||
void PrepareHostWrite(uint64_t vaddr, uint64_t size) {
|
||||
if (size == 0 || Graphics::g_render_ctx == nullptr) {
|
||||
return;
|
||||
}
|
||||
Graphics::g_render_ctx->GetGpuResources()->PrepareHostWrite(vaddr, size);
|
||||
}
|
||||
|
||||
struct PrtAperture {
|
||||
uint64_t address = 0;
|
||||
uint64_t size = 0;
|
||||
|
||||
Reference in New Issue
Block a user