Remove now redundant buffer/texture/megabuffer manager locks

They have been superseeded by the global channel lock
This commit is contained in:
Billy Laws
2022-10-09 16:32:59 +01:00
parent f5a141a621
commit 05581f2230
17 changed files with 28 additions and 154 deletions

View File

@ -97,6 +97,8 @@ namespace skyline::gpu {
frame.fence.Wait(state.soc->host1x);
std::scoped_lock textureLock(*frame.textureView);
// std::this_thread::sleep_for(std::chrono::milliseconds(64));
auto texture{frame.textureView->texture};
if (frame.textureView->format != swapchainFormat || texture->dimensions != swapchainExtent)
UpdateSwapchain(frame.textureView->format, texture->dimensions);