News for hackers. Stuff that matters.
Re:WebGPU demos by mxfh on Friday January 19, 2018 @10:41AM (#16187012)
Would rather see something like WebCL back in development for general purpose GPU computation, most importantly deep learning, on the web, then the Xth attempt on superseeding WebGL. Funneling things through WebGL just doesn't feel right, where proper OES_texture_float support is also not guaranteed.

https://www.khronos.org/webcl/

Re:WebGPU demos by fulafel on Friday January 19, 2018 @10:46AM (#16187050)
Apparently WebCL was blocked by Apple who refused to let their OpenCL patents be used: https://www.khronos.org/files/ip-disclosures/webcl/Apple-Web... ("Apple does not agree to make available .. for any WebCL Specifications")
Re:WebGPU demos by jsheard on Friday January 19, 2018 @10:54AM (#16187117)
WebGPU will almost certainly include support for general purpose compute shaders, which pretty much removes the need for a dedicated compute API:

https://docs.google.com/presentation/d/1l1rTCtKHowIEhwzA4l1u...

(besides, building a new API on top of OpenCL would be questionable given that OpenCL is all but dead at this point)

Re:WebGPU demos by pcwalton on Friday January 19, 2018 @12:08PM (#16187791)
OpenCL is irritating for graphics development, because it doesn't integrate as seamlessly with the rest of the graphics pipeline as GL compute shader does. Unified approaches such as GL compute shader or Vulkan are much more convenient.
Re:WebGPU demos by fulafel on Friday January 19, 2018 @11:35AM (#16187516)
Float textures were just optional back in WebGL 1[1]. Any new spec is going to lose in support coverage to WebGL 2 which has been shipping for a year now!

[1] Look for RGBA32F in the WebGL 2 and corresponding OpenGL ES 3.0 specs. Also documented on MDN's coverage of OES_texture_float.