You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebGPU rendering (@rive-app/webgpu): Previously, if the browser rejected one of the render pipelines that a script asked for, the whole frame went black. For example, Safari rejects some pipelines that the WebGPU spec allows. Now only the draws that use the rejected pipeline are skipped, and the rest of the frame still renders. The browser's error is logged to the console once. (Fix)
Script viewports in Safari (@rive-app/webgpu): Previously, a script viewport that reached past the edge of its render target blanked the whole frame in Safari's WebGPU. This was easy to hit: a script that halves a size without rounding can ask for a 195.5 px viewport on a 195 px target. Now, on browsers that reject such viewports, an overhang of less than a pixel is trimmed to the target's edge. That matches how WebGL already behaved. A larger overhang, a negative origin, or a value that isn't a finite number is ignored instead, the draws are skipped until the script sets a valid viewport, and a console message names the viewport and target. Chromium and other browsers that accept these viewports are unchanged. (Fix)
MSAA render targets (@rive-app/webgpu): Previously, a script that asked for a 2x MSAA render target blanked the whole canvas, because WebGPU only accepts 1 or 4 samples. Now any multisample count above 1 is rounded up to 4, and the reported maximum is 4. Content that asks for 2x now renders with 4x, which keeps it closer to the WebGL2 output. (Fix)
Commits
fix(rive_core): let binds follow a view model reference changed during playback #16260
fix(wasm): keep script viewports inside their target where WebGPU requires it #16266
fix(ore): round WebGPU sample counts to 1 or 4 #16273
feat(cli): add an agent panel for local projects and remote drafts #16239
fix(ore): skip the draws of a WebGPU pipeline the browser rejected #16267