by mhd · 5y ago · 0 comments
And if that fallback isn't fast/easy/ubiquitous enough, a widget library using this, might have a different/legacy renderer altogether, with all the chaos this entails.
My current target is a GPU that can do compute shaders, and also has descriptor indexing. That includes DX12, Metal 2.0, and most desktop Vulkan. It leaves out DX11 and OpenGL. Mobile is complicated; I don't expect it to work on most legacy Android devices.
The need for descriptor indexing can be worked around, which I think in practice brings Android with Vulkan back in the fold, and it's possible DX11.
It's more a function of API and driver than actual hardware, except for very old and low-spec stuff. I suspect that Raspberry Pi up to 3 is off the table without massive work, but that Vulkan drivers on the 4 will catch up. (I have a Raspberri Pi 4 and intend to use it as a compatibility target, along with a Pine64)
I hope that clarifies the situation. GPU compute was not mainstream at all (aside from CUDA, which has been around a while) and until quite recently, targeting it would seriously limit an app. I do think that's changing, even on inexpensive hardware.
Take those legacy Android devices you mentioned. If CPU rendering, or more limited use of the GPU, was good enough for those devices when they shipped, why isn't it good enough now? Do we really need to keep increasing resolution, frame rate, color depth, or whatever, at the cost of leaving behind people stuck on older hardware and adding to e-waste?
Seriously? That very same argument could be made for anything that increases computing power, all the way back to pipelined ALUs.