Alle versies v0.1.16315 Aug 2026Weergave, JavaScript en JIT Feed

De release-opmerkingen zijn in het Engels geschreven.

WebGL on the GPU: shaders run on the real device

WebGL had always run on the CPU - a from-scratch software rasteriser walking every pixel through a GLSL interpreter. Now the common shader shape runs on the actual GPU: the page's GLSL is translated to WGSL, its vertex buffers and uniforms are uploaded, and wgpu draws the triangles on the device. A real WebGL frame - position and colour attributes, colour varyings, and mat4/vec4 uniforms, drawArrays and drawElements - now renders on the GPU and matches the software pipeline within a single level per channel (interiors identical, only anti-aliased triangle edges differ). The translation is an accelerator, never a correctness risk: any shader it cannot yet translate (textures, user functions, loops) falls back to the proven software path, so nothing renders wrong. The GPU aspect moves 47 to 48. Textures and control-flow shaders on the GPU are the next slice. The overall holds at 57.

Wat er veranderd is

3 wijzigingen
  1. WeergaveWebGL shaders run on the GPU: a GLSL ES 1.00 -> WGSL translator (bottom-up type inference to add the int->float promotions WGSL requires) feeds a wgpu render pipeline - attributes as vertex buffers, uniforms packed to the WGSL buffer layout, drawArrays/drawElements as GPU draws.
  2. WeergaveProven by a readback parity test: a varying-colour triangle and a mat4+vec4-uniform triangle each render on the GPU and match the software rasteriser within one level per channel (max_diff=1).
  3. JavaScript en JITAccelerator, not a dependency: samplers/textures, user-defined functions, loops and local declarations still translate to None and keep the software path, so unsupported shaders render correctly rather than wrong.
Alles sinds v0.1.163 op één plek

Versies

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026