update parallel rdp

This commit is contained in:
Logan McNaughton committed 2021-06-10 10:43:11 -06:00
1 parent 4b9aff6f67
commit 0b91e5e3fa
3 files changed
+7 -6

No files matched your search

+2 -3
View File
@@ -134,7 +134,7 @@ EXPORT m64p_error CALL PluginStartup(m64p_dynlib_handle _CoreLibHandle, void *Co
ConfigSetDefaultBool(configVideoParallel, KEY_SSDITHER, 1, "Enable superscaling of dithering when upsampling");
ConfigSetDefaultBool(configVideoParallel, KEY_SYNCHRONOUS, 1, "Enable synchronizing RDP and CPU");
//ConfigSetDefaultBool(configVideoParallel, KEY_DEINTERLACE, 1, "Deinterlacing method. Weave should only be used with 1x scaling factor. False=Bob, True=Weave");
ConfigSetDefaultBool(configVideoParallel, KEY_DEINTERLACE, 0, "Deinterlacing method. False=Bob, True=Weave");
ConfigSetDefaultInt(configVideoParallel, KEY_OVERSCANCROP, 0, "Amount of overscan pixels to crop");
ConfigSetDefaultBool(configVideoParallel, KEY_AA, 1, "VI anti-aliasing, smooths polygon edges.");
ConfigSetDefaultBool(configVideoParallel, KEY_DIVOT, 1, "Allow VI divot filter, cleans up stray black pixels.");
@@ -234,8 +234,7 @@ EXPORT int CALL RomOpen(void)
vk_dither_filter = ConfigGetParamBool(configVideoParallel, KEY_VIDITHER);
vk_native_texture_lod = ConfigGetParamBool(configVideoParallel, KEY_NATIVETEXTLOD);
vk_native_tex_rect = ConfigGetParamBool(configVideoParallel, KEY_NATIVETEXTRECT);
//vk_interlacing = ConfigGetParamBool(configVideoParallel, KEY_DEINTERLACE);
vk_interlacing = 1;
vk_interlacing = ConfigGetParamBool(configVideoParallel, KEY_DEINTERLACE);
vk_downscaling_steps = ConfigGetParamInt(configVideoParallel, KEY_DOWNSCALE);
vk_overscan = ConfigGetParamInt(configVideoParallel, KEY_OVERSCANCROP);
+1 -1
View File
@@ -175,7 +175,7 @@ void screen_write(struct frame_buffer *fb)
offset += toggle_buffer * buffer_size;
bool serrate = (*GET_GFX_INFO(VI_STATUS_REG) & VI_CONTROL_SERRATE_BIT);
if (serrate && vk_interlacing && (current_program != program_bob))
if (serrate && !vk_interlacing && (current_program != program_bob))
{
glUseProgram(program_bob);
current_program = program_bob;
+4 -2
View File
@@ -48,8 +48,10 @@ void vk_blit(unsigned &width, unsigned &height)
opts.vi.dither_filter = vk_dither_filter;
opts.vi.divot_filter = vk_divot_filter;
opts.vi.gamma_dither = vk_gamma_dither;
opts.blend_previous_frame = vk_interlacing;
opts.upscale_deinterlacing = !vk_interlacing;
//opts.blend_previous_frame = vk_interlacing;
//opts.upscale_deinterlacing = !vk_interlacing;
opts.blend_previous_frame = 1;
opts.upscale_deinterlacing = 0;
opts.downscale_steps = vk_downscaling_steps;
opts.crop_overscan_pixels = vk_overscan;