Commit Graph

17 Commits

Author SHA1 Message Date
Ben Clayton e2d7f86872 Roll third_party/webgpu-cts/ 0a1288f5e..11f61c5f9 (10 commits)
Update expectations and ts_sources

0a1288f5e8..11f61c5f91
 - 11f61c [dawn-node]: Move TSC config to file. (#1382)
 - 6822b9 wgsl: Cleanup duplicate description text (#1396)
 - aafa50 Add comprehensive memory model tests (#1330)
 - d7d754 Reland "Simplify device selection" with fix (#1386)
 - 999e39 Output whether value is subnormal in Scalar.toString() (#1388)
 - 490d2a wgsl: Stub textureSampleBias tests (#1392)
 - 41afbc wgsl: Use `kValue.`... instead of converting bit-fields to `Scalar`s (#1394)
 - 93aea0 wgsl: update textureGather tests (#1389)
 - d26a4c wgsl: Extend `anyOf` to accept `Comparator`s (#1393)
 - 09bcde Fix atan2 test failures when Y is subnormal (#1387)

Created with './tools/run cts roll'

Change-Id: I407a3d90b855721dbeb157c78682d3de5c6d4e05
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89980
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2022-05-12 16:18:36 +00:00
Ben Clayton 6a8cfd4153 Roll third_party/webgpu-cts/ ecf480422..0a1288f5e (21 commits)
Update expectations and ts_sources

ecf4804228..0a1288f5e8
 - 0a1288 Revert "Simplify device selection" and dependent commits (#1384)
 - 0afe04 Merge pull request #1383 from kainino0x/nit
 - ccfaca wgsl: Add support for f64 to Scalar (#1369)
 - 3ab573 Fix crash in GPUTest.init awaiting provider (#1381)
 - 753740 Fix order in package.json (#1380)
 - fb4eee wgsl: Stub tests for the textureGather builtin. (#1378)
 - c676c8 wgsl: Stub tests for textureDimension. (#1375)
 - 96f821 wgsl: Adds stub tests for textureGatherCompare (#1379)
 - d4a2b9 Skip whole case if there is no device
 - e38ab0 Fix skipping tests when device isn't available
 - dae9db [wgsl] Add missing @const decorations. (#1374)
 - 90d78b [wgs] fixup mix signature to match spec. (#1373)
 - 35c672 [wgs] sync modf text with spec update. (#1372)
 - 2398e8 [wgsl] reserve binding_array. (#1371)
 - a4f874 Explicitly specify 2d texture views in some cases (#1370)
 - a91256 Remove 'await's from selectDevice calls
 - c072e8 Simplify device selection
 - 47bd25 Encapsulate OOM-cleanup in DevicePool
 - 9be8bf factor out DeviceSelectionDescriptor
 - 229e43 Allow eventualExpectOk to accept Promise.all (#1368)
 - a6e1f5 wgsl: Generalize unary and binary f32 arithmetic case generation (#1367)

Created with './tools/run cts roll'

Change-Id: I9cc819aa118220b44f1df6511a7f557ec38a01c6
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89663
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-11 09:53:45 +00:00
Ben Clayton ff371efdc6 Roll third_party/webgpu-cts/ 249f2b797..ecf480422 (21 commits)
Update expectations and ts_sources

249f2b797b..ecf4804228
 - ecf480 wgsl: Add missing parameterizations (#1366)
 - febc61 wgsl: Stub tests for the fwidthFine builtin. (#1365)
 - 50261d wgsl: Stub tests for the fwidthCoarse builtin. (#1364)
 - b2f135 wgsl: Stub tests for the fwidth builtin. (#1363)
 - 1d3403 wgsl: Stub tests for the dpdyFine builtin. (#1362)
 - 1c717a wgsl: Stub tests for the dpdyCoarse builtin. (#1361)
 - ef805c wgsl: Stub tests for the dpdy builtin (#1360)
 - 8f5f61 wgsl: Stub tests for the dpdxFine builtin. (#1359)
 - 59d1c3 wgsl: Stub tests for dpdxCoarse builtin (#1358)
 - aa6096 wgsl: Stub tests for dpdx builtin (#1357)
 - 2ee8b6 wgsl: Stub tests for the dot builtin. (#1356)
 - 9646eb wgsl: Stub tests for the transpose builtin. (#1354)
 - 0415ba wgsl: Stub tests for determinant builtin. (#1353)
 - e817a5 wgsl: Stub tests for trunc builtin. (#1352)
 - 9edb35 wgsl: Stub tests for the tanh builtin. (#1351)
 - 1b109c wgsl: Stub tests for tan builtin. (#1350)
 - 92f64a wgsl: Stub tests for step builtin. (#1349)
 - ca915e wgsl: Stub tests for sqrt builtin. (#1348)
 - b1f2fb wgsl: Stub tests for smoothstep builtin. (#1347)
 - 9ea198 wgsl: Stub tests for sinh builtin. (#1346)
 - 423400 wgsl: Stub for sign builtin. (#1345)

Created with './tools/run cts roll'

Change-Id: I29b09f6d4808c8b33d39d390def05f72599965f2
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88860
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-04 16:00:39 +00:00
Austin Eng 84958ea2f2 Roll third_party/webgpu-cts/ 547d67bc2..249f2b79 (8 commits)
Update expectations and ts_sources

547d67bc22..249f2b797b
 - 249f2b Don't block on subcases until the end of a testcase (#1335)
 - 170d7b Sparse color attachment fix (#1344)
 - 423df1 DevicePool: merge default holder into the DescriptorToHolderMap (#1343)
 - 10ce93 remove doInit/doFinalize (#1342)
 - d5cf9a Handle backends flushing inputs in `atan2` tests (#1340)
 - 318d3d Move test device selection to an optional before clause (#1333)
 - ece4eb Fix non-object-type test-parameter values (#1336)
 - 5906dc Add --colors flag for enabling color output (#1338)

Created with './tools/run cts roll'

Change-Id: I070d813ffe3017e1bd4e425247f1ea174ee63887
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88720
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-05-03 22:07:16 +00:00
Ben Clayton f05cba72c3 Roll third_party/webgpu-cts/ 21af43c62..547d67bc2 (15 commits)
Update expectations and ts_sources

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

Created with './tools/run cts roll'

Change-Id: Iac0527fee588a29c04959c7932acba1b6d04a847
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88560
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-02 21:21:45 +00:00
Ben Clayton e119ff452a Roll third_party/webgpu-cts/ 900765392..21af43c62 (10 commits)
Update expectations and ts_sources

9007653926..21af43c62a
 - 21af43 wgsl: Implement f32 `exp` test (#1315)
 - 0f86e0 Remove redundant information from unittest names (#1317)
 - 23dab0 wgsl: Stub acosh builtin tests. (#1312)
 - 7cea4a wgsl: stub distance builtin tests (#1311)
 - 8829c3 wgsl: stub length builtin tests (#1310)
 - 7eec30 wgsl: stub tests for atanh builtin. (#1314)
 - e442a7 wgsl: Stub asinh builtin tests (#1313)
 - 969db1 Implement OneULP and related ULP functions (#1218)
 - 7845e2 wgsl: Stub asin builtin tests (#1309)
 - 8f8ab3 Sync reserved words to spec. (#1308)

Created with './tools/run cts roll'

Change-Id: I6f549884d045b80b63a826a4282faa26aa992ec4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88260
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-04-28 13:32:23 +00:00
Ben Clayton a9b856e10e Roll third_party/webgpu-cts/ e23ca12d5..900765392 (15 commits)
Update expectations and ts_sources

e23ca12d57..9007653926
 - 900765 Add positive case into invariant duplicate test. (#1307)
 - e02d75 Add more interpolate tests. (#1195)
 - 140d30 wgsl: Stub frexp test (#1305)
 - 039db3 wgsl: Stub acos builtin tests (#1306)
 - 239c46 Test invariant can only be applied once. (#1196)
 - 88062c wgsl: Stub faceFoward tests. (#1303)
 - 5083e8 wgsl: Stub fam builtin tests. (#1304)
 - efa12f wgsl: Stub exp2 builtin tests. (#1302)
 - 495556 wgsl: Add stub for exp builtin (#1301)
 - a6eaaf wgsl: Stub out cross builtin tests (#1300)
 - 9b55e6 wgsl: Add unimplemented stub for cosh builtin. (#1299)
 - 02adc5 cmdline: Add --list-unimplemented (#1214)
 - 8c2c49 wgsl: Add unimplemented quantizeToF16 spec (#1298)
 - 0d388d Sync WGSL spec descriptions to spec text. (#1296)
 - d54181 Fix TypeScript errors with build-out-node. (#1261)

Created with './tools/run cts roll'

Change-Id: Ieb2cf8bb719e03e3b2c929d7e10ee4fb39f01d1d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88003
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2022-04-27 14:23:43 +00:00
Ben Clayton d93d0c994b Roll third_party/webgpu-cts/ 501cb3643..e23ca12d5 (7 commits)
Update expectations and ts_sources

501cb36438..e23ca12d57
 - e23ca1 Remove old builtin combined function file. (#1220)
 - 15883e src/webgpu/util/texture/texel_data: Use `,` for member delimiters (#1215)
 - 719dff Add a test with a Unicode character which would normalize (#1194)
 - deeb73 Remove uniqueId and plan_autogen from WGSL tests. (#1219)
 - 47cb99 Add a quiet option to the test runner. (#1190)
 - 115652 Rename generic WGSL shader_io test case. (#1199)
 - 74dc27 shader/execution: Reduce `atan2` cases (#1198)

Created with './tools/run cts roll'

Change-Id: Id6d29fce42e9c647338795074a13e6a5a6034787
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87980
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-04-26 11:55:02 +00:00
Ben Clayton 00e845cfdf Roll third_party/webgpu-cts/ 45d2ccd25..88c034819 (4 commits)
Update expectations and ts_sources

45d2ccd250..88c0348191
 - 88c034 ShaderValidationTest: remove string overload (#1184)
 - 93932e Split WGSL test files (#1183)
 - 40b847 Minor comment fixes
 - 6f46b8 Cleanup old WGSL test files. (#1181)

Created with './tools/run cts roll'

Change-Id: I35ea8385af6ddc09c43833d40395c80f7d060002
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87703
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-04-23 01:11:22 +00:00
Shrek Shao 951d12e94c Add CTS DEPS as input for verify_gen_ts_dep_list action
Change-Id: Id8b2528054a32192227261d81643fd68352e5857
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87304
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-04-20 02:34:55 +00:00
Shrek Shao 1d1fcdd005 Fix verify action by rerun gen_ts_dep_list.py
Change-Id: I11cdb607ca94a1c88c1e579779afb92116d12e29
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87303
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-04-19 18:08:34 +00:00
Ben Clayton d9726b23cd Roll CTS and update expectations
Roll CTS to 9861f5e1d92559c03a8d769117124de97adc47c4
Update ts_sources.txt
Regenerate expectations

Change-Id: Ib422e2ee4d2e0c6307f06d0029eaed737fc5d2b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86880
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-04-14 14:54:30 +00:00
Corentin Wallez 8b8b641326 Roll third_party/webgpu-cts/ dcba3ac6b..5e83d8349 (25 commits)
dcba3ac6b8..5e83d8349b

$ git log dcba3ac6b..5e83d8349 --date=short --no-merges --format='%ad %ae %s'
2022-04-13 cwallez Reduce the length of subresource test names (#1164)
2022-04-13 cwallez zero_init: add constant zero to prevent driver unrolling loops. (#1163)
2022-04-13 jiawei.shao Add validation,resource_usages,texture,in_render_misc:* - Part II (#1161)
2022-04-13 jiawei.shao Add validation,resource_usages,texture,in_render_misc:* - Part I (#1157)
2022-04-11 enga Test view format reinterpretation (#1126)
2022-04-11 litherum Only 2D textures can be marked as render targets (#1155)
2022-04-08 cwallez operation,image_copy: Add support for depth16unorm (#1154)
2022-04-08 cwallez image_copy,mip_levels: reduce the mip level count. (#1151)
2022-04-08 cwallez depth_compare_func: Don't use 0.5 as depth16unorm rounds either way (#1152)
2022-04-08 cwallez Fix tests trying to copy aspects of depth-stencil textures. (#1146)
2022-04-08 cwallez depth_clip_clamp: only set stencilLoadOp and friends when needed. (#1153)
2022-04-08 cwallez Fix validation errors with depth/StencilLoad/StoreOp set when not allowed. (#1145)
2022-04-08 enga Shorten test and param lengths in resource_usages,texture,in_render_common:* (#1144)
2022-04-08 jiawei.shao Add validation,resource_usages,texture,in_render_common:* - Part V (#1150)
2022-04-06 cwallez val,buffer,create: Buffer sizes don't have to be multiple of 4. (#1140)
2022-04-06 cwallez image_copy: Ensure bufferOffset % 4 == 0 for depth-stencil. (#1139)
2022-04-06 jiawei.shao Add validation,resource_usages,texture,in_render_common:* - Part IV (#1132)
2022-04-05 enga Fix infinite recursion in CopyExternalImageToTexture.spec.ts (#1143)
2022-04-05 cwallez Use globalThis instead of self. (#1141)
2022-04-05 cwallez val/copyT2T,format_compat: Don't assume compressed is always 4x4 (#1134)
2022-04-05 cwallez Fix DSAttachment load/store ops being specified when disallowed. (#1136)
2022-04-05 cwallez Fix test of BGL binding limits to correctly check limits (#1137)
2022-04-04 cwallez Fix a validation error caused by WriteTexture bytesPerRow: t.width (#1133)
2022-04-04 cwallez Add unicode tests for entryPoint matching. (#1131)
2022-04-04 cwallez writeBuffer: an unaligned bufferOffset is a validation error. (#1129)

Created with:
  roll-dep third_party/webgpu-cts

Change-Id: I048afcaf3d33bcd67401412bf235181013ebf6d2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86533
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-04-13 18:52:46 +00:00
Ben Clayton 2bdabc748f Roll CTS and update expectations
Roll CTS to dcba3ac6b819abb0920e589ca1809ae5b5f87119
Update ts_sources.txt
Regenerate expectations

Change-Id: Ifa0cae3fa1abf9da9e4fbd63acf9cefe2683f50d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85560
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-04-11 18:38:51 +00:00
Austin Eng 1cdea90f7b Add CTS telemetry harness support
Migrates harness support files added in
https://chromium-review.googlesource.com/c/chromium/src/+/3541414
into Dawn's repo.

Tested in
https://chromium-review.googlesource.com/c/chromium/src/+/3537743

Bug: chromium:1306640
Change-Id: I3000b1223219a1da293af910bf442570b70b7c92
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/84043
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-24 00:21:55 +00:00
Austin Eng b542f9d928 Roll third_party/webgpu-cts/ 90654f28f..87e74a93e (20 commits)
Includes changes to third_party/gn/webgpu-cts/BUILD.gn to make the Node build work.

90654f28f4..87e74a93e0

$ git log 90654f28f..87e74a93e --date=short --no-merges --format='%ad %ae %s'
2022-03-17 kainino Bugfix for getTextureCopyLayout introduced in #1068 (#1077)
2022-03-17 gman Implement Basic Worker WebGPU Test (#1075)
2022-03-17 rharrison Implement tests for floating point arithmetic expressions (#1073)
2022-03-18 jiawei.shao Add validation,resource_usages,texture,in_render_common:* - Part II (#1070)
2022-03-16 gman Fix Spelling Errors (#1074)
2022-03-16 kainino float32BitsToNumber/numberToFloat32Bits
2022-03-10 kainino reifyOrigin3D
2022-03-10 kainino move generatePrettyTable to its own file (no changes)
2022-03-10 kainino floatBitsToNumber, floatBitsToNormalULPFromZero, signExtend
2022-03-10 kainino Add getSubTextureCopyLayout helper
2022-03-14 tojiro Add validation tests for various aspects of render bundle creation and usage.
2022-03-16 rharrison Reduce instances of // prettier-ignore to improve readability (#1072)
2022-03-16 rharrison Implement `reverseBits` tests (#1071)
2022-03-16 jiawei.shao Change endPass to end in in_render_common.spec.ts (#1069)
2022-03-15 rharrison Reduce duplication of terms in builtin test strings (#1062)
2022-03-15 bclayton Add bitwise binary expression tests (#1064)
2022-03-15 rharrison Implement `countOneBits` tests (#1065)
2022-03-15 rharrison Remove test stubs for `isInfinite` and `isNormal` (#1063)
2022-03-16 shaobo.yan CTS: Color space conversion operation test for CopyToTexture (#1043)
2022-03-15 bclayton Fix limits of `log()` and `log2()` (#1060)

Created with:
  roll-dep third_party/webgpu-cts

Change-Id: I135a115184602a56d8554287856761ca21c6dce2
Bug: chromium:1306640
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/84040
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-19 00:50:18 +00:00
Kai Ninomiya 5c780d784c Add WebGPU CTS dep and build files
These build files are not yet used, but intended to be included by a
build file in Chromium. The test expectations file will move here too,
allowing Dawn/Tint changes to adjust test expectations in the same CL.

Bug: chromium:1306640
Change-Id: Id0be5c155ec7c79252e724cd64e54d1ea9f3dbda
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83761
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2022-03-17 21:43:17 +00:00