Microsoft Game Dev Blog

Twitter icon

Variable Rate Compute Shaders on Xbox Series X|S


Today we are pleased to present a talk from Martin Fuller, Principal Graphics Engineer at Microsoft's Advanced Technology Group.

The talk is on Variable Rate Compute Shaders (VRCS) with a focus on Xbox Series consoles. A basic understanding of Variable Rate Shading is assumed. We provide details of an early variable rate compute shader implementation that shipped with Gears5. We then present a new algorithm than can halve deferred lighting time by exploiting the duplication of g-buffer values, and with only a very small overhead, particularly on Xbox Series consoles. We compute whether to light 1,2,3 or 4 pixels per 2x2 pixel block for the required quality level per screen tile, and perfectly respecting triangle coverage. This same technique is applicable to any deferred or post process pass, including: SSAO, SSGI, SSR, fog, clouds, atmospheric scattering & etc.. Perhaps most significantly, VRCS can be used to reduce the number of rays required to ray trace various graphical effects with minimal or zero perceptible quality loss.

View this talk here on YouTube.

Registered Xbox developers can download the accompany sample code. This sample achieves a ~50% reduction in the time taken for ray marched shadows and atmospheric scattering in a deferred lighting pass.


To stay up to date with all things game development from Microsoft, check out the official Microsoft Game Development Blog

From the Microsoft Game Dev blog

Several blocky characters stand outside a school entrance in Minecraft

Creating for everyone: How to make more accessible games

Article // May 9, 2022

Sarah Bond shares at the Microsoft Ability Summit why accessibility in gaming is so critical

Forza Horizon 5 crosses the finish line, fueled by AKS

Article // May 2, 2022

FH5 relies on autoscaling Azure Kubernetes Service (AKS) clusters to meet the most challenging performance demands.


Lana Lux: Twitch Live-Coder and Creator of Strain

Article // Apr 29, 2022

Meet Lana Lux, a game developer, designer, Twitch streamer and invested in an accessible, supportive community