Closed Bug 2012650 Opened 5 months ago Closed 5 months ago

Update WebGPU CTS to new version d2e2e3c507876828182c8aaafb2aa83a7e34a577 from 2026-01-27 05:17:28

Categories

(Core :: Graphics: WebGPU, task, P1)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: update-bot, Assigned: ErichDonGubler)

References

(Blocks 1 open bug)

Details

(Whiteboard: [3pl-filed][task_id: DC3rUOr0T-O69hCaK5K5KQ])

Attachments

(1 file)

This update covers 6 commits. Here are the overall diff statistics, and then the commit information.


dom/webgpu/tests/cts/checkout/src/common/util/util.ts | 20 +
dom/webgpu/tests/cts/checkout/src/resources/cache/hashes.json | 220 ++--
dom/webgpu/tests/cts/checkout/src/resources/cache/webgpu/shader/execution/bitcast.bin | Bin
dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/command_buffer/queries/timestampQuery.spec.ts | 89 +-
dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/render_pass/transient_attachment.spec.ts | 94 ++
dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/encoding/cmds/setImmediates.spec.ts | 27 +-
dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/encoding/programmable/pipeline_immediate.spec.ts | 441 ++++++++++
dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/extractBits.spec.ts | 10 +
dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/insertBits.spec.ts | 6 +-
dom/webgpu/tests/cts/checkout/src/webgpu/shader/validation/decl/assignment_statement.spec.ts | 82 +
dom/webgpu/tests/cts/checkout/src/webgpu/shader/validation/expression/access/vector.spec.ts | 8 +
dom/webgpu/tests/cts/checkout/tools/gen_version | 2 +-
dom/webgpu/tests/cts/moz.yaml | 4 +-
testing/web-platform/mozilla/tests/webgpu/common/internal/version.js | 2 +-
testing/web-platform/mozilla/tests/webgpu/common/util/util.js | 20 +
testing/web-platform/mozilla/tests/webgpu/cts/webgpu/api/operation/render_pass/transient_attachment/cts.https.html | 37 +
testing/web-platform/mozilla/tests/webgpu/cts/webgpu/api/validation/encoding/programmable/pipeline_immediate/cts.https.html | 39 +
testing/web-platform/mozilla/tests/webgpu/cts/webgpu/shader/validation/decl/assignment_statement/cts.https.html | 39 +
testing/web-platform/mozilla/tests/webgpu/resources/cache/hashes.json | 220 ++--
testing/web-platform/mozilla/tests/webgpu/resources/cache/webgpu/shader/execution/bitcast.bin | Bin
testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/command_buffer/queries/timestampQuery.spec.js | 91 +-
testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/render_pass/transient_attachment.spec.js | 94 ++
testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/encoding/cmds/setImmediates.spec.js | 21 +-
testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/encoding/programmable/pipeline_immediate.spec.js | 441 ++++++++++
testing/web-platform/mozilla/tests/webgpu/webgpu/listing.js | 25 +
testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/call/builtin/extractBits.spec.js | 10 +
testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/call/builtin/insertBits.spec.js | 6 +-
testing/web-platform/mozilla/tests/webgpu/webgpu/shader/validation/decl/assignment_statement.spec.js | 82 +
testing/web-platform/mozilla/tests/webgpu/webgpu/shader/validation/expression/access/vector.spec.js | 8 +
testing/web-platform/mozilla/tests/webgpu/webgpu/webworker/api/operation/render_pass/transient_attachment.as_worker.js | 6 +
testing/web-platform/mozilla/tests/webgpu/webgpu/webworker/api/validation/encoding/programmable/pipeline_immediate.as_worker.js | 6 +
testing/web-platform/mozilla/tests/webgpu/webgpu/webworker/shader/validation/decl/assignment_statement.as_worker.js | 6 +
32 files changed, 1810 insertions(+), 346 deletions(-)


d2e2e3c507876828182c8aaafb2aa83a7e34a577 by shaoboyan091 <shaoboyan@microsoft.com>

https://github.com/gpuweb/cts/commit/d2e2e3c507876828182c8aaafb2aa83a7e34a577
Authored: 2026-01-27 13:17:28 +0800
Committed: 2026-01-27 13:17:28 +0800

