-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Here
| g.test('multiple_frames') |
we do
getCurrentTexture in:
JS
rAF
rAF
rAF
rAF
rAF
Per spec it's clear that each rAF should have different texture then previous, but same does not hold true for first pair (JS rAF case), although test expects it to.
Let's say the next task after JS code, that created texture (getCurrentTexture) is HTML Update The Rendering. We will also assume we did not implement any expiry task (we only expire on update the rendering).
In update the rendering:
- There is microtask checkpoint in step 11, but that does not bother us (texture is still valid)
- rAF is get run in step 14 (texture is still valid)
- step 22 (
For each doc of docs, update the rendering or user interface of doc) we run WebGPU Update The Rendering which in turn runs expire texture.
Metadata
Metadata
Assignees
Labels
No labels