Add Graphics::SpreadWorkload to disable graphics workloads amortization over several frames when debugging graphics perf

This commit is contained in:
Wojtek Figat
2024-06-19 14:03:55 +02:00
parent 0d48ac8fc2
commit 9c161121b3
6 changed files with 24 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ bool Graphics::AllowCSMBlending = false;
Quality Graphics::GlobalSDFQuality = Quality::High;
Quality Graphics::GIQuality = Quality::High;
PostProcessSettings Graphics::PostProcessSettings;
bool Graphics::SpreadWorkload = true;
#if GRAPHICS_API_NULL
extern GPUDevice* CreateGPUDeviceNull();