所有版本 v0.1.16415 八月 2026渲染, JavaScript 与 JIT 订阅

版本说明以英文撰写。

WebGL textures + control-flow on the GPU

The WebGL-on-GPU path grows to the two shapes almost every real shader needs: textures and control flow. A sampler2D uniform now runs on the device - the bound texture is uploaded to a wgpu texture, texture2D() becomes textureSampleLevel against a real texture + sampler bind group, and the wrap and filter modes match the software sampler exactly. And a fragment shader with local variables and a for/while loop (with break and continue) now translates to WGSL and draws on the GPU instead of falling back. Both are readback-proven against the software rasteriser: the textured quad is bit-exact (max_diff=0), and the loop-and-local triangle matches within a single level per channel (only anti-aliased edges differ). It stays an accelerator, never a correctness risk: a shader the translator still cannot express - two or more distinct textures, user-defined functions, an uninitialised local, a non-bool condition - declines to the proven software path, so nothing renders wrong. The GPU aspect moves 48 to 49. The overall holds at 57.

改动内容

3 项改动
  1. 渲染WebGL textures on the GPU: a sampler2D shader uploads its bound texture to a wgpu texture and samples it with textureSampleLevel through a texture + sampler bind group at @group(1); REPEAT / MIRRORED_REPEAT / CLAMP wrap and NEAREST / LINEAR filter map to the wgpu sampler, matching the software sampler bit-for-bit (max_diff=0).
  2. JavaScript 与 JITWebGL control-flow shaders on the GPU: the GLSL->WGSL translator now emits local variable declarations and for / while loops with break and continue, inferring each local's type so WGSL's int/float rules hold (an int loop counter stays int) - the loop-and-local triangle renders on the device within one level of software (max_diff=1).
  3. JavaScript 与 JITStill an accelerator, not a dependency: a shape the translator cannot yet express - two or more distinct samplers, a user-defined function, an uninitialised local, a non-bool loop/if condition - declines to None and keeps the proven software path, so an unsupported shader renders correctly rather than wrong; the whole engine gate holds at 6375 of 6375.
v0.1.164 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

14614 八月WebAssembly modules can call JavaScriptv0.1.146 · 渲染 14414 八月Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript 与 JIT 13514 八月DevTools automation: the methods a real driver reaches forv0.1.135 · Web API 与 DOM 12413 八月Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · 渲染 12213 八月Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · 开发者工具 12113 八月Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · 标签页与界面 12013 八月DevTools: a WebSocket transport, so external tools can attachv0.1.120 · 开发者工具 11913 八月DevTools: a Sources panel with a clickable line gutterv0.1.119 · 标签页与界面 11811 八月DevTools debugger: step over, into and outv0.1.118 · JavaScript 与 JIT 1177 八月DevTools breakpoints snap to the nearest real linev0.1.117 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本