Browse Source

fuckyou

lizzie/sgsr
lizzie 2 weeks ago
parent
commit
3d3b8de4cc
  1. 8
      src/video_core/renderer_vulkan/present/sgsr.cpp

8
src/video_core/renderer_vulkan/present/sgsr.cpp

@ -100,10 +100,10 @@ VkImageView SGSR::Draw(Scheduler& scheduler, size_t image_index, VkImage source_
const f32 input_image_width = f32(input_image_extent.width);
const f32 input_image_height = f32(input_image_extent.height);
const f32 output_image_width = f32(extent.width);
const f32 output_image_height = f32(extent.height);
const f32 viewport_x = crop_rect.left * input_image_width;
const f32 viewport_y = crop_rect.top * input_image_height;
//const f32 output_image_width = f32(extent.width);
//const f32 output_image_height = f32(extent.height);
//const f32 viewport_x = crop_rect.left * input_image_width;
//const f32 viewport_y = crop_rect.top * input_image_height;
const f32 viewport_width = (crop_rect.right - crop_rect.left) * input_image_width;
const f32 viewport_height = (crop_rect.bottom - crop_rect.top) * input_image_height;

Loading…
Cancel
Save