It has been a busy summer which has resulted in "version 1.2" of the DirectXTex texture processing library. The focus of this release has been on improving Block Compression support. The biggest new feature is the integration of the DirectCompute 4.0 accelerated BC6H / BC7 texture compression codecs from the BC6HBC7EncoderCS sample. The latest texconv command-line tool will attempt to use the DirectCompute version when compressing for BC6H / BC7 when running on a system with a DirectCompute 4.0 capable hardware device (aka a Feature Level 10.0 or 10.1 video card with the optional DirectCompute feature or a Feature Level 11.x video card). This is a huge increase in performance compared to the original D3DX11 BC6H / BC7 software codecs.
For example, on my primary development system a 8K by 4K texture with mips took 25 minutes to compress using the multithreaded version of the D3DX11 BC6H / BC7 software codec across six hyper threaded CPU cores, which only took about 2.5 minutes using DirectCompute 4.0. I gave up on timing the single-threaded D3DX11 BC6H / BC7 software codec after an hour.
Note: 2.5 minutes is still a significant compress time for a single texture so future work here will focus on implementing a new faster algorithm using DirectCompute 5.0.
The latest release is available on CodePlex and GitHub. The documentation on Codeplex has also been updated.
August 13, 2013
August 1, 2013
July 1, 2013
Related: DirectXTex Update (June 2013), DirectXTex (October 2011)
In other news, the Effects 11 library now has a home on CodePlex and on GitHub. Be sure to read my original Effects for Direct3D 11 Update post for details on this library.
July 16, 2013 (11.07)
June 13, 2013 (11.06)
February 22, 2013 (11.05)
November 6, 2012 (11.04)