mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
Qt: Add FSR options to settings GUI (#3504)
* Qt: Add FSR settings to settings GUI * Move FSR settings from Imgui.ini to main config * move passing fsr settings to presenter constuctor * cleanup: use struct instead of function call * cleanup: make variable names consistent with others * Update fsr settings real-time in qt, save button in Imgui * Linux build fix, missing running game check * syntax fix * Change gamerunning checks to if (presenter)
This commit is contained in:
@@ -129,6 +129,10 @@ Presenter::Presenter(Frontend::WindowSDL& window_, AmdGpu::Liverpool* liverpool_
|
||||
free_queue.push(&frame);
|
||||
}
|
||||
|
||||
fsr_settings.enable = Config::getFsrEnabled();
|
||||
fsr_settings.use_rcas = Config::getRcasEnabled();
|
||||
fsr_settings.rcas_attenuation = static_cast<float>(Config::getRcasAttenuation() / 1000.f);
|
||||
|
||||
fsr_pass.Create(device, instance.GetAllocator(), num_images);
|
||||
pp_pass.Create(device, swapchain.GetSurfaceFormat().format);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user