|
|
@ -626,6 +626,11 @@ namespace UnityEngine.Rendering.PostProcessing |
|
|
superResolution.ConfigureCameraViewport(context); |
|
|
superResolution.ConfigureCameraViewport(context); |
|
|
context.SetRenderSize(superResolution.renderSize); |
|
|
context.SetRenderSize(superResolution.renderSize); |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
// Ensure all of FSR2's resources are released when it's not in use
|
|
|
|
|
|
superResolution.Release(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
context.command = m_LegacyCmdBufferOpaque; |
|
|
context.command = m_LegacyCmdBufferOpaque; |
|
|
TextureLerper.instance.BeginFrame(context); |
|
|
TextureLerper.instance.BeginFrame(context); |
|
|
|