This commit is contained in:
lizzie
2026-01-24 11:02:16 +00:00
committed by Caio Oliveira
parent efacba7357
commit 2b7375ae43

View File

@@ -100,10 +100,6 @@ 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 viewport_width = (crop_rect.right - crop_rect.left) * input_image_width;
const f32 viewport_height = (crop_rect.bottom - crop_rect.top) * input_image_height;