Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e854405c800373ec28da9e31c712d8b68c9459a8
https://github.com/WebKit/WebKit/commit/e854405c800373ec28da9e31c712d8b68c9459a8
Author: islandryu <[email protected]>
Date: 2026-09-27 (Sun, 27 Sep 2026)
Changed paths:
A LayoutTests/fast/webgpu/render-bundle-dynamic-offset-reuse-expected.txt
A LayoutTests/fast/webgpu/render-bundle-dynamic-offset-reuse.html
M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
Log Message:
-----------
[WebGPU] Reused render bundle loses dynamic offsets on the replay path
https://bugs.webkit.org/show_bug.cgi?id=325413
Reviewed by Mike Wyrzykowski.
replayCommands() cleared the dynamic offset map after the first replay and never
put it back, and the recorded setBindGroup moved its offsets away on the first
run, so replaying a bundle again lost them. Keep the map and copy the offsets.
Test: fast/webgpu/render-bundle-dynamic-offset-reuse.html
* LayoutTests/fast/webgpu/render-bundle-dynamic-offset-reuse-expected.txt:
Added.
* LayoutTests/fast/webgpu/render-bundle-dynamic-offset-reuse.html: Added.
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::replayCommands):
(WebGPU::RenderBundleEncoder::setBindGroup):
Canonical link: https://commits.webkit.org/322002@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications