Written by Michael Larabel in Radeon on 13 May 2018 at 08:12 AM EDT. 5 Comments
The RADV Vulkan driver within Mesa has landed its VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT support so applications/games can opt to disable optimizations when compiling a Vulkan pipeline. This is notably what was just covered the other day for helping to reduce stuttering with DXVK.

When VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT is set, NIR linking optimizations are not utilized. In doing so it sped up the compilation time of some Unity demos by about 10% as a reference test done by Timothy Arceri at Valve. This is what is being used by a DXVK branch to speed up the compilation time while asynchronously triggering off an optimized build in the background and then transparently switching over to the optimized build when ready, thereby hoping to eliminate stuttering for waiting on the initial compilation. So far I haven't seen any other Vulkan applications/games request support for this bit.

This bit landed in Mesa Git for next quarter's Mesa 18.2 release.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week