[webkit-changes] [WebKit/WebKit] f60fad: [WebGPU] optional counter sample indices are not r...
mwyrzykowski
noreply at github.com
Thu Jan 30 22:18:29 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f60fad2e7a6dfc7eda32fcf38b700198a422765d
https://github.com/WebKit/WebKit/commit/f60fad2e7a6dfc7eda32fcf38b700198a422765d
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2025-01-30 (Thu, 30 Jan 2025)
Changed paths:
A LayoutTests/fast/webgpu/nocrash/fuzz-286689-expected.txt
A LayoutTests/fast/webgpu/nocrash/fuzz-286689.html
M Source/WebGPU/WebGPU/CommandBuffer.mm
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/HardwareCapabilities.mm
M Source/WebGPU/WebGPU/QuerySet.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] optional counter sample indices are not respected
https://bugs.webkit.org/show_bug.cgi?id=286689
rdar://143805885
Reviewed by Dan Glastonbury.
The specification says a sample index which is not specified should
be treated as 'don't sample' instead of sampling the counter.
* LayoutTests/fast/webgpu/nocrash/fuzz-286689-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-286689.html: Added.
Add regression test.
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::timestampWriteIndex):
(WebGPU::CommandEncoder::beginComputePass):
(WebGPU::CommandEncoder::beginRenderPass):
Don't sample non-specified counter values and ensure counter sample
buffers are retained for the lifetime of the command buffer.
Canonical link: https://commits.webkit.org/289596@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list