Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 11388c6920cd0868d470f47e077349fa758256cd
      
https://github.com/WebKit/WebKit/commit/11388c6920cd0868d470f47e077349fa758256cd
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/beginComputePass-expected.txt
    M 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/beginRenderPass-expected.txt
    M 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/programmable/pipeline_bind_group_compat-expected.txt
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/Modules/WebGPU/GPUComputePassTimestampWrites.h
    M Source/WebCore/Modules/WebGPU/GPURenderPassTimestampWrites.h
    M 
Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUComputePassTimestampWrites.h
    M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUIntegralTypes.h
    M 
Source/WebCore/Modules/WebGPU/InternalAPI/WebGPURenderPassTimestampWrites.h
    M Source/WebKit/Shared/WebGPU/WebGPUComputePassTimestampWrites.h
    M Source/WebKit/Shared/WebGPU/WebGPURenderPassTimestampWrites.h

  Log Message:
  -----------
  WebGPU] beginningOfPassWriteIndex and endOfPassWriteIndex default to 0 and 1, 
leading to CTS failures
https://bugs.webkit.org/show_bug.cgi?id=297808
rdar://158977287

Reviewed by Tadeu Zagallo.

A QuerySet with 1 element is allowed, it will only write to either the start or 
end of the render
or compute pass. This was previously rejected in WebKit as we defaulted begin 
and end to 0 and 1.

Fixing this results in several more query timestamps tests passing.

* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/beginComputePass-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/beginRenderPass-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/cmds/copyTextureToTexture-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/cmds/copyTextureToTexture.spec.js:
(F.prototype.TestCopyTextureToTexture): Deleted.
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/cmds/index_access-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/dynamic_state-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/createRenderBundleEncoder-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/encoder_open_state-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/encoder_state-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/programmable/pipeline_bind_group_compat-expected.txt:
* 
LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/queries/general-expected.txt:
Add updated expectations

* LayoutTests/platform/mac-wk2/TestExpectations:
Stop skipping tests which are now passing.

* Source/WebCore/Modules/WebGPU/GPUComputePassTimestampWrites.h:
* Source/WebCore/Modules/WebGPU/GPURenderPassTimestampWrites.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUComputePassTimestampWrites.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPURenderPassTimestampWrites.h:
* Source/WebKit/Shared/WebGPU/WebGPUComputePassTimestampWrites.h:
* Source/WebKit/Shared/WebGPU/WebGPURenderPassTimestampWrites.h:
Default to undefined query index instead of zero and one.

Canonical link: https://commits.webkit.org/299163@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to