VK: Whenever safely possible, shrink the render area.

We just set the render area to the union of the scissor rects used in a pass.

Might help some games on some mobile hardware, a little bit.

Possibly #13464?
This commit is contained in:
Henrik Rydgård committed 2020-10-11 23:23:25 +02:00
1 parent 495fd9a13c
commit 332bb7feeb
7 files changed
+115 -14

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@
#include "Common/GPU/thin3d.h"
#include "Common/UI/Context.h"
#include "Common/UI/View.h"
#include "Common/System/System.h"
#include "Common/System/Display.h"
#include "Common/System/System.h"
#include "DebugVisVulkan.h"
#include "Common/GPU/Vulkan/VulkanMemory.h"
@@ -100,7 +100,7 @@ void DrawAllocatorVis(UIContext *ui, GPUInterface *gpu) {
iter->Release();
}
void DrawProfilerVis(UIContext *ui, GPUInterface *gpu) {
void DrawGPUProfilerVis(UIContext *ui, GPUInterface *gpu) {
if (!gpu) {
return;
}