RADV Lands Fragment Shader Interlock Support - Useful For Emulators, DXVK & VKD3D

Written by Michael Larabel in Radeon on 26 June 2023 at 01:58 PM EDT. 11 Comments
Mesa's RADV Radeon Vulkan driver has merged support for VK_EXT_fragment_shader_interlock, which is a highly sought after extension by game emulators and also important for DirectX over Vulkan layering efforts and more.

At the start of April a fragment shader interlock merge request was opened for implementing this extension in the open-source Radeon driver code. After some refinements the past few months, as we hit the end of June the code was merged today for Mesa 23.2-devel.

The VK_EXT_fragment_shader_interlock extension is used by game emulators like the Nintendo Switch Ryujinx, Play! PlayStation 2 emulator, Vita3K PlayStation Vita emulator, and Xenia Xbox 360 emulator. The fragment shader interlock support is also relied upon by games like GRID 2, Just Cause 3, Super Mario Party, and others. This is also needed with VKD3D for advertising DirectX 12 Feature Level 12_1 support. DXVK can also make use of this extension as can the Zink OpenGL-on-Vulkan code.

Utilizing this extension can allow for avoiding overlapping pixels from being processed at the same time and also affords guarantees around the ordering of fragment shader invocations of fragments with overlapping pixels. AMD refers to the functionality in general as Primitive Ordered Pixel Shading (POPS). This functionality meanwhile has been a long-standing request for the AMDVLK official AMD Vulkan driver.

More details on this RADV Fragment Shader Interlock support via this merge request now part of Mesa 23.2. This work was carried out by developer "Triang3l" who in addition to working on Xbox 360 emulation has also been developing the "Terakan" Radeon HD 6000 series Vulkan driver albeit still in an extremely early stage of development.
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