Microsoft is working to eliminate PC gaming's "compiling shaders" wait times

Advanced Shader Delivery uses precompiled shaders for "console-like load times" across PC hardware.

Microsoft is working to eliminate PC gaming's "compiling shaders" wait times
Microsoft is working to eliminate PC gaming's "compiling shaders" wait times Photo: Ars Technica

Modern gamers are used to loading up a new game for the first time and being forced to wait multiple minutes while a "compiling shaders" step whirs away, optimizing advanced 3D effects for their specific hardware.

This week at the Game Developers Conference, Microsoft provided some updates about its Advanced Shader Delivery for Windows efforts, which are designed to fix the problem by generating collections of precompiled shaders that can be downloaded ahead of time.

In a console environment, developers can optimize and precompile their graphics shaders to work well with a set driver and GPU environment.

On PC, though, developers tend to leave their shaders as uncompiled code that can then be compiled and cached at runtime based on the specific hardware and drivers on the player's machine.

Microsoft's Advanced Shader Delivery infrastructure aims to fix this problem by automating the process of precompiling shaders that work across "a large matrix of drivers and GPUs in the Windows ecosystem," as the company puts it.

To enable that, developers use Microsoft's Direct3D API to create a State Object Database (SODB) that represents in-game assets at the game engine level.

That asset database is then fed into multiple shader compilers to create a Precompiled Shader Database (PSDB) that supports multiple display adapters from different hardware vendors.

Read full article
Comments

Source: This article was originally published by Ars Technica

Read Full Original Article →

Share this article

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment

Maximum 2000 characters