tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c4c5086a266ee93c4b9bc2b23f75c3898cd48524
parent b5149b6969a151a734ecea42c5e99c688f207a72
Author: Erich Gubler <erichdongubler@gmail.com>
Date:   Tue, 30 Sep 2025 19:14:24 +0000

Bug 1991285 - test(webgpu): update CTS to 0d83aa349b1bff0e1d5518e1ea19d027a25bc6c2 r=webgpu-reviewers,teoxoy

Differential Revision: https://phabricator.services.mozilla.com/D266524

Diffstat:
Mdom/webgpu/tests/cts/checkout/src/common/util/util.ts | 10++++++++++
Mdom/webgpu/tests/cts/checkout/src/resources/cache/hashes.json | 220++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mdom/webgpu/tests/cts/checkout/src/resources/cache/webgpu/shader/execution/bitcast.bin | 0
Mdom/webgpu/tests/cts/checkout/src/webgpu/api/operation/adapter/requestDevice.spec.ts | 45+++++++++++++++++++++++++++------------------
Mdom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/limit_utils.ts | 7++++---
Mdom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.ts | 2+-
Mdom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.ts | 2+-
Mdom/webgpu/tests/cts/checkout/src/webgpu/capability_info.ts | 27++++++++++++++++++++++-----
Mdom/webgpu/tests/cts/checkout/src/webgpu/gpu_test.ts | 4++--
Mdom/webgpu/tests/cts/checkout/src/webgpu/idl/javascript.spec.ts | 4++--
Mdom/webgpu/tests/cts/checkout/src/webgpu/util/device_pool.ts | 6+++---
Mdom/webgpu/tests/cts/checkout/tools/gen_version | 2+-
Mdom/webgpu/tests/cts/moz.yaml | 4++--
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/adapter/requestDevice/cts.https.html.ini | 25++++++++++++++++---------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/command_buffer/copyTextureToTexture/cts.https.html.ini | 8++++++++
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/capability_checks/limits/maxStorageTexturesPerShaderStage/cts.https.html.ini | 42+++++++++++++++++++++++++++++++++++++++++-
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/resource_usages/texture/in_render_common/cts.https.html.ini | 288+++++++++++++++++++++++++++++++++++++++++++++----------------------------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/state/device_lost/destroy/cts.https.html.ini | 79+++++++++++++++++++++++++++++++------------------------------------------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupAdd/cts.https.html.ini | 39+++++++++++++++------------------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupMul/cts.https.html.ini | 17++++++++++-------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSample/cts.https.html.ini | 13+++++++++++++
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleBias/cts.https.html.ini | 111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleCompareLevel/cts.https.html.ini | 9++++++---
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleLevel/cts.https.html.ini | 21+++++++++++++++------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/call/builtin/subgroupShuffle/cts.https.html.ini | 24++++++++++++------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/canvas/readbackFromWebGPUCanvas/shared.https.html.ini | 2++
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/cts.https.html.ini | 229++++++++++++++++++++++++++++++++++++-------------------------------------------
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/dedicated.https.html.ini | 29++++++++++++++++++++++++++---
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/shared.https.html.ini | 10+++++++---
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageData/cts.https.html.ini | 40++++++++++++++++++++++++++++++++++++++++
Mtesting/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/canvas/cts.https.html.ini | 3++-
Mtesting/web-platform/mozilla/tests/webgpu/common/internal/version.js | 2+-
Mtesting/web-platform/mozilla/tests/webgpu/common/util/util.js | 10++++++++++
Mtesting/web-platform/mozilla/tests/webgpu/resources/cache/hashes.json | 220++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mtesting/web-platform/mozilla/tests/webgpu/resources/cache/webgpu/shader/execution/bitcast.bin | 0
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/api/operation/adapter/requestDevice.spec.js | 47++++++++++++++++++++++++++++-------------------
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/limit_utils.js | 3++-
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.js | 2+-
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.js | 2+-
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/capability_info.js | 23++++++++++++++++++++---
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/idl/javascript.spec.js | 4++--
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/util/device_pool.js | 6+++---
42 files changed, 963 insertions(+), 678 deletions(-)

