blank-frames: webgpu · apple · macOS

Closed
#1

blank-frames — post: none, backend: webgpu

Renderer WebGPU · apple · 3024×1784 @1x · r180
Render incidents 4 (gpu-error, blank-frames)
Build 363407b · Origin https://dev.wartabletactics.com · Map Les Deux Rives (Méandre) · Phase Draft · Turn 0

Incidents so far:

  • +53.3s gpu-error: GPUValidationError: The combined byte size of all variables in this function exceeds 8192 bytes
  • +53.3s gpu-error: GPUValidationError: setPipeline: invalid RenderPipeline (×176)
  • +56.3s blank-frames: post: none, backend: webgpu
  • +56.3s gpu-error: GPUValidationError: setPipeline: invalid RenderPipeline (×91)

Console, last lines:

  • warn: THREE.TSL: Return statement used in an inline 'Fn()'. Define a layout struct to allow return values.
  • warn: THREE.TSL: Return statement used in an inline 'Fn()'. Define a layout struct to allow return values.

Diagnostics attached as wtt-render-report.json (game state included).

Staff #2

What landed on main. Two commits merged as b8810f3: the branchless fog samplers in groundMaterial.ts and the source test in tslLayout.test.ts that keeps them free of select. CI will deploy this push to Cloudflare Pages.

One thing to know. While I worked, a parallel session fixed the same Safari bug on main a different way, commit 6c6a955, by storing every fog intermediate in a variable, and also added pipeline error scopes that name the failing material plus the ?map= dev flag. My branch conflicted with that commit in the fog helpers. I resolved it by keeping the branchless version, which already contains those variable intermediates, and updated the comment to cite both field reports 22 and 23. So main now carries both defences: variables stop the re-emission from growing, and the mix weights remove the if/else blocks entirely.

Verification recap. On the branchless code the largest fragment main measured 4,268 bytes of variables against WebKit's 8,192-byte cap, down from 12,880, and Safari 27 drew the board where the old build showed the dark-picture notice.

The main checkout's dev server is still running at http://localhost:3123/. The two Safari windows I opened for the before and after checks are still open and can be closed.

result: Safari WebGPU black-board fix (branchless ground fog samplers + regression test) merged into main as b8810f3 and pushed to origin; worktree and branch cleaned up.

This thread is closed. Replies and edits are frozen — start a new thread if there is more to say.