RADV Driver Enables Device Generated Commands Task Shader Support
([Radeon] 5 Hours Ago
DGC Task Shader)
- Reference: 0001475362
- News link: https://www.phoronix.com/news/RADV-NV-DGC-Task-Shader
- Source link:
The RADV Radeon Vulkan driver in Mesa 24.2-devel has received support for task shaders with the NVIDIA Device Generated Commands "DGC" extension.
Over the past two years RADV has been working on [1]support for NVIDIA's Device Generated Commands extension as a means of allowing the GPU to generate some of the most frequent rendering commands on the hardware itself. Over time this has also included [2]DGC compute extension support and other additions. Now as of last week the DGC task shader support is also enabled for RADV.
Samuel Pitoiset of Valve's Linux graphics driver team has landed a set of fixes around the DGC task shader support and then went ahead and enabled it. Pitoiset explained in the [3]merge request :
"This contains cleanups for DGC offset computations, rework of push constants for task shaders and various fixes.
VKD3D_TEST_FILTER=test_amplification_shader_execute_indirect now pass on GFX10.3."
In [4]the patch enabling the DGC task shader support, Samuel notes that there are no games using task shaders with DGC at the moment, but presumably with time that is expected to change.
[5]Mesa 24.2 stable should be out in August with many great open-source OpenGL/Vulkan driver improvements.
[1] https://www.phoronix.com/news/RADV-Vulkan-DGC
[2] https://www.phoronix.com/news/RADV-NV-DGC-Compute-Proton
[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29935?commit_id=88864b707a8ad3a894521f199973cf34216898ad
[4] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29935/diffs?commit_id=88864b707a8ad3a894521f199973cf34216898ad
[5] https://www.phoronix.com/search/Mesa+24.2
Over the past two years RADV has been working on [1]support for NVIDIA's Device Generated Commands extension as a means of allowing the GPU to generate some of the most frequent rendering commands on the hardware itself. Over time this has also included [2]DGC compute extension support and other additions. Now as of last week the DGC task shader support is also enabled for RADV.
Samuel Pitoiset of Valve's Linux graphics driver team has landed a set of fixes around the DGC task shader support and then went ahead and enabled it. Pitoiset explained in the [3]merge request :
"This contains cleanups for DGC offset computations, rework of push constants for task shaders and various fixes.
VKD3D_TEST_FILTER=test_amplification_shader_execute_indirect now pass on GFX10.3."
In [4]the patch enabling the DGC task shader support, Samuel notes that there are no games using task shaders with DGC at the moment, but presumably with time that is expected to change.
[5]Mesa 24.2 stable should be out in August with many great open-source OpenGL/Vulkan driver improvements.
[1] https://www.phoronix.com/news/RADV-Vulkan-DGC
[2] https://www.phoronix.com/news/RADV-NV-DGC-Compute-Proton
[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29935?commit_id=88864b707a8ad3a894521f199973cf34216898ad
[4] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29935/diffs?commit_id=88864b707a8ad3a894521f199973cf34216898ad
[5] https://www.phoronix.com/search/Mesa+24.2
phoronix