News: 0001487695

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

RadeonSI Gallium3D Driver Adds GL_KHR_shader_subgroup Support

([Radeon] 6 Hours Ago GL_KHR_shader_subgroup)


It's not too often these days seeing new OpenGL extensions come to Mesa drivers given their already robust coverage and not many new OpenGL extensions being introduced compared to the still-expanding Vulkan APIs. Overnight though RadeonSI Gallium3D saw GL_KHR_shader_subgroup support land.

GL_KHR_shader_subgroup has been around for several years but yet to see support by any of the Mesa drivers until now. This extension allows for shader subgroup shading language extensions in OpenGL and OpenGL ES. This extension adds APIs to allow querying the size of subgroups, indicate what shader stages support subgroup operations, subgroup features that ae supported, and related functionality. More details via the [1]Khronos Registry .

Two years ago it was [2]asked for Mesa drivers to support the KHR_shader_subgroup extension since the NVIDIA driver does and is needed for running a compute rasterizer demo. One month ago another user noted this extension would help them in their efforts.

AMD engineer Qiang Yu has now [3]implemented the GL_KHR_shader_subgroup support and is passing the relevant OpenGL conformance test suite cases.

Now that the core Mesa changes for this extension have been added it likely won't be long before seeing other Mesa drivers support this extension. This newly-merged code will be part of the Mesa 24.3 release due out in mid-Q4.



[1] https://registry.khronos.org/OpenGL/extensions/KHR/KHR_shader_subgroup.txt

[2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/6545

[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30610



ahrs

smitty3268

Where, oh, where, are you tonight?
Why did you leave me here all alone?
I searched the world over, and I thought I'd found true love.
You met another, and *PPHHHLLLBBBBTTT*, you wuz gone.

Gloom, despair and agony on me.
Deep dark depression, excessive misery.
If it weren't for bad luck, I'd have no luck at all.
Oh, gloom, despair and agony on me.
-- Hee Haw