mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
rsx: Res scaling improvements
- gl: Reintroduce the wcb hw downscaling - rsx: Clamp scalable render target size with a config var
This commit is contained in:
parent
3fe37ede97
commit
fc0f98b5db
4 changed files with 47 additions and 11 deletions
|
@ -809,7 +809,7 @@ namespace rsx
|
|||
|
||||
const auto window_origin = rsx::method_registers.shader_window_origin();
|
||||
const u32 window_height = rsx::method_registers.shader_window_height();
|
||||
const f32 resolution_scale = rsx::get_resolution_scale();
|
||||
const f32 resolution_scale = (window_height <= g_cfg.video.min_scalable_dimension)? 1.f : rsx::get_resolution_scale();
|
||||
const f32 wpos_scale = (window_origin == rsx::window_origin::top) ? (1.f / resolution_scale) : (-1.f / resolution_scale);
|
||||
const f32 wpos_bias = (window_origin == rsx::window_origin::top) ? 0.f : window_height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue