mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-24 18:41:52 +01:00
Remove redundant synchost creating a new buffer
This commit is contained in:
parent
11a8feb037
commit
f4e58a9238
@ -185,7 +185,6 @@ namespace skyline::gpu {
|
|||||||
// If we couldn't find any overlapping buffers, create a new buffer without coalescing
|
// If we couldn't find any overlapping buffers, create a new buffer without coalescing
|
||||||
LockedBuffer buffer{std::make_shared<Buffer>(gpu, guestMapping), tag};
|
LockedBuffer buffer{std::make_shared<Buffer>(gpu, guestMapping), tag};
|
||||||
buffer->SetupGuestMappings();
|
buffer->SetupGuestMappings();
|
||||||
buffer->SynchronizeHost();
|
|
||||||
InsertBuffer(*buffer);
|
InsertBuffer(*buffer);
|
||||||
return buffer->GetView(offset, size);
|
return buffer->GetView(offset, size);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user