Files
firefox/testing/web-platform/tests/webgpu/framework/params/options.js
T
Kai Ninomiya fbe2119366 Bug 1573718 [wpt PR 18414] - Add and run the WebGPU CTS under WPT, a=testonly
Automatic update from web-platform-tests
Add and run the WebGPU CTS under WPT

This adds a build of the WebGPU CTS (https://github.com/gpuweb/cts) to WPT.
(The version hash is saved in wpt/webgpu/framework/version.js.)

This also deletes the existing WebGPU web_tests, as they have been ported into the CTS.

Bug: 984818
Change-Id: I5b514a2a893b530bcc522ff131f6c653bb996210
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1707578
Reviewed-by: Kenneth Russell <[email protected]>
Reviewed-by: Austin Eng <[email protected]>
Commit-Queue: Kai Ninomiya <[email protected]>
Cr-Commit-Position: refs/heads/master@{#687932}

--

wpt-commits: 7a9cb992767821c707c922d1cae1dffe3c8613b0
wpt-pr: 18414
2019-08-27 04:11:31 +00:00

36 lines
859 B
JavaScript

/**
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
**/
let _Symbol$iterator;
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
export function poptions(name, values) {
return new POptions(name, values);
}
export function pbool(name) {
return new POptions(name, [false, true]);
}
_Symbol$iterator = Symbol.iterator;
class POptions {
constructor(name, values) {
_defineProperty(this, "name", void 0);
_defineProperty(this, "values", void 0);
this.name = name;
this.values = values;
}
*[_Symbol$iterator]() {
for (const value of this.values) {
yield {
[this.name]: value
};
}
}
}
//# sourceMappingURL=options.js.map