mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 00:33:06 +00:00
refactor cache/split responsibilities
This commit is contained in:
1 parent
78431dba4a
commit
62a92abc66
19 files changed
+1517
-1355
No files matched your search
@@ -217,7 +217,8 @@ void GraphicsRenderDepthStencilBarrier(CommandBuffer* buffer, uint64_t vaddr, ui
|
||||
Common::LockGuard lock(g_render_ctx->GetMutex());
|
||||
|
||||
auto* vk_buffer = buffer->GetPool()->buffers[buffer->GetIndex()];
|
||||
auto* native = g_render_ctx->GetTextureCache()->FindDepthTargetByRange(vaddr, size);
|
||||
auto* native =
|
||||
g_render_ctx->GetTextureCache()->FindDepthTargetByRange(buffer, vaddr, size);
|
||||
if (native == nullptr) {
|
||||
EXIT("depth-target barrier range has no cached image\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user