AMD FidelityFX™ Variable Shading (VS) background

AMD FidelityFX™ Variable Shading (VS)

Easily integrate VRS

AMD FidelityFX™ Variable Shading (VS) provides an open source header implementation to easily integrate Variable Rate Shading into your game. The effect works by analyzing luminance variance in the previous frame and uses motion vectors to generate a shading rate image.

Supports: 

  • DirectX® 12 Ultimate
  • Vulkan®

Part of the AMD FidelityFX™ SDK

AMD FidelityFX SDK components

Download the latest version - v1.1.4

This release of the AMD FidelityFX™ SDK adds the following features:

  • Additions to the API and fixes for issues discovered.

Features

State-of-the-art algorithm

Optimized for Shader Model 6.0+

Open source, MIT license

Details

Features of the implementation: 

  • AMD RDNA™ 2 architecture-optimized algorithm.
  • Support for Direct3D® 12 API.
  • Shaders written in HLSL utilizing SM 6.0 wave-level operations.

A sample application is provided for Direct3D® 12.

Xbox developer?

An example use of AMD FidelityFX™ Variable Shading exists within the Xbox Game Development Kit samples.

xbox

Comparison

Final render
Debug visualization

Full Shading Rate

2×1 or 1×2 Shading Rate

2×2 Shading Rate

Requirements

  • DirectX® 12 Ultimate
  • Vulkan®

Footnotes and disclaimers

DIRT 5™ © 2020 The Codemasters Software Company Limited (“Codemasters”). All rights reserved. “Codemasters”®, “EGO”®, the Codemasters logo and “DIRT”® are registered trademarks owned by Codemasters. “DIRT 5”™ and “RaceNet”™ are trademarks of Codemasters. All rights reserved. All other copyrights or trademarks are the property of their respective owners and are being used under license. Developed and published by Codemasters. Disc version published and distributed 2020 by Deep Silver, a division of Koch Media GmbH, Austria. Deep Silver and its respective logos are trademarks of Koch Media GmbH.

Version history

  • The AMD FidelityFX™ SDK 1.1.4 is a patch release that includes additions to API and fixes for issues discovered with AMD FSR 3.1.0 to 3.1.3.

  • Exposed 4 new tunings to reduce AMD FSR upscaler ghosting in newly disoccludded pixels or highly reactive pixels.

  • Changed the default value of fMinDisocclusionAccumulation to -0.333 (from equivalent of 0.333 in AMD FSR 3.1.3) to reduce disocclusion ghosting.

  • Added ffxQueryGetProviderVersion to get version info from created ffx-api context.

  • Exposed ffxDispatchDescFrameGenerationPrepareCameraInfo as a linked struct. It is a required input to AMD FSR 3.1.4 and onwards for best quality.

  • Added frame generation debug checker support.

  • Dropped unused interpolation command lists if frame generation callback fails, to fix infinite wait at swapchain destruction.

  • General fixes to Vulkan® Frame Interpolation Swapchain.

  • General framework fixes and updates.

  • Frame pacing debug line added to Vulkan®.

  • Added new FFX error when create frame interpolation swapchain results in E_ACCESSDENIED in DX12 due to overlay or capture software.

  • Enabled support for frame interpolation swapchain on Windows® 10 1909 and potentially earlier versions.

  • Fixed flipped disocclusion factor from previous and current backbuffer.

  • Fixed HDR mode issues in Cauldron sample.

  • Fixed MSVC C compile errors including ffx-api.

  • The AMD FidelityFX™ SDK 1.1.4 also updates the following to address select issues:

  • AMD FidelityFX™ Brixelizer GI 1.0.1

  • AMD FidelityFX™ Breadcrumbs 1.0.1

Other AMD FidelityFX effects

Related news and technical articles

Related videos