Just in case added output check to UpscaleEnd

This commit is contained in:
cdozdil committed 2026-09-17 17:00:01 +03:00
1 parent 8e2e944117
commit f08115a50e
1 file changed
+3
@@ -266,6 +266,9 @@ void UpscalerInputsDx12::UpscaleEnd(ID3D12GraphicsCommandList* InCmdList, NVSDK_
if (InParameters->Get(NVSDK_NGX_Parameter_Output, &output) != NVSDK_NGX_Result_Success)
InParameters->Get(NVSDK_NGX_Parameter_Output, (void**) &output);
if (output == nullptr)
return;
ResourceInfo info {};
auto desc = output->GetDesc();
info.buffer = output;