Browse Source
Merge pull request #9985 from liamwhite/funny-meme
vulkan: fix scheduler chunk reserve
pull/15/merge
bunnei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/renderer_vulkan/vk_scheduler.cpp
|
|
|
@ -328,7 +328,7 @@ void Scheduler::AcquireNewChunk() { |
|
|
|
chunk = std::make_unique<CommandChunk>(); |
|
|
|
} else { |
|
|
|
// Otherwise, we can just take from the reserve.
|
|
|
|
chunk = std::make_unique<CommandChunk>(); |
|
|
|
chunk = std::move(chunk_reserve.back()); |
|
|
|
chunk_reserve.pop_back(); |
|
|
|
} |
|
|
|
} |
|
|
|
|