Validation: Add immediate data pipeline validation tests (#4547)

  • Validation: Add immediate data pipeline validation tests

Adds pipeline_immediate.spec.ts to validate immediate data usage in
RenderPassEncoder, ComputePassEncoder, and RenderBundleEncoder.

Tests cover:

  • Required immediate data slots are set.
  • Unused variables do not require slots.
  • Pipeline creation fails if shader immediate size exceeds layout limit.
  • RenderBundle execution invalidates pipeline and immediate data state.
  • Address comments

  • Fix type check issues

  • Add multiple immediate variables test case

  • Regenerate Cache

  • Clean comments and update multiple_variable cases

  • Fix multiple_variable scenario

Files Added:

  • src/webgpu/api/validation/encoding/programmable/pipeline_immediate.spec.ts

Files Modified:

  • src/common/util/util.ts
  • src/resources/cache/hashes.json
  • src/resources/cache/webgpu/shader/execution/bitcast.bin
  • src/webgpu/api/validation/encoding/cmds/setImmediates.spec.ts

f9e787264276fd675c4dbdcb3b2a4cee84b5c9fa by Hao Li <hao.x.li@intel.com>

https://github.com/gpuweb/cts/commit/f9e787264276fd675c4dbdcb3b2a4cee84b5c9fa
Authored: 2026-01-27 05:13:29 +0800
Committed: 2026-01-26 21:13:29 +0000

Allow tests to extend endTestScope timeout (#4560)

  • Allow tests to extend endTestScope timeout

Added a per-test endTestScope timeout function so heavy cases can extend
the time without slowing down the rest of the suite, and used it to give
the 64K timestamp-query stress test run extra headroom, avoiding flakes
while leaving the default 5000ms limit untouched elsewhere.

  • Wrap the test body with pushErrorScope and popErrorScope

  • review nits


Co-authored-by: Kai Ninomiya <kainino@chromium.org>

Files Modified:

  • src/webgpu/api/operation/command_buffer/queries/timestampQuery.spec.ts

68544fd6466bfb193570019799965bcbf68abc20 by Natalie Chouinard <chouinard@google.com>

https://github.com/gpuweb/cts/commit/68544fd6466bfb193570019799965bcbf68abc20
Authored: 2026-01-22 10:08:21 -0500
Committed: 2026-01-22 10:08:21 -0500

Add mixed swizzle and indexing tests (#4570)

Check that a valid mix of swizzles and index works and that an invalid OOB case fails.

Files Modified:

  • src/webgpu/shader/validation/expression/access/vector.spec.ts

437a692979e0bcb8ab1c2a08ffc30eddd9c078f5 by petermcneeleychromium <96925679+petermcneeleychromium@users.noreply.github.com>

https://github.com/gpuweb/cts/commit/437a692979e0bcb8ab1c2a08ffc30eddd9c078f5
Authored: 2026-01-21 17:18:22 -0500
Committed: 2026-01-21 17:18:22 -0500

Edge cases (#4574)

Co-authored-by: Peter McNeeley <petermcneeley@google.com>

Files Modified:

  • src/webgpu/shader/execution/expression/call/builtin/extractBits.spec.ts
  • src/webgpu/shader/execution/expression/call/builtin/insertBits.spec.ts

936d5ee4de198d6626bd73f604dfabb6f72a302a by François Beaufort <beaufort.francois@gmail.com>

https://github.com/gpuweb/cts/commit/936d5ee4de198d6626bd73f604dfabb6f72a302a
Authored: 2026-01-21 10:12:44 +0100
Committed: 2026-01-21 09:12:44 +0000

Add more operation tests for transient attachment (#4563)

  • Add more operation tests for transient attachment

  • Use range

Files Added:

  • src/webgpu/api/operation/render_pass/transient_attachment.spec.ts

01b814e66e73366c8f579a2b9abd93c9ef333f08 by Natalie Chouinard <chouinard@google.com>

https://github.com/gpuweb/cts/commit/01b814e66e73366c8f579a2b9abd93c9ef333f08
Authored: 2026-01-20 15:15:16 -0500
Committed: 2026-01-20 15:15:16 -0500

Add tests of swizzle assignment (#4569)

Only the single element sizzle assignment on a vector should pass. Check that some other cases continue to fail as expected. To add this test case I created a new file with a couple other simple tests since there didn't seem to be an existing validation test for simple assignment statements.

Files Added:

  • src/webgpu/shader/validation/decl/assignment_statement.spec.ts

Updatebot encountered an error while trying to submit to phabricator.
Updatebot will be unable to do anything more for this library version.

Flags: needinfo?(egubler)
Assignee: nobody → egubler
Status: NEW → ASSIGNED
Type: enhancement → task
Flags: needinfo?(egubler)
Priority: -- → P1
Pushed by egubler@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/43b40a562deb https://hg.mozilla.org/integration/autoland/rev/b5680071c36a test(webgpu): update CTS to d2e2e3c507876828182c8aaafb2aa83a7e34a577 r=webgpu-reviewers,nical
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: