---
title: ExecuteFSRUpscale2(CommandBuffer, FSR2Context, in FSR2TextureTable)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/executefsrupscale2
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/executefsrupscale2.md
last_updated: 2026-10-07
generated_at: 2026-11-11T06:19:28.572Z
locale: en-us
---

# ExecuteFSRUpscale2(CommandBuffer, FSR2Context, in FSR2TextureTable)

> Records the execution of the FSR2 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/7000.0/script-reference/unityengine/amd.md)
* **Assembly:** UnityEngine.AMDModule

## ExecuteFSRUpscale2(CommandBuffer, FSR2Context, FSR2TextureTable)

```csharp
public void ExecuteFSRUpscale2(CommandBuffer cmd, FSR2Context fsr2Context, in FSR2TextureTable textures)
```

### Parameters

**** (\[CommandBuffer]\(/engine/7000.0/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.**** (\[FSR2Context]\(/engine/7000.0/script-reference/unityengine/amd/fsr2context)): The source feature context to execute. You must set the parameters for this command in the [FSR2Context](/engine/7000.0/script-reference/unityengine/amd/fsr2context.md) object prior to this call.**** (\[FSR2TextureTable]\(/engine/7000.0/script-reference/unityengine/amd/fsr2texturetable)): The collection of textures represented by [FSR2TextureTable](/engine/7000.0/script-reference/unityengine/amd/fsr2texturetable.md), where inputs/outputs are specified for the FSR2 pass to execute.