diff --git a/dom/webgpu/tests/cts/checkout/src/common/util/util.ts b/dom/webgpu/tests/cts/checkout/src/common/util/util.ts @@ -303,6 +303,16 @@ export function reorder<R>(order: ReorderOrder, arr: R[]): R[] { } } +/** + * A typed version of Object.entries + */ +/* eslint-disable-next-line @typescript-eslint/no-explicit-any */ +export function typedEntries<T extends Record<string, any>>(obj: T): Array<[keyof T, T[keyof T]]> { + // The cast is done once, inside the helper function, + // keeping the call site clean and type-safe. + return Object.entries(obj) as Array<[keyof T, T[keyof T]]>; +} + const TypedArrayBufferViewInstances = [ new Uint8Array(), new Uint8ClampedArray(), diff --git a/dom/webgpu/tests/cts/checkout/src/resources/cache/hashes.json b/dom/webgpu/tests/cts/checkout/src/resources/cache/hashes.json @@ -1,112 +1,112 @@ { - "webgpu/shader/execution/binary/af_addition.bin": "28a63d32", - "webgpu/shader/execution/binary/af_logical.bin": "56e14141", - "webgpu/shader/execution/binary/af_division.bin": "f66aae6c", - "webgpu/shader/execution/binary/af_matrix_addition.bin": "192e5aab", - "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "38fb4fb5", - "webgpu/shader/execution/binary/af_multiplication.bin": "e9913953", - "webgpu/shader/execution/binary/af_remainder.bin": "8179ee81", - "webgpu/shader/execution/binary/af_subtraction.bin": "27671e11", - "webgpu/shader/execution/binary/f16_addition.bin": "a79027b7", - "webgpu/shader/execution/binary/f16_logical.bin": "6acbce9b", - "webgpu/shader/execution/binary/f16_division.bin": "9bbd764d", - "webgpu/shader/execution/binary/f16_matrix_addition.bin": "3da67d8", - "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "76f6e12", - "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "792fca65", - "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "eb358ec2", - "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "a8ab28d8", - "webgpu/shader/execution/binary/f16_multiplication.bin": "353840bb", - "webgpu/shader/execution/binary/f16_remainder.bin": "ba31f90b", - "webgpu/shader/execution/binary/f16_subtraction.bin": "1d8bac67", - "webgpu/shader/execution/binary/f32_addition.bin": "155a837c", - "webgpu/shader/execution/binary/f32_logical.bin": "7386e68a", - "webgpu/shader/execution/binary/f32_division.bin": "cf1e3f65", - "webgpu/shader/execution/binary/f32_matrix_addition.bin": "6caaf727", - "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "60eef2a7", - "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "49ae2eab", - "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "3b29ae6b", - "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "f45104ff", - "webgpu/shader/execution/binary/f32_multiplication.bin": "a07f42dc", - "webgpu/shader/execution/binary/f32_remainder.bin": "b53c75e7", - "webgpu/shader/execution/binary/f32_subtraction.bin": "752ec350", - "webgpu/shader/execution/binary/i32_arithmetic.bin": "cf471fa9", - "webgpu/shader/execution/binary/i32_comparison.bin": "9780d785", - "webgpu/shader/execution/binary/u32_arithmetic.bin": "f028486b", - "webgpu/shader/execution/binary/u32_comparison.bin": "7563b8b8", - "webgpu/shader/execution/abs.bin": "78ce83f3", - "webgpu/shader/execution/acos.bin": "f92ed471", - "webgpu/shader/execution/acosh.bin": "97755fe3", - "webgpu/shader/execution/asin.bin": "ce23bbf1", - "webgpu/shader/execution/asinh.bin": "f0d14ac8", - "webgpu/shader/execution/atan.bin": "2c91354f", - "webgpu/shader/execution/atan2.bin": "37ad67d", - "webgpu/shader/execution/atanh.bin": "e2bd3955", - "webgpu/shader/execution/bitcast.bin": "c6be26e0", - "webgpu/shader/execution/ceil.bin": "e0ed294", - "webgpu/shader/execution/clamp.bin": "60fbb47b", - "webgpu/shader/execution/cos.bin": "cf6ba7e0", - "webgpu/shader/execution/cosh.bin": "e147272e", - "webgpu/shader/execution/cross.bin": "28be8d3f", - "webgpu/shader/execution/degrees.bin": "8535ce8d", - "webgpu/shader/execution/determinant.bin": "7f9af499", - "webgpu/shader/execution/distance.bin": "24167db6", - "webgpu/shader/execution/dot.bin": "3150f69d", - "webgpu/shader/execution/exp.bin": "d57815df", - "webgpu/shader/execution/exp2.bin": "15222aef", - "webgpu/shader/execution/faceForward.bin": "6b419a20", - "webgpu/shader/execution/floor.bin": "125c1875", - "webgpu/shader/execution/fma.bin": "b29845d1", - "webgpu/shader/execution/fract.bin": "e181b3a6", - "webgpu/shader/execution/frexp.bin": "d658829", - "webgpu/shader/execution/inverseSqrt.bin": "2fe9fe7b", - "webgpu/shader/execution/ldexp.bin": "15def3e0", - "webgpu/shader/execution/length.bin": "d313a89f", - "webgpu/shader/execution/log.bin": "dac65037", - "webgpu/shader/execution/log2.bin": "a4033f79", - "webgpu/shader/execution/max.bin": "2c454b32", - "webgpu/shader/execution/min.bin": "47691233", - "webgpu/shader/execution/mix.bin": "9746cd20", - "webgpu/shader/execution/modf.bin": "3cb39071", - "webgpu/shader/execution/normalize.bin": "1509b243", - "webgpu/shader/execution/pack2x16float.bin": "384298e7", - "webgpu/shader/execution/pow.bin": "fe0c5478", - "webgpu/shader/execution/quantizeToF16.bin": "ffeb8025", - "webgpu/shader/execution/radians.bin": "73f762be", - "webgpu/shader/execution/reflect.bin": "1019764d", - "webgpu/shader/execution/refract.bin": "8b2186c3", - "webgpu/shader/execution/round.bin": "549222a5", - "webgpu/shader/execution/saturate.bin": "5edf7ef9", - "webgpu/shader/execution/sign.bin": "92555626", - "webgpu/shader/execution/sin.bin": "10b6a694", - "webgpu/shader/execution/sinh.bin": "8f4837d3", - "webgpu/shader/execution/smoothstep.bin": "5bf49064", - "webgpu/shader/execution/sqrt.bin": "4efcb6a", - "webgpu/shader/execution/step.bin": "5ae9956c", - "webgpu/shader/execution/tan.bin": "b0e5fbc7", - "webgpu/shader/execution/tanh.bin": "89e6eaa8", - "webgpu/shader/execution/transpose.bin": "696932d6", - "webgpu/shader/execution/trunc.bin": "8fb39c21", - "webgpu/shader/execution/unpack2x16float.bin": "d6e20d59", - "webgpu/shader/execution/unpack2x16snorm.bin": "1e023311", - "webgpu/shader/execution/unpack2x16unorm.bin": "4d370680", - "webgpu/shader/execution/unpack4x8snorm.bin": "e5cc316c", - "webgpu/shader/execution/unpack4x8unorm.bin": "b23db08b", - "webgpu/shader/execution/unary/af_arithmetic.bin": "a48d44cc", - "webgpu/shader/execution/unary/af_assignment.bin": "c258f2c4", - "webgpu/shader/execution/unary/bool_conversion.bin": "e9d6fe51", - "webgpu/shader/execution/unary/f16_arithmetic.bin": "85509270", - "webgpu/shader/execution/unary/f16_conversion.bin": "bb834c14", - "webgpu/shader/execution/unary/f32_arithmetic.bin": "389e237e", - "webgpu/shader/execution/unary/f32_conversion.bin": "634dff8a", - "webgpu/shader/execution/unary/i32_arithmetic.bin": "7e96ad50", - "webgpu/shader/execution/unary/i32_conversion.bin": "a6282800", - "webgpu/shader/execution/unary/u32_conversion.bin": "5cc243a5", - "webgpu/shader/execution/unary/ai_assignment.bin": "46e8aec1", - "webgpu/shader/execution/binary/ai_arithmetic.bin": "c8b346b3", - "webgpu/shader/execution/unary/ai_arithmetic.bin": "604d8103", - "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "191172c3", - "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "883d15c1", - "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "1a4d9ec0", - "webgpu/shader/execution/derivatives.bin": "e00a172b", - "webgpu/shader/execution/fwidth.bin": "3ab266cc" + "webgpu/shader/execution/binary/af_addition.bin": "4351656f", + "webgpu/shader/execution/binary/af_logical.bin": "ad92384d", + "webgpu/shader/execution/binary/af_division.bin": "a60bd84", + "webgpu/shader/execution/binary/af_matrix_addition.bin": "9ac0836d", + "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "1f4bae8", + "webgpu/shader/execution/binary/af_multiplication.bin": "a2e9a0a9", + "webgpu/shader/execution/binary/af_remainder.bin": "a0a4f809", + "webgpu/shader/execution/binary/af_subtraction.bin": "72361dd8", + "webgpu/shader/execution/binary/f16_addition.bin": "684c4fc5", + "webgpu/shader/execution/binary/f16_logical.bin": "b0ad5382", + "webgpu/shader/execution/binary/f16_division.bin": "308d874f", + "webgpu/shader/execution/binary/f16_matrix_addition.bin": "4b9c9a9", + "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "d32d62ca", + "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "8f83c6f", + "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "b0942a1", + "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "9bf29a38", + "webgpu/shader/execution/binary/f16_multiplication.bin": "454e485e", + "webgpu/shader/execution/binary/f16_remainder.bin": "dd4be89f", + "webgpu/shader/execution/binary/f16_subtraction.bin": "c9c7fd4f", + "webgpu/shader/execution/binary/f32_addition.bin": "3259a12", + "webgpu/shader/execution/binary/f32_logical.bin": "3983e6e6", + "webgpu/shader/execution/binary/f32_division.bin": "8cb3ae86", + "webgpu/shader/execution/binary/f32_matrix_addition.bin": "d069ff91", + "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "c5c8d148", + "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "aaffab11", + "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "b7a4d298", + "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "14f9a346", + "webgpu/shader/execution/binary/f32_multiplication.bin": "463860d3", + "webgpu/shader/execution/binary/f32_remainder.bin": "c80847fe", + "webgpu/shader/execution/binary/f32_subtraction.bin": "779e2fa5", + "webgpu/shader/execution/binary/i32_arithmetic.bin": "3ad21ac8", + "webgpu/shader/execution/binary/i32_comparison.bin": "fb767be", + "webgpu/shader/execution/binary/u32_arithmetic.bin": "5684f530", + "webgpu/shader/execution/binary/u32_comparison.bin": "c94bcd95", + "webgpu/shader/execution/abs.bin": "8854a7ca", + "webgpu/shader/execution/acos.bin": "a894ea0e", + "webgpu/shader/execution/acosh.bin": "4c645687", + "webgpu/shader/execution/asin.bin": "1b2aa5f8", + "webgpu/shader/execution/asinh.bin": "de56bb5f", + "webgpu/shader/execution/atan.bin": "372b9f36", + "webgpu/shader/execution/atan2.bin": "c8db945c", + "webgpu/shader/execution/atanh.bin": "28c6a48a", + "webgpu/shader/execution/bitcast.bin": "f5ac3489", + "webgpu/shader/execution/ceil.bin": "38d41915", + "webgpu/shader/execution/clamp.bin": "993777c7", + "webgpu/shader/execution/cos.bin": "199b46ac", + "webgpu/shader/execution/cosh.bin": "8356619", + "webgpu/shader/execution/cross.bin": "830af6b", + "webgpu/shader/execution/degrees.bin": "bcbaa878", + "webgpu/shader/execution/determinant.bin": "6794c894", + "webgpu/shader/execution/distance.bin": "89071db", + "webgpu/shader/execution/dot.bin": "355d798e", + "webgpu/shader/execution/exp.bin": "fce0140d", + "webgpu/shader/execution/exp2.bin": "cfc54cb3", + "webgpu/shader/execution/faceForward.bin": "25143e68", + "webgpu/shader/execution/floor.bin": "76a2d909", + "webgpu/shader/execution/fma.bin": "3bf19b2d", + "webgpu/shader/execution/fract.bin": "931a4088", + "webgpu/shader/execution/frexp.bin": "14113108", + "webgpu/shader/execution/inverseSqrt.bin": "11676b3c", + "webgpu/shader/execution/ldexp.bin": "6444e378", + "webgpu/shader/execution/length.bin": "28baa2ce", + "webgpu/shader/execution/log.bin": "c4ed36fb", + "webgpu/shader/execution/log2.bin": "b32bf7b8", + "webgpu/shader/execution/max.bin": "befb309d", + "webgpu/shader/execution/min.bin": "74ab3002", + "webgpu/shader/execution/mix.bin": "a76105b5", + "webgpu/shader/execution/modf.bin": "8df07d35", + "webgpu/shader/execution/normalize.bin": "ce9f80eb", + "webgpu/shader/execution/pack2x16float.bin": "3bd13d50", + "webgpu/shader/execution/pow.bin": "d161ca70", + "webgpu/shader/execution/quantizeToF16.bin": "65ddd08c", + "webgpu/shader/execution/radians.bin": "eb653df2", + "webgpu/shader/execution/reflect.bin": "69d011fc", + "webgpu/shader/execution/refract.bin": "7247e3cb", + "webgpu/shader/execution/round.bin": "42244257", + "webgpu/shader/execution/saturate.bin": "f9b94d22", + "webgpu/shader/execution/sign.bin": "2e0439b3", + "webgpu/shader/execution/sin.bin": "41746afb", + "webgpu/shader/execution/sinh.bin": "c5693dbd", + "webgpu/shader/execution/smoothstep.bin": "22f3731c", + "webgpu/shader/execution/sqrt.bin": "8fe8925a", + "webgpu/shader/execution/step.bin": "ff66932b", + "webgpu/shader/execution/tan.bin": "30380851", + "webgpu/shader/execution/tanh.bin": "ddd312a7", + "webgpu/shader/execution/transpose.bin": "f0d17f64", + "webgpu/shader/execution/trunc.bin": "3516ef51", + "webgpu/shader/execution/unpack2x16float.bin": "542c8134", + "webgpu/shader/execution/unpack2x16snorm.bin": "7f64027", + "webgpu/shader/execution/unpack2x16unorm.bin": "e8500104", + "webgpu/shader/execution/unpack4x8snorm.bin": "f11885db", + "webgpu/shader/execution/unpack4x8unorm.bin": "ce8156af", + "webgpu/shader/execution/unary/af_arithmetic.bin": "29ba27ec", + "webgpu/shader/execution/unary/af_assignment.bin": "a218789e", + "webgpu/shader/execution/unary/bool_conversion.bin": "3602691f", + "webgpu/shader/execution/unary/f16_arithmetic.bin": "86b27696", + "webgpu/shader/execution/unary/f16_conversion.bin": "efc08074", + "webgpu/shader/execution/unary/f32_arithmetic.bin": "c99cf079", + "webgpu/shader/execution/unary/f32_conversion.bin": "f12cf48a", + "webgpu/shader/execution/unary/i32_arithmetic.bin": "1e982cb9", + "webgpu/shader/execution/unary/i32_conversion.bin": "a4a9e5bd", + "webgpu/shader/execution/unary/u32_conversion.bin": "a384fe91", + "webgpu/shader/execution/unary/ai_assignment.bin": "d55ed7e0", + "webgpu/shader/execution/binary/ai_arithmetic.bin": "4e26817d", + "webgpu/shader/execution/unary/ai_arithmetic.bin": "3946659c", + "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "a1e74c33", + "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "fa2fb7e3", + "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "c64cbaa1", + "webgpu/shader/execution/derivatives.bin": "c58305a1", + "webgpu/shader/execution/fwidth.bin": "9d1ada2a" } \ No newline at end of file diff --git a/dom/webgpu/tests/cts/checkout/src/resources/cache/webgpu/shader/execution/bitcast.bin b/dom/webgpu/tests/cts/checkout/src/resources/cache/webgpu/shader/execution/bitcast.bin Binary files differ. diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/adapter/requestDevice.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/adapter/requestDevice.spec.ts @@ -8,12 +8,12 @@ potentially limited native resources. import { Fixture } from '../../../../common/framework/fixture.js'; import { makeTestGroup } from '../../../../common/framework/test_group.js'; import { getGPU } from '../../../../common/util/navigator_gpu.js'; -import { assert, assertReject } from '../../../../common/util/util.js'; +import { assert, assertReject, typedEntries } from '../../../../common/util/util.js'; import { getDefaultLimitsForCTS, kFeatureNames, - kLimits, kLimitClasses, + kPossibleLimits, } from '../../../capability_info.js'; import { clamp, isPowerOfTwo } from '../../../util/math.js'; @@ -54,11 +54,11 @@ g.test('default') ); } // All limits should be defaults. - const limitInfo = getDefaultLimitsForCTS(); - for (const limit of kLimits) { + const limitInfos = getDefaultLimitsForCTS(); + for (const [limit, limitInfo] of typedEntries(limitInfos)) { t.expect( - device.limits[limit] === limitInfo[limit].default, - `Expected ${limit} == default: ${device.limits[limit]} != ${limitInfo[limit].default}` + device.limits[limit] === limitInfo.default, + `Expected ${limit} == default: ${device.limits[limit]} != ${limitInfo.default}` ); } }); @@ -246,7 +246,7 @@ g.test('limits,supported') ) .params(u => u - .combine('limit', kLimits) + .combine('limit', kPossibleLimits) .beginSubcases() .combine('limitValue', ['default', 'adapter', 'undefined']) ) @@ -257,12 +257,14 @@ g.test('limits,supported') const adapter = await gpu.requestAdapter(); assert(adapter !== null); - const limitInfo = getDefaultLimitsForCTS(); + const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); let value: number | undefined = -1; let result: number = -1; switch (limitValue) { case 'default': - value = limitInfo[limit].default; + value = limitInfo.default; result = value; break; case 'adapter': @@ -271,7 +273,7 @@ g.test('limits,supported') break; case 'undefined': value = undefined; - result = limitInfo[limit].default; + result = limitInfo.default; break; } @@ -295,7 +297,7 @@ g.test('limit,better_than_supported') ) .params(u => u - .combine('limit', kLimits) + .combine('limit', kPossibleLimits) .beginSubcases() .expandWithParams(p => { switch (kLimitClasses[p.limit]) { @@ -321,6 +323,8 @@ g.test('limit,better_than_supported') assert(adapter !== null); const limitInfo = getDefaultLimitsForCTS(); + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo[limit] === undefined, 'limit is currently compatibility only'); const value = adapter.limits[limit]! * mul + add; const requiredLimits = { [limit]: clamp(value, { min: 0, max: limitInfo[limit].maximumValue }), @@ -338,7 +342,7 @@ g.test('limit,out_of_range') ) .params(u => u - .combine('limit', kLimits) + .combine('limit', kPossibleLimits) .beginSubcases() .expand('value', function* () { yield -(2 ** 64); @@ -367,6 +371,8 @@ g.test('limit,out_of_range') const adapter = await gpu.requestAdapter(); assert(adapter !== null); const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); const requiredLimits = { [limit]: value, @@ -399,7 +405,7 @@ g.test('limit,worse_than_default') ) .params(u => u - .combine('limit', kLimits) + .combine('limit', kPossibleLimits) .beginSubcases() .expandWithParams(p => { switch (kLimitClasses[p.limit]) { @@ -424,14 +430,17 @@ g.test('limit,worse_than_default') const adapter = await gpu.requestAdapter(); assert(adapter !== null); - const limitInfo = getDefaultLimitsForCTS(); - const value = limitInfo[limit].default * mul + add; + const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); + + const value = limitInfo.default * mul + add; const requiredLimits = { - [limit]: clamp(value, { min: 0, max: limitInfo[limit].maximumValue }), + [limit]: clamp(value, { min: 0, max: limitInfo.maximumValue }), }; let success; - switch (limitInfo[limit].class) { + switch (limitInfo.class) { case 'alignment': success = isPowerOfTwo(value); break; @@ -445,7 +454,7 @@ g.test('limit,worse_than_default') const device = await devicePromise; assert(device !== null); t.expect( - device.limits[limit] === limitInfo[limit].default, + device.limits[limit] === limitInfo.default, 'Devices reported limit should match the default limit' ); device.destroy(); diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/limit_utils.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/limit_utils.ts @@ -2,7 +2,7 @@ import { kUnitCaseParamsBuilder } from '../../../../../common/framework/params_b import { makeTestGroup } from '../../../../../common/framework/test_group.js'; import { getGPU } from '../../../../../common/util/navigator_gpu.js'; import { assert, range, reorder, ReorderOrder } from '../../../../../common/util/util.js'; -import { getDefaultLimitsForCTS, kLimits } from '../../../../capability_info.js'; +import { getDefaultLimitsForCTS, kPossibleLimits } from '../../../../capability_info.js'; import { GPUConst } from '../../../../constants.js'; import { GPUTestBase } from '../../../../gpu_test.js'; @@ -405,7 +405,8 @@ export class LimitTestsImpl extends GPUTestBase { const limit = this.limit; // MAINTENANCE_TODO: consider removing this skip if the spec has no optional limits. this.skipIf( - this._adapter?.limits[limit] === undefined && !!this.limitTestParams.limitOptional, + (this._adapter?.limits[limit] === undefined && !!this.limitTestParams.limitOptional) || + getDefaultLimitsForCTS()[limit] === undefined, `${limit} is missing but optional for now` ); this.defaultLimit = getDefaultLimitForAdapter(this.adapter, limit); @@ -428,7 +429,7 @@ export class LimitTestsImpl extends GPUTestBase { return getDefaultLimitsForCTS(); } - getDefaultLimit(limit: (typeof kLimits)[number]) { + getDefaultLimit(limit: (typeof kPossibleLimits)[number]) { return this.getDefaultLimits()[limit].default; } diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.ts @@ -25,7 +25,7 @@ const kExtraLimits: LimitsRequest = { }; export const { g, description } = makeLimitTestGroup(limit, { - // MAINTAINANCE_TODO: remove once this limit is required. + // MAINTENANCE_TODO: remove once this limit is required. limitOptional: true, }); diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.ts @@ -25,7 +25,7 @@ const kExtraLimits: LimitsRequest = { }; export const { g, description } = makeLimitTestGroup(limit, { - // MAINTAINANCE_TODO: remove once this limit is required. + // MAINTENANCE_TODO: remove once this limit is required. limitOptional: true, }); diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/capability_info.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/capability_info.ts @@ -388,7 +388,7 @@ export const kPerStageBindingLimits: { /** Which `PerShaderStage` binding limit class. */ readonly class: k; /** Maximum number of allowed bindings in that class. */ - readonly maxLimits: { [key in ShaderStageKey]: (typeof kLimits)[number] }; + readonly maxLimits: { [key in ShaderStageKey]: (typeof kPossibleLimits)[number] }; // Add fields as needed }; } = @@ -412,7 +412,7 @@ export const kPerPipelineBindingLimits: { /** * The name of the limit for the maximum number of allowed bindings with `hasDynamicOffset: true` in that class. */ - readonly maxDynamicLimit: (typeof kLimits)[number] | ''; + readonly maxDynamicLimit: (typeof kPossibleLimits)[number] | ''; // Add fields as needed }; } = @@ -740,6 +740,8 @@ const [kLimitInfoKeys, kLimitInfoDefaults, kLimitInfoData] = 'maxDynamicStorageBuffersPerPipelineLayout': [ , 4, 4, ], 'maxSampledTexturesPerShaderStage': [ , 16, 16, ], 'maxSamplersPerShaderStage': [ , 16, 16, ], + 'maxStorageBuffersInFragmentStage': [ , 8, 4, ], + 'maxStorageBuffersInVertexStage': [ , 8, 0, ], 'maxStorageBuffersPerShaderStage': [ , 8, 8, ], 'maxStorageTexturesInFragmentStage': [ , 4, 4, ], 'maxStorageTexturesInVertexStage': [ , 4, 0, ], @@ -768,6 +770,14 @@ const [kLimitInfoKeys, kLimitInfoDefaults, kLimitInfoData] = 'maxComputeWorkgroupsPerDimension': [ , 65535, 65535, ], } as const]; +// MAINTENANCE_TODO: Remove when the compat spec is merged. +const kCompatOnlyLimits = [ + 'maxStorageTexturesInFragmentStage', + 'maxStorageTexturesInVertexStage', + 'maxStorageBuffersInFragmentStage', + 'maxStorageBuffersInVertexStage', +] as const; + /** * Feature levels corresponding to core WebGPU and WebGPU * in compatibility mode. They can be passed to @@ -805,7 +815,14 @@ export const kLimitClasses = Object.fromEntries( ); export function getDefaultLimits(featureLevel: FeatureLevel) { - return kLimitInfos[featureLevel]; + return Object.fromEntries( + Object.entries(kLimitInfos[featureLevel]).filter(([k]) => { + // Filter out compat-only limits when in core mode + return featureLevel === 'core' + ? !kCompatOnlyLimits.includes(k as (typeof kCompatOnlyLimits)[number]) + : true; + }) + ) as typeof kLimitInfoCore; } /** @@ -862,8 +879,8 @@ export function getBindingLimitForBindingType( return limits.length > 0 ? Math.min(...limits) : 0; } -/** List of all entries of GPUSupportedLimits. */ -export const kLimits = keysOf(kLimitInfoCore); +/** List of all possible entries of GPUSupportedLimits. */ +export const kPossibleLimits = keysOf(kLimitInfoCore); /** * The number of color attachments to test. diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/gpu_test.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/gpu_test.ts @@ -21,7 +21,7 @@ import { unreachable, } from '../common/util/util.js'; -import { kLimits, kQueryTypeInfo, WGSLLanguageFeature } from './capability_info.js'; +import { kPossibleLimits, kQueryTypeInfo, WGSLLanguageFeature } from './capability_info.js'; import { InterpolationType, InterpolationSampling } from './constants.js'; import { resolvePerAspectFormat, @@ -352,7 +352,7 @@ export class GPUTestBase extends Fixture<GPUTestSubcaseBatchState> { return globalTestConfig.compatibility; } - makeLimitVariant(limit: (typeof kLimits)[number], variant: ValueTestVariant) { + makeLimitVariant(limit: (typeof kPossibleLimits)[number], variant: ValueTestVariant) { return makeValueTestVariant(this.device.limits[limit]!, variant); } diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/idl/javascript.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/idl/javascript.spec.ts @@ -25,14 +25,14 @@ import { raceWithRejectOnTimeout, unreachable, } from '../../common/util/util.js'; -import { getDefaultLimitsForDevice, kLimits } from '../capability_info.js'; +import { getDefaultLimitsForDevice, kPossibleLimits } from '../capability_info.js'; import { AllFeaturesMaxLimitsGPUTest, GPUTest } from '../gpu_test.js'; // MAINTENANCE_TODO: Remove this filter when these limits are added to the spec. const isUnspecifiedLimit = (limit: string) => /maxStorage(Buffer|Texture)sIn(Vertex|Fragment)Stage/.test(limit); -const kSpecifiedLimits = kLimits.filter(s => !isUnspecifiedLimit(s)); +const kSpecifiedLimits = kPossibleLimits.filter(s => !isUnspecifiedLimit(s)); type ResourceInfo = { create: (t: GPUTest) => Object; diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/util/device_pool.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/util/device_pool.ts @@ -7,7 +7,7 @@ import { assertReject, unreachable, } from '../../common/util/util.js'; -import { getDefaultLimits, kLimits } from '../capability_info.js'; +import { getDefaultLimits, kPossibleLimits } from '../capability_info.js'; // MUST_NOT_BE_IMPORTED_BY_DATA_CACHE // This file should not be transitively imported by .cache.ts files @@ -283,9 +283,9 @@ function canonicalizeDescriptor( assert(featureLevel === 'compatibility' || featureLevel === 'core'); const defaultLimits = getDefaultLimits(featureLevel); if (desc.requiredLimits) { - for (const limit of kLimits) { + for (const limit of kPossibleLimits) { const requestedValue = desc.requiredLimits[limit]; - const defaultValue = defaultLimits[limit].default; + const defaultValue = defaultLimits[limit]?.default; // Skip adding a limit to limitsCanonicalized if it is the same as the default. if (requestedValue !== undefined && requestedValue !== defaultValue) { limitsCanonicalized[limit] = requestedValue; diff --git a/dom/webgpu/tests/cts/checkout/tools/gen_version b/dom/webgpu/tests/cts/checkout/tools/gen_version @@ -14,7 +14,7 @@ if (!fs.existsSync(myself)) { process.exit(1); } -const version = '59ba3eb8052c6568be10c09dd3e9e6ab285b7255'; +const version = '0d83aa349b1bff0e1d5518e1ea19d027a25bc6c2'; fs.mkdirSync('./gen/common/internal', { recursive: true }); // This will be copied into the various other build directories. diff --git a/dom/webgpu/tests/cts/moz.yaml b/dom/webgpu/tests/cts/moz.yaml @@ -8,8 +8,8 @@ origin: name: WebGPU CTS description: WebGPU Compliance Test Suite url: https://gpuweb.github.io/cts/ - release: 59ba3eb8052c6568be10c09dd3e9e6ab285b7255 (2025-09-19T17:15:27Z). - revision: 59ba3eb8052c6568be10c09dd3e9e6ab285b7255 + release: 0d83aa349b1bff0e1d5518e1ea19d027a25bc6c2 (2025-09-25T18:46:10Z). + revision: 0d83aa349b1bff0e1d5518e1ea19d027a25bc6c2 license: ['BSD-3-Clause'] updatebot: diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/adapter/requestDevice/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/adapter/requestDevice/cts.https.html.ini @@ -63,7 +63,6 @@ [cts.https.html?q=webgpu:api,operation,adapter,requestDevice:limit,better_than_supported:*] - implementation-status: backlog [:limit="maxBindGroups"] [:limit="maxBindGroupsPlusVertexBuffers"] @@ -100,13 +99,15 @@ [:limit="maxStorageBufferBindingSize"] + [:limit="maxStorageBuffersInFragmentStage"] + + [:limit="maxStorageBuffersInVertexStage"] + [:limit="maxStorageBuffersPerShaderStage"] [:limit="maxStorageTexturesInFragmentStage"] - expected: FAIL [:limit="maxStorageTexturesInVertexStage"] - expected: FAIL [:limit="maxStorageTexturesPerShaderStage"] @@ -172,13 +173,15 @@ [:limit="maxStorageBufferBindingSize"] + [:limit="maxStorageBuffersInFragmentStage"] + + [:limit="maxStorageBuffersInVertexStage"] + [:limit="maxStorageBuffersPerShaderStage"] [:limit="maxStorageTexturesInFragmentStage"] - expected: FAIL [:limit="maxStorageTexturesInVertexStage"] - expected: FAIL [:limit="maxStorageTexturesPerShaderStage"] @@ -247,13 +250,15 @@ [:limit="maxStorageBufferBindingSize"] + [:limit="maxStorageBuffersInFragmentStage"] + + [:limit="maxStorageBuffersInVertexStage"] + [:limit="maxStorageBuffersPerShaderStage"] [:limit="maxStorageTexturesInFragmentStage"] - expected: FAIL [:limit="maxStorageTexturesInVertexStage"] - expected: FAIL [:limit="maxStorageTexturesPerShaderStage"] @@ -337,14 +342,16 @@ [:limit="maxStorageBufferBindingSize"] expected: FAIL + [:limit="maxStorageBuffersInFragmentStage"] + + [:limit="maxStorageBuffersInVertexStage"] + [:limit="maxStorageBuffersPerShaderStage"] expected: FAIL [:limit="maxStorageTexturesInFragmentStage"] - expected: FAIL [:limit="maxStorageTexturesInVertexStage"] - expected: FAIL [:limit="maxStorageTexturesPerShaderStage"] expected: FAIL diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/command_buffer/copyTextureToTexture/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/operation/command_buffer/copyTextureToTexture/cts.https.html.ini @@ -1548,10 +1548,12 @@ [:srcFormat="rg16float";dstFormat="rg16float";dimension="2d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rg16float";dstFormat="rg16float";dimension="3d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rg16sint";dstFormat="rg16sint";dimension="1d"] @@ -1562,6 +1564,8 @@ [:srcFormat="rg16sint";dstFormat="rg16sint";dimension="2d"] [:srcFormat="rg16sint";dstFormat="rg16sint";dimension="3d"] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rg16snorm";dstFormat="rg16snorm";dimension="1d"] expected: @@ -1731,10 +1735,12 @@ [:srcFormat="rgba16sint";dstFormat="rgba16sint";dimension="2d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rgba16sint";dstFormat="rgba16sint";dimension="3d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rgba16snorm";dstFormat="rgba16snorm";dimension="1d"] @@ -1755,10 +1761,12 @@ [:srcFormat="rgba16uint";dstFormat="rgba16uint";dimension="2d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rgba16uint";dstFormat="rgba16uint";dimension="3d"] expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:srcFormat="rgba16unorm";dstFormat="rgba16unorm";dimension="1d"] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/capability_checks/limits/maxStorageTexturesPerShaderStage/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/capability_checks/limits/maxStorageTexturesPerShaderStage/cts.https.html.ini @@ -227,34 +227,64 @@ [:limitTest="atMaximum";testValueName="atLimit";visibility=4;access="write-only";order="shiftByHalf"] [:limitTest="atMaximum";testValueName="atLimit";visibility=5;access="read-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=5;access="read-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=5;access="read-only";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-only";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-write";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-write";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="read-write";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="write-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="write-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=6;access="write-only";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=7;access="read-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=7;access="read-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="atLimit";visibility=7;access="read-only";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=1;access="read-only";order="backward"] @@ -323,18 +353,28 @@ [:limitTest="atMaximum";testValueName="overLimit";visibility=6;access="read-write";order="shiftByHalf"] [:limitTest="atMaximum";testValueName="overLimit";visibility=6;access="write-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=6;access="write-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=6;access="write-only";order="shiftByHalf"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=7;access="read-only";order="backward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=7;access="read-only";order="forward"] + expected: + if os == "win" and not debug: [PASS, FAIL] [:limitTest="atMaximum";testValueName="overLimit";visibility=7;access="read-only";order="shiftByHalf"] expected: - if os == "win" and debug: [PASS, FAIL] + if os == "win": [PASS, FAIL] [:limitTest="betweenDefaultAndMaximum";testValueName="atLimit";visibility=1;access="read-only";order="backward"] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/resource_usages/texture/in_render_common/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/resource_usages/texture/in_render_common/cts.https.html.ini @@ -3056,7 +3056,8 @@ tags: [webgpu, webgpu-long] implementation-status: backlog expected: - if os == "mac": TIMEOUT + if os == "mac" and debug: [OK, TIMEOUT] + if os == "mac" and not debug: TIMEOUT [:bg0Levels={"base":0,"count":1};bg0Layers={"base":0,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="readonly-storage-texture";bgUsage1="readonly-storage-texture"] [:bg0Levels={"base":0,"count":1};bg0Layers={"base":0,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="readonly-storage-texture";bgUsage1="readwrite-storage-texture"] @@ -5686,155 +5687,191 @@ [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":0,"count":3};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: @@ -5854,13 +5891,11 @@ [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: @@ -5868,8 +5903,7 @@ [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: @@ -5905,260 +5939,268 @@ [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac": [FAIL, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac": [FAIL, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac": [FAIL, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":1};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":0,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readonly-storage-texture"] expected: if os == "win": FAIL if os == "linux": FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="readwrite-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":1};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="writeonly-storage-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":2};bg1Layers={"base":0,"count":3};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":1};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:bg0Levels={"base":1,"count":2};bg0Layers={"base":1,"count":2};bg1Levels={"base":1,"count":2};bg1Layers={"base":1,"count":2};bgUsage0="sampled-texture";bgUsage1="sampled-texture"] expected: - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac" and not debug: [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/state/device_lost/destroy/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/state/device_lost/destroy/cts.https.html.ini @@ -685,7 +685,8 @@ [cts.https.html?q=webgpu:api,validation,state,device_lost,destroy:createTexture,2d,compressed_format:*] implementation-status: backlog expected: - if os == "win": TIMEOUT + if os == "win" and debug: TIMEOUT + if os == "win" and not debug: [OK, TIMEOUT] if os == "linux": [OK, TIMEOUT] if os == "mac": TIMEOUT [:format="astc-10x10-unorm";usageType="texture";usageCopy="dst";awaitLost=false] @@ -1245,13 +1246,15 @@ [:format="astc-12x12-unorm-srgb";usageType="texture";usageCopy="dst";awaitLost=false] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="astc-12x12-unorm-srgb";usageType="texture";usageCopy="dst";awaitLost=true] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -1271,7 +1274,8 @@ [:format="astc-12x12-unorm-srgb";usageType="texture";usageCopy="src";awaitLost=false] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -1284,13 +1288,15 @@ [:format="astc-12x12-unorm-srgb";usageType="texture";usageCopy="src-dest";awaitLost=false] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="astc-12x12-unorm-srgb";usageType="texture";usageCopy="src-dest";awaitLost=true] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -5433,38 +5439,37 @@ [:format="rgba8sint";usageType="storage";usageCopy="dst";awaitLost=false] expected: - if os == "win": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="storage";usageCopy="dst";awaitLost=true] expected: - if os == "win": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="storage";usageCopy="none";awaitLost=false] expected: - if os == "win": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="storage";usageCopy="none";awaitLost=true] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="storage";usageCopy="src";awaitLost=false] expected: - if os == "win": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="storage";usageCopy="src";awaitLost=true] expected: - if os == "win": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -5482,62 +5487,51 @@ [:format="rgba8sint";usageType="texture";usageCopy="dst";awaitLost=false] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="dst";awaitLost=true] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="none";awaitLost=false] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="none";awaitLost=true] - expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux": [PASS, TIMEOUT, NOTRUN] - if os == "mac": [PASS, TIMEOUT, NOTRUN] + expected: [PASS, TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="src";awaitLost=false] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="src";awaitLost=true] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="src-dest";awaitLost=false] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="rgba8sint";usageType="texture";usageCopy="src-dest";awaitLost=true] expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and not debug: [TIMEOUT, NOTRUN] @@ -5717,18 +5711,10 @@ expected: [PASS, TIMEOUT, NOTRUN] [:format="rgba8uint";usageType="render";usageCopy="src-dest";awaitLost=false] - expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux": [PASS, TIMEOUT, NOTRUN] - if os == "mac": [PASS, TIMEOUT, NOTRUN] + expected: [PASS, TIMEOUT, NOTRUN] [:format="rgba8uint";usageType="render";usageCopy="src-dest";awaitLost=true] - expected: - if os == "win" and debug: [PASS, FAIL, TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux": [PASS, TIMEOUT, NOTRUN] - if os == "mac": [PASS, TIMEOUT, NOTRUN] + expected: [PASS, TIMEOUT, NOTRUN] [:format="rgba8uint";usageType="storage";usageCopy="dst";awaitLost=false] expected: [PASS, TIMEOUT, NOTRUN] @@ -6413,15 +6399,13 @@ [:format="astc-12x10-unorm";usageType="texture";usageCopy="none";awaitLost=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="astc-12x10-unorm";usageType="texture";usageCopy="none";awaitLost=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -6434,8 +6418,7 @@ [:format="astc-12x10-unorm";usageType="texture";usageCopy="src";awaitLost=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupAdd/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupAdd/cts.https.html.ini @@ -3551,13 +3551,11 @@ [:case=433;type="f16";wgSize=[128,1,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=433;type="f16";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=433;type="f32";wgSize=[128,1,1\]] expected: @@ -3565,48 +3563,39 @@ [:case=433;type="f32";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=434;type="f16";wgSize=[128,1,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=434;type="f16";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=434;type="f32";wgSize=[128,1,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=434;type="f32";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=435;type="f16";wgSize=[128,1,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=435;type="f16";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=435;type="f32";wgSize=[128,1,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=435;type="f32";wgSize=[64,2,1\]] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and not debug: [TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:case=436;type="f16";wgSize=[128,1,1\]] expected: @@ -9608,14 +9597,16 @@ [:case=749;type="f16";wgSize=[128,1,1\]] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:case=749;type="f16";wgSize=[64,2,1\]] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupMul/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/subgroupMul/cts.https.html.ini @@ -9408,13 +9408,13 @@ [:case=738;type="f16";wgSize=[128,1,1\]] expected: - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:case=738;type="f16";wgSize=[64,2,1\]] expected: - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -9426,7 +9426,7 @@ [:case=738;type="f32";wgSize=[64,2,1\]] expected: - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -9442,7 +9442,7 @@ [:case=739;type="f32";wgSize=[128,1,1\]] expected: - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] + if os == "win": [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:case=739;type="f32";wgSize=[64,2,1\]] @@ -9661,14 +9661,16 @@ [:case=748;type="f16";wgSize=[128,1,1\]] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:case=748;type="f16";wgSize=[64,2,1\]] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -9705,7 +9707,8 @@ [:case=749;type="f32";wgSize=[128,1,1\]] expected: - if os == "win": [TIMEOUT, NOTRUN] + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSample/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSample/cts.https.html.ini @@ -37953,6 +37953,7 @@ [:format="r16unorm";dim="3d";filt="linear";modeU="c";modeV="c";modeW="m";offset=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -57898,14 +57899,17 @@ [:format="bc3-rgba-unorm";filt="linear";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc3-rgba-unorm";filt="linear";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc3-rgba-unorm";filt="linear";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc3-rgba-unorm";filt="nearest";mode="c"] @@ -57915,6 +57919,7 @@ [:format="bc3-rgba-unorm";filt="nearest";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc3-rgba-unorm";filt="nearest";mode="r"] @@ -57939,6 +57944,7 @@ [:format="bc3-rgba-unorm-srgb";filt="nearest";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc3-rgba-unorm-srgb";filt="nearest";mode="m"] @@ -58034,6 +58040,7 @@ [:format="bc5-rg-snorm";filt="nearest";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] @@ -58049,31 +58056,37 @@ [:format="bc5-rg-unorm";filt="linear";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-unorm";filt="linear";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-unorm";filt="linear";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-unorm";filt="nearest";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-unorm";filt="nearest";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-unorm";filt="nearest";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleBias/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleBias/cts.https.html.ini @@ -3763,8 +3763,7 @@ expected: if os == "win" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "win" and not debug: FAIL - if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] - if os == "linux" and not debug: FAIL + if os == "linux": [FAIL, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bc2-rgba-unorm-srgb";filt="linear";modeU="m";modeV="c";offset=false] @@ -4720,7 +4719,7 @@ [:format="bc4-r-unorm";filt="nearest";modeU="r";modeV="c";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "win" and not debug: FAIL if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -4740,7 +4739,11 @@ if os == "mac": [TIMEOUT, NOTRUN] [:format="bc4-r-unorm";filt="nearest";modeU="r";modeV="m";offset=true] - expected: [TIMEOUT, NOTRUN] + expected: + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "linux": [TIMEOUT, NOTRUN] + if os == "mac": [TIMEOUT, NOTRUN] [:format="bc4-r-unorm";filt="nearest";modeU="r";modeV="r";offset=false] expected: @@ -7748,16 +7751,32 @@ expected: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="c";modeV="m";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="c";modeV="m";offset=true] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="c";modeV="r";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="c";modeV="r";offset=true] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="m";modeV="c";offset=false] expected: @@ -7802,13 +7821,25 @@ if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="c";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="c";offset=true] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="m";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="m";offset=true] expected: @@ -7818,10 +7849,18 @@ if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="r";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="r";modeV="r";offset=true] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg16float";filt="linear";modeU="c";modeV="c";offset=false] expected: FAIL @@ -10440,7 +10479,7 @@ [:format="bc1-rgba-unorm";filt="nearest";mode="c"] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:format="bc1-rgba-unorm";filt="nearest";mode="m"] expected: @@ -10450,7 +10489,7 @@ [:format="bc1-rgba-unorm";filt="nearest";mode="r"] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:format="bc1-rgba-unorm-srgb";filt="linear";mode="c"] expected: @@ -10659,6 +10698,7 @@ [:format="bc4-r-unorm";filt="nearest";mode="c"] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc4-r-unorm";filt="nearest";mode="m"] @@ -10670,20 +10710,24 @@ [:format="bc4-r-unorm";filt="nearest";mode="r"] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-snorm";filt="linear";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-snorm";filt="linear";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc5-rg-snorm";filt="linear";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] @@ -10743,31 +10787,37 @@ [:format="bc7-rgba-unorm";filt="linear";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm";filt="linear";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm";filt="linear";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm";filt="nearest";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm";filt="nearest";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm";filt="nearest";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] @@ -10788,16 +10838,19 @@ [:format="bc7-rgba-unorm-srgb";filt="nearest";mode="c"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm-srgb";filt="nearest";mode="m"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] [:format="bc7-rgba-unorm-srgb";filt="nearest";mode="r"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] @@ -16161,7 +16214,11 @@ if os == "mac": [TIMEOUT, NOTRUN] [:format="bc4-r-unorm";filt="nearest";modeU="r";modeV="m";offset=true] - expected: [TIMEOUT, NOTRUN] + expected: + if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] + if os == "linux": [TIMEOUT, NOTRUN] + if os == "mac": [TIMEOUT, NOTRUN] [:format="bc4-r-unorm";filt="nearest";modeU="r";modeV="r";offset=false] expected: @@ -19192,7 +19249,11 @@ expected: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="m";modeV="m";offset=false] - expected: FAIL + expected: + if os == "win": FAIL + if os == "linux": FAIL + if os == "mac" and debug: [FAIL, TIMEOUT, NOTRUN] + if os == "mac" and not debug: FAIL [:format="rg11b10ufloat";filt="nearest";modeU="m";modeV="m";offset=true] expected: @@ -42132,19 +42193,19 @@ [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="m";modeV="c";modeW="c";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="m";modeV="c";modeW="m";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="m";modeV="c";modeW="r";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -42204,19 +42265,19 @@ [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="r";modeV="m";modeW="c";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="r";modeV="m";modeW="m";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="r";modeV="m";modeW="r";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -42228,13 +42289,13 @@ [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="r";modeV="r";modeW="m";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:format="bgra8unorm-srgb";dim="cube";filt="nearest";modeU="r";modeV="r";modeW="r";offset=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux": [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleCompareLevel/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleCompareLevel/cts.https.html.ini @@ -4029,7 +4029,8 @@ if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] [:stage="f";format="depth24plus-stencil8";filt="linear";modeU="m";modeV="c";offset=true] expected: @@ -4095,7 +4096,8 @@ if os == "win" and not debug: FAIL if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] [:stage="f";format="depth24plus-stencil8";filt="linear";modeU="r";modeV="m";offset=true] expected: @@ -4103,7 +4105,8 @@ if os == "win" and not debug: [FAIL, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: FAIL - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] [:stage="f";format="depth24plus-stencil8";filt="linear";modeU="r";modeV="r";offset=false] expected: diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleLevel/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureSampleLevel/cts.https.html.ini @@ -2807,6 +2807,8 @@ if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:stage="c";format="astc-8x5-unorm-srgb";filt="linear";modeU="r";modeV="c"] + expected: + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:stage="c";format="astc-8x5-unorm-srgb";filt="linear";modeU="r";modeV="m"] expected: @@ -19832,6 +19834,7 @@ [:stage="c";format="bc3-rgba-unorm";filt="nearest";modeU="r";modeV="r";offset=false] expected: if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="bc3-rgba-unorm";filt="nearest";modeU="r";modeV="r";offset=true] @@ -43383,6 +43386,7 @@ [:stage="f";format="depth24plus-stencil8";dim="3d";filt="nearest"] expected: + if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] @@ -43838,9 +43842,7 @@ [:stage="f";format="rg32float";dim="cube";filt="linear"] expected: - if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if debug: [PASS, TIMEOUT, NOTRUN] [:stage="f";format="rg32float";dim="cube";filt="nearest"] expected: @@ -44002,9 +44004,7 @@ [:stage="f";format="rgba32float";dim="3d";filt="nearest"] expected: - if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if debug: [PASS, TIMEOUT, NOTRUN] [:stage="f";format="rgba32float";dim="cube";filt="linear"] expected: @@ -48426,24 +48426,28 @@ expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="3d";filt="linear";mode="m";offset=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="3d";filt="linear";mode="r";offset=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="3d";filt="linear";mode="r";offset=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="3d";filt="nearest";mode="c";offset=false] @@ -48486,6 +48490,7 @@ expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="cube";filt="linear";mode="m";offset=false] @@ -48506,18 +48511,21 @@ expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="cube";filt="nearest";mode="m";offset=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-6x6-unorm-srgb";dim="cube";filt="nearest";mode="r";offset=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="astc-8x5-unorm";dim="3d";filt="linear";mode="c";offset=false] @@ -65074,6 +65082,7 @@ [:stage="c";format="bc2-rgba-unorm";filt="linear";modeU="m";modeV="m";offset=true] expected: if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:stage="c";format="bc2-rgba-unorm";filt="linear";modeU="m";modeV="r";offset=false] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/call/builtin/subgroupShuffle/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/call/builtin/subgroupShuffle/cts.https.html.ini @@ -1315,7 +1315,7 @@ [:retType="i32";op="subgroupShuffleDown";paramType="vec2%3Cu32%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="i32";op="subgroupShuffleDown";paramType="vec3%3Cabstract-float%3E"] expected: @@ -1341,7 +1341,7 @@ [:retType="i32";op="subgroupShuffleDown";paramType="vec3%3Cu32%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="i32";op="subgroupShuffleDown";paramType="vec4%3Cabstract-float%3E"] expected: @@ -1367,7 +1367,7 @@ [:retType="i32";op="subgroupShuffleDown";paramType="vec4%3Cu32%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="i32";op="subgroupShuffleUp";paramType="abstract-float"] @@ -2603,23 +2603,23 @@ [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="abstract-float"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="abstract-int"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="bool"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="f16"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="f32"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="i32"] expected: @@ -2635,11 +2635,11 @@ [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec2%3Cabstract-int%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec2%3Cbool%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec2%3Cf16%3E"] expected: @@ -2667,7 +2667,7 @@ [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec3%3Cbool%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec3%3Cf16%3E"] expected: @@ -2695,7 +2695,7 @@ [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec4%3Cbool%3E"] expected: - if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "mac": [PASS, TIMEOUT, NOTRUN] [:retType="vec2%3Ci32%3E";op="subgroupShuffle";paramType="vec4%3Cf16%3E"] expected: diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/canvas/readbackFromWebGPUCanvas/shared.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/canvas/readbackFromWebGPUCanvas/shared.https.html.ini @@ -117,6 +117,8 @@ [shared.https.html?worker=shared&q=webgpu:web_platform,canvas,readbackFromWebGPUCanvas:offscreenCanvas,snapshot:*] implementation-status: backlog + expected: + if os == "linux" and not debug: [OK, CRASH] [:format="bgra8unorm";alphaMode="opaque";colorSpace="display-p3";snapshotType="convertToBlob"] expected: FAIL diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/cts.https.html.ini @@ -1335,12 +1335,12 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="r16float";dstPremultiplied=false] expected: if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="r16float";dstPremultiplied=true] expected: if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="r16snorm";dstPremultiplied=false] expected: @@ -1378,12 +1378,13 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="r8unorm";dstPremultiplied=false] expected: - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="r8unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: @@ -1542,22 +1543,26 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r32float";dstPremultiplied=false] @@ -1566,12 +1571,14 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8unorm";dstPremultiplied=false] @@ -1580,12 +1587,14 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16float";dstPremultiplied=false] @@ -1594,22 +1603,26 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg32float";dstPremultiplied=false] @@ -1618,12 +1631,14 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8unorm";dstPremultiplied=false] @@ -1657,22 +1672,26 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba32float";dstPremultiplied=false] expected: @@ -1686,12 +1705,14 @@ [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and debug: [PASS, TIMEOUT, NOTRUN] [:alpha="none";orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8unorm";dstPremultiplied=false] @@ -3171,35 +3192,23 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r32float";dstPremultiplied=false] expected: @@ -3213,19 +3222,13 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r8unorm";dstPremultiplied=false] expected: @@ -3239,19 +3242,13 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg16float";dstPremultiplied=false] expected: @@ -3265,35 +3262,23 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg32float";dstPremultiplied=false] expected: @@ -3307,19 +3292,13 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rg8unorm";dstPremultiplied=false] expected: @@ -3353,35 +3332,23 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba32float";dstPremultiplied=false] expected: @@ -3395,19 +3362,13 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=false] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=true] expected: - if os == "win" and debug: [TIMEOUT, NOTRUN] - if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "linux" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] + if debug: [TIMEOUT, NOTRUN] + if not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba8unorm";dstPremultiplied=false] expected: @@ -5520,21 +5481,25 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r32float";dstPremultiplied=false] @@ -5544,11 +5509,13 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="r8unorm";dstPremultiplied=false] @@ -5558,11 +5525,13 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg11b10ufloat";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16float";dstPremultiplied=false] @@ -5572,21 +5541,25 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg32float";dstPremultiplied=false] @@ -5596,11 +5569,13 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rg8unorm";dstPremultiplied=false] @@ -5634,21 +5609,25 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba32float";dstPremultiplied=false] @@ -5664,11 +5643,13 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [PASS, TIMEOUT, NOTRUN] + if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=true;dstFormat="rgba8unorm";dstPremultiplied=false] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/dedicated.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/dedicated.https.html.ini @@ -2798,24 +2798,28 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -2838,12 +2842,14 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="r8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -2866,12 +2872,14 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg11b10ufloat";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -2880,36 +2888,42 @@ if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg16float";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -2925,17 +2939,20 @@ if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -2990,24 +3007,28 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba16snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba16snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba16unorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba16unorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] @@ -3030,12 +3051,14 @@ [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba8snorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rgba8snorm";dstPremultiplied=true] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "win" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "mac": [TIMEOUT, NOTRUN] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/shared.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageBitmap/shared.https.html.ini @@ -2878,7 +2878,8 @@ if os == "win" and debug: [TIMEOUT, NOTRUN] if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=false;dstFormat="rg11b10ufloat";dstPremultiplied=false] expected: @@ -3121,6 +3122,7 @@ if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="bgra8unorm-srgb";dstPremultiplied=true] expected: @@ -3128,6 +3130,7 @@ if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="r16float";dstPremultiplied=false] expected: @@ -3332,7 +3335,7 @@ if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: FAIL + if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgb10a2unorm";dstPremultiplied=true] expected: @@ -3341,7 +3344,7 @@ if os == "linux" and debug: [TIMEOUT, NOTRUN] if os == "linux" and not debug: [FAIL, TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] - if os == "mac" and not debug: FAIL + if os == "mac" and not debug: [FAIL, TIMEOUT, NOTRUN] [:alpha="premultiply";orientation="none";colorSpaceConversion="default";srcFlipYInCopy=true;dstFormat="rgba16float";dstPremultiplied=false] expected: @@ -5277,6 +5280,7 @@ [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="rg8unorm";dstPremultiplied=false] expected: if os == "win" and debug: [TIMEOUT, NOTRUN] + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] if os == "mac" and debug: [TIMEOUT, NOTRUN] [:orientation="none";colorSpaceConversion="none";srcFlipYInCopy=false;dstFormat="rg8unorm";dstPremultiplied=true] diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageData/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/ImageData/cts.https.html.ini @@ -52,12 +52,20 @@ expected: FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="r16snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r16snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r16unorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r16unorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r32float";dstPremultiplied=false] expected: FAIL @@ -66,8 +74,12 @@ expected: FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="r8snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r8snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="r8unorm";dstPremultiplied=false] expected: FAIL @@ -76,8 +88,12 @@ expected: FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="rg11b10ufloat";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg11b10ufloat";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg16float";dstPremultiplied=false] expected: FAIL @@ -86,12 +102,20 @@ expected: FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="rg16snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg16snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg16unorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg16unorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg32float";dstPremultiplied=false] expected: FAIL @@ -100,8 +124,12 @@ expected: FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="rg8snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg8snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rg8unorm";dstPremultiplied=false] expected: FAIL @@ -138,12 +166,20 @@ if os == "mac": FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba16snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba16snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba16unorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba16unorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba32float";dstPremultiplied=false] expected: @@ -160,8 +196,12 @@ if os == "mac": FAIL [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba8snorm";dstPremultiplied=false] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba8snorm";dstPremultiplied=true] + expected: + if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN] [:srcDoFlipYDuringCopy=false;dstColorFormat="rgba8unorm";dstPremultiplied=false] expected: FAIL diff --git a/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/canvas/cts.https.html.ini b/testing/web-platform/mozilla/meta/webgpu/cts/webgpu/web_platform/copyToTexture/canvas/cts.https.html.ini @@ -3015,7 +3015,8 @@ [:canvasType="offscreen";contextName="webgl2";dstColorFormat="rg32float";srcPremultiplied=false;dstAlphaMode="opaque";srcDoFlipYDuringCopy=false] expected: if os == "linux": [TIMEOUT, NOTRUN] - if os == "mac": [TIMEOUT, NOTRUN] + if os == "mac" and debug: [TIMEOUT, NOTRUN] + if os == "mac" and not debug: [PASS, TIMEOUT, NOTRUN] [:canvasType="offscreen";contextName="webgl2";dstColorFormat="rg32float";srcPremultiplied=false;dstAlphaMode="opaque";srcDoFlipYDuringCopy=true] expected: diff --git a/testing/web-platform/mozilla/tests/webgpu/common/internal/version.js b/testing/web-platform/mozilla/tests/webgpu/common/internal/version.js @@ -1,3 +1,3 @@ // AUTO-GENERATED - DO NOT EDIT. See tools/gen_version. -export const version = '59ba3eb8052c6568be10c09dd3e9e6ab285b7255'; +export const version = '0d83aa349b1bff0e1d5518e1ea19d027a25bc6c2'; diff --git a/testing/web-platform/mozilla/tests/webgpu/common/util/util.js b/testing/web-platform/mozilla/tests/webgpu/common/util/util.js @@ -303,6 +303,16 @@ export function reorder(order, arr) { } } +/** + * A typed version of Object.entries + */ + +export function typedEntries(obj) { + // The cast is done once, inside the helper function, + // keeping the call site clean and type-safe. + return Object.entries(obj); +} + const TypedArrayBufferViewInstances = [ new Uint8Array(), new Uint8ClampedArray(), diff --git a/testing/web-platform/mozilla/tests/webgpu/resources/cache/hashes.json b/testing/web-platform/mozilla/tests/webgpu/resources/cache/hashes.json @@ -1,112 +1,112 @@ { - "webgpu/shader/execution/binary/af_addition.bin": "28a63d32", - "webgpu/shader/execution/binary/af_logical.bin": "56e14141", - "webgpu/shader/execution/binary/af_division.bin": "f66aae6c", - "webgpu/shader/execution/binary/af_matrix_addition.bin": "192e5aab", - "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "38fb4fb5", - "webgpu/shader/execution/binary/af_multiplication.bin": "e9913953", - "webgpu/shader/execution/binary/af_remainder.bin": "8179ee81", - "webgpu/shader/execution/binary/af_subtraction.bin": "27671e11", - "webgpu/shader/execution/binary/f16_addition.bin": "a79027b7", - "webgpu/shader/execution/binary/f16_logical.bin": "6acbce9b", - "webgpu/shader/execution/binary/f16_division.bin": "9bbd764d", - "webgpu/shader/execution/binary/f16_matrix_addition.bin": "3da67d8", - "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "76f6e12", - "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "792fca65", - "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "eb358ec2", - "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "a8ab28d8", - "webgpu/shader/execution/binary/f16_multiplication.bin": "353840bb", - "webgpu/shader/execution/binary/f16_remainder.bin": "ba31f90b", - "webgpu/shader/execution/binary/f16_subtraction.bin": "1d8bac67", - "webgpu/shader/execution/binary/f32_addition.bin": "155a837c", - "webgpu/shader/execution/binary/f32_logical.bin": "7386e68a", - "webgpu/shader/execution/binary/f32_division.bin": "cf1e3f65", - "webgpu/shader/execution/binary/f32_matrix_addition.bin": "6caaf727", - "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "60eef2a7", - "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "49ae2eab", - "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "3b29ae6b", - "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "f45104ff", - "webgpu/shader/execution/binary/f32_multiplication.bin": "a07f42dc", - "webgpu/shader/execution/binary/f32_remainder.bin": "b53c75e7", - "webgpu/shader/execution/binary/f32_subtraction.bin": "752ec350", - "webgpu/shader/execution/binary/i32_arithmetic.bin": "cf471fa9", - "webgpu/shader/execution/binary/i32_comparison.bin": "9780d785", - "webgpu/shader/execution/binary/u32_arithmetic.bin": "f028486b", - "webgpu/shader/execution/binary/u32_comparison.bin": "7563b8b8", - "webgpu/shader/execution/abs.bin": "78ce83f3", - "webgpu/shader/execution/acos.bin": "f92ed471", - "webgpu/shader/execution/acosh.bin": "97755fe3", - "webgpu/shader/execution/asin.bin": "ce23bbf1", - "webgpu/shader/execution/asinh.bin": "f0d14ac8", - "webgpu/shader/execution/atan.bin": "2c91354f", - "webgpu/shader/execution/atan2.bin": "37ad67d", - "webgpu/shader/execution/atanh.bin": "e2bd3955", - "webgpu/shader/execution/bitcast.bin": "c6be26e0", - "webgpu/shader/execution/ceil.bin": "e0ed294", - "webgpu/shader/execution/clamp.bin": "60fbb47b", - "webgpu/shader/execution/cos.bin": "cf6ba7e0", - "webgpu/shader/execution/cosh.bin": "e147272e", - "webgpu/shader/execution/cross.bin": "28be8d3f", - "webgpu/shader/execution/degrees.bin": "8535ce8d", - "webgpu/shader/execution/determinant.bin": "7f9af499", - "webgpu/shader/execution/distance.bin": "24167db6", - "webgpu/shader/execution/dot.bin": "3150f69d", - "webgpu/shader/execution/exp.bin": "d57815df", - "webgpu/shader/execution/exp2.bin": "15222aef", - "webgpu/shader/execution/faceForward.bin": "6b419a20", - "webgpu/shader/execution/floor.bin": "125c1875", - "webgpu/shader/execution/fma.bin": "b29845d1", - "webgpu/shader/execution/fract.bin": "e181b3a6", - "webgpu/shader/execution/frexp.bin": "d658829", - "webgpu/shader/execution/inverseSqrt.bin": "2fe9fe7b", - "webgpu/shader/execution/ldexp.bin": "15def3e0", - "webgpu/shader/execution/length.bin": "d313a89f", - "webgpu/shader/execution/log.bin": "dac65037", - "webgpu/shader/execution/log2.bin": "a4033f79", - "webgpu/shader/execution/max.bin": "2c454b32", - "webgpu/shader/execution/min.bin": "47691233", - "webgpu/shader/execution/mix.bin": "9746cd20", - "webgpu/shader/execution/modf.bin": "3cb39071", - "webgpu/shader/execution/normalize.bin": "1509b243", - "webgpu/shader/execution/pack2x16float.bin": "384298e7", - "webgpu/shader/execution/pow.bin": "fe0c5478", - "webgpu/shader/execution/quantizeToF16.bin": "ffeb8025", - "webgpu/shader/execution/radians.bin": "73f762be", - "webgpu/shader/execution/reflect.bin": "1019764d", - "webgpu/shader/execution/refract.bin": "8b2186c3", - "webgpu/shader/execution/round.bin": "549222a5", - "webgpu/shader/execution/saturate.bin": "5edf7ef9", - "webgpu/shader/execution/sign.bin": "92555626", - "webgpu/shader/execution/sin.bin": "10b6a694", - "webgpu/shader/execution/sinh.bin": "8f4837d3", - "webgpu/shader/execution/smoothstep.bin": "5bf49064", - "webgpu/shader/execution/sqrt.bin": "4efcb6a", - "webgpu/shader/execution/step.bin": "5ae9956c", - "webgpu/shader/execution/tan.bin": "b0e5fbc7", - "webgpu/shader/execution/tanh.bin": "89e6eaa8", - "webgpu/shader/execution/transpose.bin": "696932d6", - "webgpu/shader/execution/trunc.bin": "8fb39c21", - "webgpu/shader/execution/unpack2x16float.bin": "d6e20d59", - "webgpu/shader/execution/unpack2x16snorm.bin": "1e023311", - "webgpu/shader/execution/unpack2x16unorm.bin": "4d370680", - "webgpu/shader/execution/unpack4x8snorm.bin": "e5cc316c", - "webgpu/shader/execution/unpack4x8unorm.bin": "b23db08b", - "webgpu/shader/execution/unary/af_arithmetic.bin": "a48d44cc", - "webgpu/shader/execution/unary/af_assignment.bin": "c258f2c4", - "webgpu/shader/execution/unary/bool_conversion.bin": "e9d6fe51", - "webgpu/shader/execution/unary/f16_arithmetic.bin": "85509270", - "webgpu/shader/execution/unary/f16_conversion.bin": "bb834c14", - "webgpu/shader/execution/unary/f32_arithmetic.bin": "389e237e", - "webgpu/shader/execution/unary/f32_conversion.bin": "634dff8a", - "webgpu/shader/execution/unary/i32_arithmetic.bin": "7e96ad50", - "webgpu/shader/execution/unary/i32_conversion.bin": "a6282800", - "webgpu/shader/execution/unary/u32_conversion.bin": "5cc243a5", - "webgpu/shader/execution/unary/ai_assignment.bin": "46e8aec1", - "webgpu/shader/execution/binary/ai_arithmetic.bin": "c8b346b3", - "webgpu/shader/execution/unary/ai_arithmetic.bin": "604d8103", - "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "191172c3", - "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "883d15c1", - "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "1a4d9ec0", - "webgpu/shader/execution/derivatives.bin": "e00a172b", - "webgpu/shader/execution/fwidth.bin": "3ab266cc" + "webgpu/shader/execution/binary/af_addition.bin": "4351656f", + "webgpu/shader/execution/binary/af_logical.bin": "ad92384d", + "webgpu/shader/execution/binary/af_division.bin": "a60bd84", + "webgpu/shader/execution/binary/af_matrix_addition.bin": "9ac0836d", + "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "1f4bae8", + "webgpu/shader/execution/binary/af_multiplication.bin": "a2e9a0a9", + "webgpu/shader/execution/binary/af_remainder.bin": "a0a4f809", + "webgpu/shader/execution/binary/af_subtraction.bin": "72361dd8", + "webgpu/shader/execution/binary/f16_addition.bin": "684c4fc5", + "webgpu/shader/execution/binary/f16_logical.bin": "b0ad5382", + "webgpu/shader/execution/binary/f16_division.bin": "308d874f", + "webgpu/shader/execution/binary/f16_matrix_addition.bin": "4b9c9a9", + "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "d32d62ca", + "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "8f83c6f", + "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "b0942a1", + "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "9bf29a38", + "webgpu/shader/execution/binary/f16_multiplication.bin": "454e485e", + "webgpu/shader/execution/binary/f16_remainder.bin": "dd4be89f", + "webgpu/shader/execution/binary/f16_subtraction.bin": "c9c7fd4f", + "webgpu/shader/execution/binary/f32_addition.bin": "3259a12", + "webgpu/shader/execution/binary/f32_logical.bin": "3983e6e6", + "webgpu/shader/execution/binary/f32_division.bin": "8cb3ae86", + "webgpu/shader/execution/binary/f32_matrix_addition.bin": "d069ff91", + "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "c5c8d148", + "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "aaffab11", + "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "b7a4d298", + "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "14f9a346", + "webgpu/shader/execution/binary/f32_multiplication.bin": "463860d3", + "webgpu/shader/execution/binary/f32_remainder.bin": "c80847fe", + "webgpu/shader/execution/binary/f32_subtraction.bin": "779e2fa5", + "webgpu/shader/execution/binary/i32_arithmetic.bin": "3ad21ac8", + "webgpu/shader/execution/binary/i32_comparison.bin": "fb767be", + "webgpu/shader/execution/binary/u32_arithmetic.bin": "5684f530", + "webgpu/shader/execution/binary/u32_comparison.bin": "c94bcd95", + "webgpu/shader/execution/abs.bin": "8854a7ca", + "webgpu/shader/execution/acos.bin": "a894ea0e", + "webgpu/shader/execution/acosh.bin": "4c645687", + "webgpu/shader/execution/asin.bin": "1b2aa5f8", + "webgpu/shader/execution/asinh.bin": "de56bb5f", + "webgpu/shader/execution/atan.bin": "372b9f36", + "webgpu/shader/execution/atan2.bin": "c8db945c", + "webgpu/shader/execution/atanh.bin": "28c6a48a", + "webgpu/shader/execution/bitcast.bin": "f5ac3489", + "webgpu/shader/execution/ceil.bin": "38d41915", + "webgpu/shader/execution/clamp.bin": "993777c7", + "webgpu/shader/execution/cos.bin": "199b46ac", + "webgpu/shader/execution/cosh.bin": "8356619", + "webgpu/shader/execution/cross.bin": "830af6b", + "webgpu/shader/execution/degrees.bin": "bcbaa878", + "webgpu/shader/execution/determinant.bin": "6794c894", + "webgpu/shader/execution/distance.bin": "89071db", + "webgpu/shader/execution/dot.bin": "355d798e", + "webgpu/shader/execution/exp.bin": "fce0140d", + "webgpu/shader/execution/exp2.bin": "cfc54cb3", + "webgpu/shader/execution/faceForward.bin": "25143e68", + "webgpu/shader/execution/floor.bin": "76a2d909", + "webgpu/shader/execution/fma.bin": "3bf19b2d", + "webgpu/shader/execution/fract.bin": "931a4088", + "webgpu/shader/execution/frexp.bin": "14113108", + "webgpu/shader/execution/inverseSqrt.bin": "11676b3c", + "webgpu/shader/execution/ldexp.bin": "6444e378", + "webgpu/shader/execution/length.bin": "28baa2ce", + "webgpu/shader/execution/log.bin": "c4ed36fb", + "webgpu/shader/execution/log2.bin": "b32bf7b8", + "webgpu/shader/execution/max.bin": "befb309d", + "webgpu/shader/execution/min.bin": "74ab3002", + "webgpu/shader/execution/mix.bin": "a76105b5", + "webgpu/shader/execution/modf.bin": "8df07d35", + "webgpu/shader/execution/normalize.bin": "ce9f80eb", + "webgpu/shader/execution/pack2x16float.bin": "3bd13d50", + "webgpu/shader/execution/pow.bin": "d161ca70", + "webgpu/shader/execution/quantizeToF16.bin": "65ddd08c", + "webgpu/shader/execution/radians.bin": "eb653df2", + "webgpu/shader/execution/reflect.bin": "69d011fc", + "webgpu/shader/execution/refract.bin": "7247e3cb", + "webgpu/shader/execution/round.bin": "42244257", + "webgpu/shader/execution/saturate.bin": "f9b94d22", + "webgpu/shader/execution/sign.bin": "2e0439b3", + "webgpu/shader/execution/sin.bin": "41746afb", + "webgpu/shader/execution/sinh.bin": "c5693dbd", + "webgpu/shader/execution/smoothstep.bin": "22f3731c", + "webgpu/shader/execution/sqrt.bin": "8fe8925a", + "webgpu/shader/execution/step.bin": "ff66932b", + "webgpu/shader/execution/tan.bin": "30380851", + "webgpu/shader/execution/tanh.bin": "ddd312a7", + "webgpu/shader/execution/transpose.bin": "f0d17f64", + "webgpu/shader/execution/trunc.bin": "3516ef51", + "webgpu/shader/execution/unpack2x16float.bin": "542c8134", + "webgpu/shader/execution/unpack2x16snorm.bin": "7f64027", + "webgpu/shader/execution/unpack2x16unorm.bin": "e8500104", + "webgpu/shader/execution/unpack4x8snorm.bin": "f11885db", + "webgpu/shader/execution/unpack4x8unorm.bin": "ce8156af", + "webgpu/shader/execution/unary/af_arithmetic.bin": "29ba27ec", + "webgpu/shader/execution/unary/af_assignment.bin": "a218789e", + "webgpu/shader/execution/unary/bool_conversion.bin": "3602691f", + "webgpu/shader/execution/unary/f16_arithmetic.bin": "86b27696", + "webgpu/shader/execution/unary/f16_conversion.bin": "efc08074", + "webgpu/shader/execution/unary/f32_arithmetic.bin": "c99cf079", + "webgpu/shader/execution/unary/f32_conversion.bin": "f12cf48a", + "webgpu/shader/execution/unary/i32_arithmetic.bin": "1e982cb9", + "webgpu/shader/execution/unary/i32_conversion.bin": "a4a9e5bd", + "webgpu/shader/execution/unary/u32_conversion.bin": "a384fe91", + "webgpu/shader/execution/unary/ai_assignment.bin": "d55ed7e0", + "webgpu/shader/execution/binary/ai_arithmetic.bin": "4e26817d", + "webgpu/shader/execution/unary/ai_arithmetic.bin": "3946659c", + "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "a1e74c33", + "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "fa2fb7e3", + "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "c64cbaa1", + "webgpu/shader/execution/derivatives.bin": "c58305a1", + "webgpu/shader/execution/fwidth.bin": "9d1ada2a" } \ No newline at end of file diff --git a/testing/web-platform/mozilla/tests/webgpu/resources/cache/webgpu/shader/execution/bitcast.bin b/testing/web-platform/mozilla/tests/webgpu/resources/cache/webgpu/shader/execution/bitcast.bin Binary files differ. diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/adapter/requestDevice.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/adapter/requestDevice.spec.js @@ -8,12 +8,12 @@ potentially limited native resources. `;import { Fixture } from '../../../../common/framework/fixture.js'; import { makeTestGroup } from '../../../../common/framework/test_group.js'; import { getGPU } from '../../../../common/util/navigator_gpu.js'; -import { assert, assertReject } from '../../../../common/util/util.js'; +import { assert, assertReject, typedEntries } from '../../../../common/util/util.js'; import { getDefaultLimitsForCTS, kFeatureNames, - kLimits, - kLimitClasses } from + kLimitClasses, + kPossibleLimits } from '../../../capability_info.js'; import { clamp, isPowerOfTwo } from '../../../util/math.js'; @@ -54,11 +54,11 @@ fn(async (t) => { ); } // All limits should be defaults. - const limitInfo = getDefaultLimitsForCTS(); - for (const limit of kLimits) { + const limitInfos = getDefaultLimitsForCTS(); + for (const [limit, limitInfo] of typedEntries(limitInfos)) { t.expect( - device.limits[limit] === limitInfo[limit].default, - `Expected ${limit} == default: ${device.limits[limit]} != ${limitInfo[limit].default}` + device.limits[limit] === limitInfo.default, + `Expected ${limit} == default: ${device.limits[limit]} != ${limitInfo.default}` ); } }); @@ -246,7 +246,7 @@ desc( ). params((u) => u. -combine('limit', kLimits). +combine('limit', kPossibleLimits). beginSubcases(). combine('limitValue', ['default', 'adapter', 'undefined']) ). @@ -257,12 +257,14 @@ fn(async (t) => { const adapter = await gpu.requestAdapter(); assert(adapter !== null); - const limitInfo = getDefaultLimitsForCTS(); + const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); let value = -1; let result = -1; switch (limitValue) { case 'default': - value = limitInfo[limit].default; + value = limitInfo.default; result = value; break; case 'adapter': @@ -271,7 +273,7 @@ fn(async (t) => { break; case 'undefined': value = undefined; - result = limitInfo[limit].default; + result = limitInfo.default; break; } @@ -295,7 +297,7 @@ desc( ). params((u) => u. -combine('limit', kLimits). +combine('limit', kPossibleLimits). beginSubcases(). expandWithParams((p) => { switch (kLimitClasses[p.limit]) { @@ -321,6 +323,8 @@ fn(async (t) => { assert(adapter !== null); const limitInfo = getDefaultLimitsForCTS(); + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo[limit] === undefined, 'limit is currently compatibility only'); const value = adapter.limits[limit] * mul + add; const requiredLimits = { [limit]: clamp(value, { min: 0, max: limitInfo[limit].maximumValue }) @@ -338,7 +342,7 @@ desc( ). params((u) => u. -combine('limit', kLimits). +combine('limit', kPossibleLimits). beginSubcases(). expand('value', function* () { yield -(2 ** 64); @@ -367,6 +371,8 @@ fn(async (t) => { const adapter = await gpu.requestAdapter(); assert(adapter !== null); const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); const requiredLimits = { [limit]: value @@ -399,7 +405,7 @@ desc( ). params((u) => u. -combine('limit', kLimits). +combine('limit', kPossibleLimits). beginSubcases(). expandWithParams((p) => { switch (kLimitClasses[p.limit]) { @@ -424,14 +430,17 @@ fn(async (t) => { const adapter = await gpu.requestAdapter(); assert(adapter !== null); - const limitInfo = getDefaultLimitsForCTS(); - const value = limitInfo[limit].default * mul + add; + const limitInfo = getDefaultLimitsForCTS()[limit]; + // MAINTENANCE_TODO: Remove this skip when compatibility limits are merged into spec. + t.skipIf(limitInfo === undefined, 'limit is currently compatibility only'); + + const value = limitInfo.default * mul + add; const requiredLimits = { - [limit]: clamp(value, { min: 0, max: limitInfo[limit].maximumValue }) + [limit]: clamp(value, { min: 0, max: limitInfo.maximumValue }) }; let success; - switch (limitInfo[limit].class) { + switch (limitInfo.class) { case 'alignment': success = isPowerOfTwo(value); break; @@ -445,7 +454,7 @@ fn(async (t) => { const device = await devicePromise; assert(device !== null); t.expect( - device.limits[limit] === limitInfo[limit].default, + device.limits[limit] === limitInfo.default, 'Devices reported limit should match the default limit' ); device.destroy(); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/limit_utils.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/limit_utils.js @@ -405,7 +405,8 @@ export class LimitTestsImpl extends GPUTestBase { const limit = this.limit; // MAINTENANCE_TODO: consider removing this skip if the spec has no optional limits. this.skipIf( - this._adapter?.limits[limit] === undefined && !!this.limitTestParams.limitOptional, + this._adapter?.limits[limit] === undefined && !!this.limitTestParams.limitOptional || + getDefaultLimitsForCTS()[limit] === undefined, `${limit} is missing but optional for now` ); this.defaultLimit = getDefaultLimitForAdapter(this.adapter, limit); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageBuffersInVertexStage.spec.js @@ -25,7 +25,7 @@ const kExtraLimits = { }; export const { g, description } = makeLimitTestGroup(limit, { - // MAINTAINANCE_TODO: remove once this limit is required. + // MAINTENANCE_TODO: remove once this limit is required. limitOptional: true }); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxStorageTexturesInVertexStage.spec.js @@ -25,7 +25,7 @@ const kExtraLimits = { }; export const { g, description } = makeLimitTestGroup(limit, { - // MAINTAINANCE_TODO: remove once this limit is required. + // MAINTENANCE_TODO: remove once this limit is required. limitOptional: true }); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/capability_info.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/capability_info.js @@ -740,6 +740,8 @@ const [kLimitInfoKeys, kLimitInfoDefaults, kLimitInfoData] = 'maxDynamicStorageBuffersPerPipelineLayout': [, 4, 4], 'maxSampledTexturesPerShaderStage': [, 16, 16], 'maxSamplersPerShaderStage': [, 16, 16], + 'maxStorageBuffersInFragmentStage': [, 8, 4], + 'maxStorageBuffersInVertexStage': [, 8, 0], 'maxStorageBuffersPerShaderStage': [, 8, 8], 'maxStorageTexturesInFragmentStage': [, 4, 4], 'maxStorageTexturesInVertexStage': [, 4, 0], @@ -768,6 +770,14 @@ const [kLimitInfoKeys, kLimitInfoDefaults, kLimitInfoData] = 'maxComputeWorkgroupsPerDimension': [, 65535, 65535] }]; +// MAINTENANCE_TODO: Remove when the compat spec is merged. +const kCompatOnlyLimits = [ +'maxStorageTexturesInFragmentStage', +'maxStorageTexturesInVertexStage', +'maxStorageBuffersInFragmentStage', +'maxStorageBuffersInVertexStage']; + + /** * Feature levels corresponding to core WebGPU and WebGPU * in compatibility mode. They can be passed to @@ -805,7 +815,14 @@ export const kLimitClasses = Object.fromEntries( ); export function getDefaultLimits(featureLevel) { - return kLimitInfos[featureLevel]; + return Object.fromEntries( + Object.entries(kLimitInfos[featureLevel]).filter(([k]) => { + // Filter out compat-only limits when in core mode + return featureLevel === 'core' ? + !kCompatOnlyLimits.includes(k) : + true; + }) + ); } /** @@ -862,8 +879,8 @@ e) return limits.length > 0 ? Math.min(...limits) : 0; } -/** List of all entries of GPUSupportedLimits. */ -export const kLimits = keysOf(kLimitInfoCore); +/** List of all possible entries of GPUSupportedLimits. */ +export const kPossibleLimits = keysOf(kLimitInfoCore); /** * The number of color attachments to test. diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/idl/javascript.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/idl/javascript.spec.js @@ -25,14 +25,14 @@ import { raceWithRejectOnTimeout, unreachable } from '../../common/util/util.js'; -import { getDefaultLimitsForDevice, kLimits } from '../capability_info.js'; +import { getDefaultLimitsForDevice, kPossibleLimits } from '../capability_info.js'; import { AllFeaturesMaxLimitsGPUTest } from '../gpu_test.js'; // MAINTENANCE_TODO: Remove this filter when these limits are added to the spec. const isUnspecifiedLimit = (limit) => /maxStorage(Buffer|Texture)sIn(Vertex|Fragment)Stage/.test(limit); -const kSpecifiedLimits = kLimits.filter((s) => !isUnspecifiedLimit(s)); +const kSpecifiedLimits = kPossibleLimits.filter((s) => !isUnspecifiedLimit(s)); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/util/device_pool.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/util/device_pool.js @@ -7,7 +7,7 @@ import { assertReject, unreachable } from '../../common/util/util.js'; -import { getDefaultLimits, kLimits } from '../capability_info.js'; +import { getDefaultLimits, kPossibleLimits } from '../capability_info.js'; // MUST_NOT_BE_IMPORTED_BY_DATA_CACHE // This file should not be transitively imported by .cache.ts files @@ -283,9 +283,9 @@ desc) assert(featureLevel === 'compatibility' || featureLevel === 'core'); const defaultLimits = getDefaultLimits(featureLevel); if (desc.requiredLimits) { - for (const limit of kLimits) { + for (const limit of kPossibleLimits) { const requestedValue = desc.requiredLimits[limit]; - const defaultValue = defaultLimits[limit].default; + const defaultValue = defaultLimits[limit]?.default; // Skip adding a limit to limitsCanonicalized if it is the same as the default. if (requestedValue !== undefined && requestedValue !== defaultValue) { limitsCanonicalized[limit] = requestedValue;