# ExecuteFSRUpscale4(CommandBuffer, FSRUpscalerContext, in FSR2TextureTable)

> Records the execution of the FSR4 pass into a rendering command buffer. This call does not execute the command buffer, it only appends custom commands into it.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AMD](/engine/6000.7/script-reference/unityengine/amd.md)
* **Assembly:** UnityEngine.AMDModule

## ExecuteFSRUpscale4(CommandBuffer, FSRUpscalerContext, FSR2TextureTable)

```csharp
public void ExecuteFSRUpscale4(CommandBuffer cmd, FSRUpscalerContext fsr4Context, in FSR2TextureTable textures)
```

### Parameters

**** (\[CommandBuffer]\(/engine/6000.7/script-reference/unityengine/rendering/commandbuffer)): The rendering command buffer to record commands into. This call does not execute the command buffer. You must execute the command buffer yourself at any time after this call.**** (\[FSRUpscalerContext]\(/engine/6000.7/script-reference/unityengine/amd/fsrupscalercontext)): The source feature context to execute. You must set the parameters for this command in the [FSRUpscalerContext](/engine/6000.7/script-reference/unityengine/amd/fsrupscalercontext.md) object prior to this call.**** (\[FSR2TextureTable]\(/engine/6000.7/script-reference/unityengine/amd/fsr2texturetable)): The collection of textures represented by [FSR2TextureTable](/engine/6000.7/script-reference/unityengine/amd/fsr2texturetable.md), where inputs/outputs are specified for the FSR4 pass to execute (FSR2 and FSR4 share the same texture input table).
