|
|
|
@ -117,10 +117,10 @@ void Layer::ConfigureDraw(PresentPushConstants* out_push_constants, |
|
|
|
.height = scaled_height, |
|
|
|
}; |
|
|
|
|
|
|
|
if (auto* fsr = std::get_if(&sr_filter)) { |
|
|
|
if (auto* fsr = std::get_if<FSR>(&sr_filter)) { |
|
|
|
source_image_view = fsr->Draw(scheduler, image_index, source_image, source_image_view, render_extent, crop_rect); |
|
|
|
crop_rect = {0, 0, 1, 1}; |
|
|
|
} else if (auto* sgsr = std::get_if(&sr_filter)) { |
|
|
|
} else if (auto* sgsr = std::get_if<SGSR>(&sr_filter)) { |
|
|
|
source_image_view = sgsr->Draw(scheduler, image_index, source_image, source_image_view, render_extent, crop_rect); |
|
|
|
crop_rect = {0, 0, 1, 1}; |
|
|
|
} |
|
|
|
|