update parallel rdp

This commit is contained in:
Logan McNaughton committed 2022-02-08 15:56:25 -07:00
1 parent 6563c937ab
commit 5a19e18a28
3 files changed
+14 -4

No files matched your search

+6
View File
@@ -22,6 +22,7 @@ bool vk_ssdither;
bool running = false;
unsigned width, height;
unsigned vk_overscan;
unsigned vk_pal_fix;
unsigned vk_downscaling_steps;
bool vk_native_texture_lod;
bool vk_native_tex_rect;
@@ -53,6 +54,11 @@ void vk_blit(unsigned &width, unsigned &height)
opts.upscale_deinterlacing = !vk_interlacing;
opts.downscale_steps = vk_downscaling_steps;
opts.crop_overscan_pixels = vk_overscan;
if (vk_pal_fix) {
opts.crop_rect.top = vk_pal_fix;
opts.crop_rect.bottom = vk_pal_fix;
opts.crop_rect.enable = true;
}
RDP::VIScanoutBuffer scanout;
frontend->scanout_async_buffer(scanout, opts);