3 ms·
You can simplify the design and reduce bloat if you don't need to address multiple APIs as backend.
by shmerl 10y ago
You can simplify the design and reduce bloat if you don't need to address multiple APIs as backend.
- corysama 10y agoTo play devil's advocate: Isn't a big focus of web tech the goal of supporting multiple backends for everything? If a new platform wants to support WebGPU but not Vulkan (ex: XBone or PS4) it should be not just theoretically possible, but actively supported by the design of the Web spec.
- shmerl 10y agoCould be, but PS and Xbox don't support Vulkan for the same bad reasons (lock-in), so messing up the spec because of that doesn't sound convincing.
- ioquatix 10y agoGood point. But, that's assuming that it's not possible to write a wrapper on top of DX (for Xbone) that proves a Vulkan API. It's already been shown to be possible to do something similar, with MoltenVK. The ball would be in Microsoft's court for this one.
- corysama 10y ago"it should be not just theoretically possible, but actively supported by the design of the Web spec."
- douche 10y ago> But, that's assuming that it's not possible to write a wrapper on top of DX (for Xbone) that proves a Vulkan API. Is this not how Vulkan on Windows works? Given how many OpenGL drivers were just shims over DirectX in the past, I wouldnt be surprised if the same course was charted there.
- shmerl 10y agoNo, it's pointless to do that. Why all the extra overhead? Vulkan talks directly to the hardware driver.