News for hackers. Stuff that matters.
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by ecshafer on Friday October 10, 2025 @11:09AM (#45539928)
I only play with this stuff as a hobbiest. But OpenGL is way more simple than Vulkan I think. Vulkan is really really complicated to get some basic stuff going.
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by marmarama on Friday October 10, 2025 @11:38AM (#45540180)
Which is as-designed. Vulkan (and DX12, and Metal) is a much more low-level API, precisely because that's what professional 3D engine developers asked for.

Closer to the hardware, more control, fewer workarounds because the driver is doing something "clever" hidden behind the scenes. The tradeoff is greater complexity.

Mere mortals are supposed to use a game engine, or a scene graph library (e.g. VulkanSceneGraph), or stick with OpenGL for now.

The long-term future for OpenGL is to be implemented on top of Vulkan (specifically the Mesa Zink driver that the blog post author is the main developer of).

Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by flohofwoe on Friday October 10, 2025 @11:48AM (#45540311)
> fewer workarounds because the driver is doing something "clever" hidden behind the scenes.

I would be very surprised if current Vulkan drivers are any different in this regard, and if yes then probably only because Vulkan isn't as popular as D3D for PC games.

Vulkan is in a weird place that it promised a low-level explicit API close to the hardware, but then still doesn't really match any concrete GPU architecture and it still needs to abstract over very different GPU architectures.

At the very least there should have been different APIs for desktop and mobile GPUs (not that the GL vs GLES split was great, but at least that way the requirements for mobile GPUs don't hold back the desktop API).

And then there's the issue that also ruined OpenGL: the vendor extension mess.

Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by m-schuetz on Friday October 10, 2025 @12:05PM (#45540499)
> Closer to the hardware

To what hardware? Ancient desktop GPUs vs modern desktop GPUs? Ancient smartphones? Modern smartphones? Vulkan is an abstraction of a huge set of diverging hardware architectures.

And a pretty bad one, on my opinion. If you need to make an abstraction due to fundamentally different hardware, then at least make an abstraction that isn't terribly overengineered for little to no gain.

Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by fingerlocks on Friday October 10, 2025 @10:51PM (#45546179)
100%. Metal is actually self-described as a high level graphics library for this very reason. I’ve never actually used it on non-Apple hardware, but the abstractions for vendor support is there. And they are definitely abstract. There is no real getting-your-hands-dirty exposure of the underlying hardware
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by dagmx on Saturday October 11, 2025 @01:17PM (#45550864)
Metal does have to support AMD and Intel GPUs for another year after all, and had to support NVIDIA for a hot minute too.
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by fingerlocks on Sunday October 12, 2025 @06:51AM (#45557178)
Wow, what a brain fart. So much of metal has improved since M-series, I just forgot it was even the same framework entirely. Even the stack is different now that we have metal cpp and swift++ interop with unified memory access.
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by MountainTheme12 on Saturday October 11, 2025 @12:15AM (#45546517)
Closer to AMD and mobile hardware. We got abominations like monolithic pipelines and layout transition thanks to the first, and render passes thanks to the latter. Luckily all of these are out or on their way out.
Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by pjmlp on Saturday October 11, 2025 @05:35AM (#45547787)
Not really, other than on desktops, because as we all know mobile hardware gets the drivers it gets on release date, and that's it.

Hence why on Android, even with Google nowadays enforcing Vulkan, if you want to deal with a less painful experience in driver bugs, better stick with OpenGL ES, outside Pixel and Samsung phones.

Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by MountainTheme12 on Saturday October 11, 2025 @08:39AM (#45548707)
Trying to fit both mobile and desktop in the same API was just a mistake. Even applications that target both desktop and mobile end up having significantly different render paths despite using the same API.

I fully expect it to be split into Vulkan ES sooner or later.

Re:OpenGL is getting mesh shaders as well, via GL_EXT_mesh_s... by genpfault on Friday October 10, 2025 @11:47AM (#45540296)
> specifically the Mesa Zink driver

https://docs.mesa3d.org/drivers/zink.html