mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
Vulkan: Semi-gross hack that massively improves the perf of MGS2:Acid.
This commit is contained in:
1 parent
81276c8862
commit
413a204138
8 files changed
+111
-5
No files matched your search
@@ -472,6 +472,7 @@ void GLRenderManager::Run(int frame) {
|
||||
auto &initStepsOnThread = frameData_[frame].initSteps;
|
||||
// queueRunner_.LogSteps(stepsOnThread);
|
||||
queueRunner_.RunInitSteps(initStepsOnThread);
|
||||
initStepsOnThread.clear();
|
||||
|
||||
// Run this after RunInitSteps so any fresh GLRBuffers for the pushbuffers can get created.
|
||||
for (auto iter : frameData.activePushBuffers) {
|
||||
@@ -481,7 +482,6 @@ void GLRenderManager::Run(int frame) {
|
||||
|
||||
queueRunner_.RunSteps(stepsOnThread);
|
||||
stepsOnThread.clear();
|
||||
initStepsOnThread.clear();
|
||||
|
||||
for (auto iter : frameData.activePushBuffers) {
|
||||
iter->MapDevice(bufferStrategy_);
|
||||
|
||||
Reference in new issue
Block a user