Live data from Hacker News

KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

lunarg.com

11–20 of 23 posts

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#11
post #9

People jumping through hoops with smart tricks, because Apple are too stuck up to support Vulkan natively.

Just wait when they hear about game consoles.

Apparently game devs have been doing just fine with middleware solution since the days of Atari.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#13

Are metal GPU's good? I've admit for purely ideological reasons i've never really looked into how powerful they are

Yes, it is the best next generation API, and the only one that fully supports C++ (C++14 with extensions) on the GPU.

It is also the only native 3D API designed for managed languages, in Objective-C with Swift bindings.

DirectX is the land of COM, C++, write your own bindings, HLSL isn't quite C++, although is getting there.

Vulkan is the second coming of extension spaghetti, GLSL is stagnant to the point everyone was using HLSL instead, now there is Slang, still outside C and C++, write your own bindings.

LibGNM and LibGMX are basically C and C++ land, and PSGL is an evolution from HLSL.

NVN is a mix of OpenGL and Vulkan, and equally C and C++ land.

Then there are all the MetalKits, that no OS vendor has similar offerings.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#14
post #11
post #9

People jumping through hoops with smart tricks, because Apple are too stuck up to support Vulkan natively.

Just wait when they hear about game consoles. Apparently game devs have been doing just fine with middleware solution since the days of Atari.

Apple doesn't care about gamers, so gamers shouldn't care about Apple.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#15
post #10
post #3

The announcement is pretty confusing since Mesa is used on Linux but Metal only exists on macOS/iOS. I guess this is only for Linux VMs running on macOS such as the Android emulator. Maybe it could also be used to run desktop Linux in a VM.

Mesa has taken a middleware role for quite some time now.

What macOS apps use Mesa?

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#16
post #3

The announcement is pretty confusing since Mesa is used on Linux but Metal only exists on macOS/iOS. I guess this is only for Linux VMs running on macOS such as the Android emulator. Maybe it could also be used to run desktop Linux in a VM.

Mesa can be used on other operating systems. See https://www.phoronix.com/news/Zink-Windows-Kopper-Progress for an example of using its OpenGL-to-Vulkan translator on Windows.

Not just that, we actually ship Zink with our Vulkan based game because for absolutely insane reasons many years ago the decision was made to expose a GL context to plugins for graphics work. The hardest part was to provide a couple of required extensions and massaging Zink to use our Vulkan device with our extensions and also stub out its memory allocator for ours. Oh, and making sure we get to get dibs on loading opengl32.dll/libgl.so that translates into Zink.

It weirdly sounds crazier than it is. Mike is an absolute legend for all of his work on Zink.

Edit: Clicked on your link and they are directly talking about work there. Serves me right for not reading it first.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#17
post #9

People jumping through hoops with smart tricks, because Apple are too stuck up to support Vulkan natively.

I would rather Apple actively maintains Metal than halfheartedly support Vulkan the way they supported OpenGL. If you have a relatively good graphics abstraction layer in your engine already, implementing a Metal backend isn't super hard, especially if you already support Vulkan or D3D12. Metal is a lot like diet Vulkan/D3D12, except for a couple of really odd decisions.

The hardest part about supporting Apple systems is honestly everything else and no amount of Vulkan drivers is going to help with that.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#18
post #17
post #9

People jumping through hoops with smart tricks, because Apple are too stuck up to support Vulkan natively.

I would rather Apple actively maintains Metal than halfheartedly support Vulkan the way they supported OpenGL. If you have a relatively good graphics abstraction layer in your engine already, implementing a Metal backend isn't super hard, especially if you already support Vulkan or D3D12. Metal is a lot like diet Vulkan/D3D12, except for a couple of really odd decisions. The hardest part about supporting Apple system…

Apple aren't some resource lacking entity. They can support Vulkan properly and there is no excuse not to.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#19
post #18
post #17

Earlier quoted context omitted.

I would rather Apple actively maintains Metal than halfheartedly support Vulkan the way they supported OpenGL. If you have a relatively good graphics abstraction layer in your engine already, implementing a Metal backend isn't super hard, especially if you already support Vulkan or D3D12. Metal is a lot like diet Vulkan/D3D12, except for a couple of really odd decisions. The hardest part about supporting Apple system…

Apple aren't some resource lacking entity. They can support Vulkan properly and there is no excuse not to.

Sure but in the meantime some of us have to actually keep shipping products and in that world I'd rather see Apple support their own thing that they are at least mildly interested in pushing forward.

Re: KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

#20
post #19
post #18

Earlier quoted context omitted.

Apple aren't some resource lacking entity. They can support Vulkan properly and there is no excuse not to.

Sure but in the meantime some of us have to actually keep shipping products and in that world I'd rather see Apple support their own thing that they are at least mildly interested in pushing forward.

In the end Apple doesn't care about what anyone but Apple needs. So who knows, they might kill Metal tomorrow because they'll think their new NIH will serve their lock-in needs better (especially after Vulkan on Metal will get better through this kind of efforts). Point is they are a very bad industry player damaging things for everyone.

They surely don't care about making things better for developers.

Post reply on HN