6 ms·
> If Apple want to help, let them base WebGPU on Vulcan. Literally the whole point of the WG is to design a low level GPU api specifically for the web with sec
by stephenr 10y ago
> If Apple want to help, let them base WebGPU on Vulcan.
Literally the whole point of the WG is to design a low level GPU api specifically for the web with security etc in mind (i.e. not just "give javascript direct access to the GPU" like Google's WebUSB and WebBluetooth proposals) that can be backed by whatever GPU library is on the platform: for Window's that's DirectX (do you really want a web app to tell you that you need to update your GPU drivers to get support for Vulkan?), on (mac|tv|i|watchOS) that's Metal, on Linux its.. um.. Vulkan I guess or perhaps OpenGL or who knows what else people decide to install?
- shmerl 10y ago> do you really want a web app to tell you that you need to update your GPU drivers to get support for Vulkan Why wouldn't you want to do it? Same can happen when you install some non Web application that requires it (games / VR etc.). I don't see how Web or non Web makes any difference. If you don't have up to date graphics drivers, problems are inevitable anyway, and you better fix that. If Web application gracefully warns you about it, instead of crashing - all the better.
- stephenr 10y ago> Why wouldn't you want to do it? Are you fucking serious? The web is always being trumpeted as "works everywhere". But now you want to tie the web to specific GPU drivers? > Same can happen when you install some non Web application that requires it (games?) You can use the web on a lot of devices that you can't install local applications on. > I don't see how Web or non Web makes any difference Perhaps you should look into that, because problems are inevitable and you better fix that.
- shmerl 10y ago> The web is always being trumpeted as "works everywhere". This isn't just "The Web". It's a Web interface for intense graphics usage. Expecting it to work if the user doesn't have working drivers is beyond silly. > You can use the web on a lot of devices that you can't install local applications on. And that doesn't mean you have full capabilities there. If user has no control, and vendor doesn't care to keep it up to date as well, I doubt browser makers can do anything to remedy such cases. They'd just blacklist certain driver combinations (that's already the case for the reference). Such users would contemplate either using a normal system, or skipping such applications on their un-updateable / broken one.
- stephenr 10y ago> Expecting it to work if the user doesn't have working drivers is beyond silly. It isn't just about working drivers, it's about a specific version of working drivers. Microsoft don't provide Vulkan support on Windows, it's provided by certain GPU drivers, which is pretty much guaranteed to be less than those that support e.g. DirectX on your average PC. > that doesn't mean you have full capabilities there. The point of this WG is to have powerful 3d capabilities using different underlying libraries, which maximises the potential to have the capability on different platforms. You seem to revel in the idea that certain users can't use 3d-based web applications because they don't want to or can't install specific vulcan-supporting drivers. > If user has no control, and vendor doesn't care to keep it up to date as well, I doubt browser makers can do anything to remedy such cases. You're somehow confusing "having a Vulkan supporting driver" with "up to date".
- shmerl 10y agoI assume you are talking about cases of drivers not being up to date. The reason it's relevant, is because all these new APIs including Vulkan are relatively new. So even if hardware has such capabilities, drivers for it can be lacking because user didn't keep the system / drivers up to date. I don't see how browser makers can fix that, besides warning users that their drivers are too old. As time goes on, this will be less of an issue. Transitional periods are always more complex. Again, likely use cases for such APIs are intensive graphics applications like games. So users who are interested in that usually are aware, that it's a bad idea to use outdated drivers. So again, this isn't very different with Web or non Web cases.
- stephenr 10y ago> I assume you are talking about cases of drivers not being up to date. No, I'm talking about users even having the unofficial vulkan-supporting drivers installed (on Windows). Users aren't going to suddenly get Vulkan support in a driver update from Windows/Microsoft Update. > I don't see how browser makers can fix that, besides warning users that their drivers are too old. Try to read this carefully, I've mentioned it several times: The point of this WG is to provide an API layer on top of a range of low-level GPU libraries. For Windows (where Vulkan support is possible but not practical due to the unofficial nature of Vulkan supporting drivers) the most common API library that browsers would use, is DirectX, which is provided and supported by Microsoft, across a vast range of hardware. No one insists that all browser vendors use the same TLS library, or the same DOM library, or even the same JavaScript engine. They just (aim to) support the same standards, usually building on things already available from the OS. If you still can't grasp this, I have to assume you're simply trolling.