dawn-cmake/webgpu-cts
Ben Clayton f05cba72c3 Roll third_party/webgpu-cts/ 21af43c62..547d67bc2 (15 commits)
Update expectations and ts_sources

21af43c62a..547d67bc22
 - 547d67 Add sparse color attachments operation tests (#1160)
 - fd45c7 Roll @webgpu/types to 0.1.15
 - db30f9 wgsl: Implement `exp2` f32 tests (#1331)
 - 44d6ab wgsl: Stub normalize builtin test (#1324)
 - e1397f wgsl: Stub test for `pow` builtin. (#1325)
 - a1676d wgsl: Stub test for radians builtin. (#1326)
 - b09a65 wgsl: Stub tests for reflect builtin (#1327)
 - 3442cf wgsl: Stub tests for refract builtin. (#1328)
 - 651670 wgsl: Add stub tests for round builtin (#1329)
 - de3c00 wgsl: Stub tests for modf builtin. (#1322)
 - 6c85f4 wgsl: Stub tests for mix builtin. (#1321)
 - 2dcf97 depth_clip_clamp: Fix validation error for stencil-less formats (#1319)
 - 83b2ea Allow 1 ULP difference for copyToTexture ImageBitmap tests (#1318)
 - 972308 Add literal parsing tests (#1193)
 - 65104c wgsl: Stub tests for degrees builtin. (#1320)

Created with './tools/run cts roll'

Change-Id: Iac0527fee588a29c04959c7932acba1b6d04a847
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88560
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-02 21:21:45 +00:00
..
scripts Fix inclusive language presubmit 2022-04-19 22:25:45 +00:00
BUILD.gn Add CTS telemetry harness support 2022-03-24 00:21:55 +00:00
README.md Add CTS telemetry harness support 2022-03-24 00:21:55 +00:00
expectations.txt Roll third_party/webgpu-cts/ 21af43c62..547d67bc2 (15 commits) 2022-05-02 21:21:45 +00:00
test_page.html Add CTS telemetry harness support 2022-03-24 00:21:55 +00:00
test_runner.js Split large CTS logs 2022-04-14 17:19:11 +00:00

README.md

Running the WebGPU CTS Locally with Chrome

Running the WebGPU CTS locally with Chrome requires a Chromium checkout.

Follow these instructions for checking out and building Chrome. You'll also need to build the telemetry_gpu_integration_test target.

At the root of a Chromium checkout, run: ./content/test/gpu/run_gpu_integration_test.py webgpu_cts --browser=exact --browser-executable=path/to/your/chrome-executable

If you don't want to build Chrome, you can still run the CTS, by passing the path to an existing Chrome executable to the --browser-executable argument. You should still build the telemetry_gpu_integration_test target to support all harness functionality.

Useful command-line arguments:

  • -l: List all tests that would be run.
  • --test-filter: Filter tests. Run --help for more information.
  • --help: See more options.
  • --passthrough --show-stdout: Show browser output. See also --browser-logging-verbosity.
  • --extra-browser-args: Pass extra args to the browser executable.
  • --is-backend-validation: Enable backend validation. TODO: rename this to --backend-validation.