Thursday, August 21st 2025

Microsoft's Advanced Shader Delivery Slashes First-Run Load Times by Up to 85%

Microsoft has announced Advanced Shader Delivery, a cloud-based system meant to dramatically cut first-time game load times by moving shader compilation off the player device. The feature will debut on the ROG Xbox Ally and ROG Xbox Ally X and will be distributed through the Xbox PC app. In testing with Obsidian Entertainment's Avowed, Microsoft says launch times dropped by as much as 85%, and devices spent less battery and CPU time compiling shaders. The company packages shader data into a State Object Database, or SODB, then uses cloud-based compilation to turn that data into a Precompiled Shader Database, or PSDB, which can be shipped alongside the game so a title finds ready-to-use shaders on first run.

Under the new workflow, the Xbox PC app detects a user's hardware and driver configuration and downloads the matching PSDB so the game can skip the lengthy compile step. If a system is unusual or running beta drivers, the device can still compile shaders locally. Microsoft will also refresh cached shader packages when drivers update. An AgilitySDK arriving in September will give developers and storefronts tools and APIs to adopt the format more widely. For now, the initial rollout requires no additional work from studios, and Microsoft plans to expand device and game support as the feature matures.
Source: Microsoft
Add your own comment

60 Comments on Microsoft's Advanced Shader Delivery Slashes First-Run Load Times by Up to 85%

#51
chrcoluk
ImoutoSteam's shader pre-caching downloads the Vulkan/OpenGL shaders for individual games if there's a system with the same hardware/software configuration as yours. If there isn't one then compiles them when the PC is not playing games and uploads them to Steam's database.

And it doesn't work only for fixed hardware. Dunno where the fuck that came from when the system has been working perfectly fine for even longer than the Steam Deck has existed.
It came from the reports that, when something slightly changes, games that pre compile shaders will do it again. Such as e.g. a driver update. I wasnt talking about steam's pre caching.

I am guessing this feature, requires steam client to be left running idle for a while, I might do that today, as it shows 0 bytes usage, s it hasnt downloaded anything on my system yet. Looks like its limited to Vulkan/Opengl though. They should probably add a download now button for it.
Posted on Reply
#52
Chrispy_
ImoutoAnd it doesn't work only for fixed hardware. Dunno where the fuck that came from when the system has been working perfectly fine for even longer than the Steam Deck has existed.
It first appeared in fixed hardware like consoles and the steam deck where the vendor has tight control of the OS, configuration, and hardware. That makes it very easy for them to precompile and host the relevant shader cache along with the game download.

If these precompiled shader caches make it to Gamepass on Windows then it means Microsoft will start compiling for common GPUs, probably on the latest WHQL driver and host those too. I'm not expecting them to keep or care about shader cache for obscure GPUs on old drivers.
Posted on Reply
#53
Easo
I hate how every news post related to Microsoft no matter how positive or negative turns the comment zone into monkey zoo.
It's like an obsession.
Posted on Reply
#54
Rightness_1
Wow what a breakthrough... who could have come up with the idea of pre-compiled shader caches that should already be included with the game installation... wow such breakthrough...
Posted on Reply
#55
Squared
Vya DomusThere is no standard ISA for GPUs like it is for CPUs, you can't have one set of binaries which run on everything, GPUs change their ISAs often so everything has to be compiled for the first time before you can run it on a GPU.
I've never understood the lack of a standard ISA for GPUs.
Posted on Reply
#56
Chomiq
EvrsrSteam Deck no, Steam. Steam has a shared pre-compiled database for all hardware. If you run Linux on your PC, it will check if there are pre-compiled shaders for your card and driver.
Based on the description it only works for Vulkan and OpenGL titles.
Posted on Reply
#57
RogueSix
I'd rather wait a little longer for shader compilation (hasn't really ever been an annoyance so far) than install that Xbox garbage on my PC. Nice try forcing more of your spyware/crapware on me though, M$. Try again.
Posted on Reply
#58
Vya Domus
SquaredI've never understood the lack of a standard ISA for GPUs.
GPU vendors wont cooperate, with CPUs it was a fortunate situation because AMD had access to x86 from the beginning. I can see AMD or even Intel agreeing upon an ISA but Nvidia would never do it.
Posted on Reply
#59
efikkan
ShihabThis is true for all programs (and all kinds of problems, really), but “tiny” is relative.
Printing “hello world” can be done with a handful of instructions. Printing the Huffman tree representation of the same sentence requires much more.

I guess it may be possible to create mega shaders, but I think would be detrimental to performance. A variable, even if it receives dummy input when you don’t need it in a specific instance, still takes up memory and cycles.
Pre-compiling a shader happens once, executing it happens thousands/millions/trillions of times.

And let’s not forget that rendering has gotten way more complex than it was, and now we’re even doing gpgpu. Decades ago you could make a game with a handful of shader variations, today you get tons of permutations just from toggling a single option in your editor’s settings (something that is known to blow up shader count, apparently by design).
Less bloated code is always good, but that's not what I'm talking about here.
(GP)GPUs are very good at math, but rather inefficient with heavy logic compared to CPUs, so a shader program should be as simple as possible, just a dense algorithm or two. A shader program can be just a handful lines of code, and if it happens to be hundreds of lines or more, then it's probably going to perform very badly.

This is at least the case for the most common shader types; vertex and fragment(pixel) shaders, the latter of which is executed for every sample for every pixel in a single frame, so typically millions of times per frame.

But I have a suspicion that many of these shaders are just exported by designers, not hand-written by expert coders. This may be okay for prototyping, but we should expect big development studios to do solid work. If they did, the first-time compilation of shaders should only take a few seconds or less. Composing an overengineered solution as a workaround for shoddy work is the wrong approach to this "problem". The real solution is to write shaders the way they are meant to work.
Vya DomusGPU vendors wont cooperate, with CPUs it was a fortunate situation because AMD had access to x86 from the beginning. I can see AMD or even Intel agreeing upon an ISA but Nvidia would never do it.
x86 CPUs share a common ISA, but translate it into micro-operations which are specific for each architecture, so this isn't that different from what GPUs does. The key difference is that the CPUs translate this in real time in hardware, while the GPUs needs the driver to compile the IR or source before execution.
Posted on Reply
#60
Evrsr
ChomiqBased on the description it only works for Vulkan and OpenGL titles.
SteamOS runs DX over Vulkan, so I think it also applies. They do not document this feature as of yet.
Posted on Reply
Add your own comment
Nov 15th, 2026 20:15 CST change timezone

New Forum Posts

Popular Reviews

TPU on YouTube

Controversial News Posts