Add RenderingUpscaleLocation for customizing upscaler location in render pipeline

This commit is contained in:
Wojciech Figat
2022-12-13 11:51:31 +01:00
parent ee019510ca
commit c17477abff
6 changed files with 91 additions and 23 deletions

View File

@@ -205,11 +205,6 @@ GPUTexture* ColorGradingPass::RenderLUT(RenderContext& renderContext)
context->SetRenderTarget(lut->View());
context->DrawFullscreenTriangle();
}
// TODO: this could run in async during scene rendering or sth
const Viewport viewport = renderContext.Task->GetViewport();
context->SetViewportAndScissors(viewport);
context->UnBindSR(0);
return lut;