|
|
@ -118,8 +118,7 @@ namespace UnityEngine.Rendering.PostProcessing |
|
|
_prevQualityMode = qualityMode; |
|
|
_prevQualityMode = qualityMode; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// TODO: these input resources should come from context.source
|
|
|
|
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputColor, BuiltinRenderTextureType.CameraTarget, RenderTextureSubElement.Color); |
|
|
|
|
|
|
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputColor, context.source); |
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputDepth, BuiltinRenderTextureType.CameraTarget, RenderTextureSubElement.Depth); |
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputDepth, BuiltinRenderTextureType.CameraTarget, RenderTextureSubElement.Depth); |
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputMotionVectors, BuiltinRenderTextureType.MotionVectors); |
|
|
cmd.SetGlobalTexture(Fsr2ShaderIDs.SrvInputMotionVectors, BuiltinRenderTextureType.MotionVectors); |
|
|
|
|
|
|
|
|
|