Breaking02 / IT
Microsoft adds Zstd support in DirectStorage 1.4
Microsoft has released DirectStorage 1.4 for Windows games, adding support for the open Zstd compression standard, the company said on its DirectX Developer Blog. The Game Asset Conditioning Library (GACL) 1.2, which helps developers compress textures, came out alongside it.
DirectStorage decompresses Zstd data as games load it, using the GPU where possible and falling back to the CPU. Developers can also choose to run decompression on the CPU. The release still supports the existing GDeflate compression format.
Windows game developers can get DirectStorage from NuGet and GACL from GitHub or vcpkg. Games ship the DirectStorage runtime libraries alongside the executable. The Korean edition of Microsoft Learn points developers to the DirectStorage API reference.
Microsoft says GACL’s lossless shuffle rearranges texture data and can make compressed textures up to 10% smaller than with Zstd alone. The company says BLER, a lossy technique that makes similar blocks identical, can reduce compressed size by up to 50% while maintaining a PSNR image-quality score of at least 40 dB.
GACL also includes CLER, an experimental feature that uses machine learning to assess perceived image quality and decide which texture information to reduce before a game ships. CLER currently supports the BC1 texture format. DirectStorage reverses the lossless shuffle as textures load during gameplay.
The full DirectStorage release also restores the original data order when games load shuffled BC7 textures, a feature Microsoft flagged for a later update in its March public preview. GACL’s GitHub release notes record the move of BC7 split mode from experimental to supported status.
Microsoft says some older Radeon RX 9000 series drivers crashed when DirectStorage prepared graphics processing code for GACL. AMD Software: Adrenalin Edition 26.11.2 and later fix the crash.
Developers can use the GpuDecompressionBenchmark sample to compare throughput and CPU usage across compression formats on their target PCs. Microsoft has not published a general savings figure for full-game downloads or installs. The company plans to improve its GPU code for Zstd decompression over the coming months.