Experimental commit that effectively reverts the Vulkan part of #12882.

For the #12927 investigation.
This commit is contained in:
Henrik Rydgård 2020-05-19 00:41:41 +02:00
parent 4ffc73bf5b
commit 29d1f97dd5

View file

@ -790,7 +790,7 @@ void VulkanQueueRunner::ApplyRenderPassMerge(std::vector<VKRStep *> &steps) {
case VKRStepType::RENDER:
if (steps[j]->render.framebuffer == fb) {
// Prevent Unknown's example case from https://github.com/hrydgard/ppsspp/pull/12242
if (renderHasClear(steps[j]) || steps[j]->dependencies.contains(touchedFramebuffers)) {
if (steps[j]->dependencies.contains(touchedFramebuffers)) {
goto done_fb;
} else {
// Safe to merge, great.