Commit Graph

272 Commits

Author SHA1 Message Date
Austin Eng 40bf2a0110 Cleanup stale expectations.txt
Most now passing except for crbug.com/tint/1943

Bug: dawn:1107, tint:1943
Change-Id: Iaa19287e76b87826a34ff0ac1895b57c8ad1233d
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133963
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
2023-05-23 05:17:20 +00:00
Austin Eng 731b4a6b48 Roll third_party/webgpu-cts/ 4fd26fe4a..b033a4f1a (8 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


4fd26fe4ab..b033a4f1ae
 - b033a4 Fix floating_point AbsoluteErrorInterval unittests (#2616)
 - 5570bf Add more uniformity validation tests (#2597)
 - 7b9d28 Fix gruntfile generate-listings ordering (#2615)
 - 6ac65a Switch to using sparseF32Range in f32 arithmetic tests (#2614)
 - db412d Factor out and dedup 'validate' step of presubmit (#2608)
 - e218a9 Split up the matrix f32 arithmetic tests (#2606)
 - 7a56a9 Handle uncaught internal errors in device_pool (#2611)
 - 13476e Move texture format info to its own file (#2607)

Created with './tools/run cts roll'

Change-Id: I66d1da50d5913b95bee2f1a29fa45bb878a04d39
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134001
Kokoro: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2023-05-22 21:56:44 +00:00
Austin Eng 56ccf40666 Remove KEEP tags and Slow expectations
Mac arm64 is now part of CTS rolls
Slow expectations now live in slow_tests.txt

Bug: chromium:1442214
Bug: dawn:1832
Change-Id: If839fc7bffdd0fe4be01373d082ce56b3e1481cf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133821
Reviewed-by: Loko Kung <lokokung@google.com>
Kokoro: Austin Eng <enga@chromium.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-05-19 21:41:55 +00:00
vikas soni 70f9becc0d Revert "Suppress WebGPU tests flaky on Mac"
This reverts commit 8a224f6d04.

Reason for revert: Fix landed

Original change's description:
> Suppress WebGPU tests flaky on Mac
>
> webgpu:api,validation,render_pipeline,fragment_state:targets_format_renderable:isAsync=true;format="rg8uint"
> webgpu:api,validation,render_pipeline,vertex_state:vertex_attribute_offset_alignment:*
>
> Bug: chromium:1444865
> Change-Id: Ifadf8dd376198947589fa1de7b6dd33a5986ee38
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133380
> Commit-Queue: Austin Eng <enga@chromium.org>
> Kokoro: Austin Eng <enga@chromium.org>
> Reviewed-by: Austin Eng <enga@chromium.org>
> Auto-Submit: Yuly Novikov <ynovikov@chromium.org>

TBR=enga@chromium.org,ynovikov@chromium.org,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com

Change-Id: I03b3a794bb03d0753d9050d0196b6c5509f03c2f
Bug: chromium:1444865
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133361
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: vikas soni <vikassoni@chromium.org>
2023-05-19 18:48:24 +00:00
Austin Eng f74cc46029 Suppress depth_clip_clamp CTS tests on Apple GPUs
Bug: dawn:1616
Change-Id: Ica2c7fd3caeac5775d86eed78810483099ae573c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133620
Kokoro: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
2023-05-18 18:10:41 +00:00
Austin Eng 8c361e560e Suppress another CTS test failing on Apple M2
Change-Id: Ib6dfa2452f8c33d29fb9433159295bdcc5bf6d76
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133362
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-05-17 22:06:30 +00:00
Austin Eng 3f18fc9a05 Suppress tests failing on Apple GPUs
Bug: dawn:1828, dawn:1829, dawn:1830
Change-Id: If6f6b107b58822b46c286cf84075ca7981c3edc7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133441
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-05-17 20:27:23 +00:00
Yuly Novikov 8a224f6d04 Suppress WebGPU tests flaky on Mac
webgpu:api,validation,render_pipeline,fragment_state:targets_format_renderable:isAsync=true;format="rg8uint"
webgpu:api,validation,render_pipeline,vertex_state:vertex_attribute_offset_alignment:*

Bug: chromium:1444865
Change-Id: Ifadf8dd376198947589fa1de7b6dd33a5986ee38
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133380
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
2023-05-17 16:07:38 +00:00
Austin Eng 2d6690ed9c Roll third_party/webgpu-cts/ 499ce7de2..4fd26fe4a (7 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


499ce7de28..4fd26fe4ab
 - 4fd26f expression.ts: rate-limit the maximum number of batches in flight (#2609)
 - 40cf08 Refactor texture format info table (part 1) (#2598)
 - 300235 Split up the non-matrix f32 arithmetic tests (#2605)
 - e8dbfc Refactor FP fundamental error intervals unittests with trait (#2602)
 - d06baf Rewrite bitcast comparators to be serializable (#2603)
 - e73da2 Make need for serialization of Comparators more obvious (#2601)
 - 5c2aef Refactor FPInterval and utilities unittests with traits (#2600)

Created with './tools/run cts roll'

Change-Id: If0139694dce16e2fd42e7a95b822449a567d3b26
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132541
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-05-12 19:14:35 +00:00
Austin Eng 4ae03fa8d0 Remove some KEEP tags
The comments/bugs say the tests were consistently failing. Thus,
they shouldn't be marked KEEP so that the roller removes expectations
once they start passing. At least one of these blocks of tests is
already passing on top-of-tree; the expectations will be updated in
the next roll.

Change-Id: I7aa485c676b7f01e729dbe8ffd66af38d4f80d09
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132444
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Loko Kung <lokokung@google.com>
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
2023-05-11 23:34:52 +00:00
Austin Eng f1ae17c3f0 Mark error scope out-of-memory stackDepth=100000 CTS test [ Slow ]
Bug: chromium:1424945
Change-Id: I033721f19f38a86056053807d15a499c0232a2ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132403
Kokoro: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2023-05-11 00:47:35 +00:00
Brandon Jones 48b6e6e791 Roll third_party/webgpu-cts/ b83a6ae70..499ce7de2 (5 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


b83a6ae708..499ce7de28
 - 499ce7 WebGPU GPUBuffer.mapState MAP_READ mode (#2592)
 - 0d1ecc Fix large limit value rounding error (#2599)
 - a3359a Bump WebGPU types to v0.1.32
 - 9cbede Formatting fixes
 - ee328c Updated uses of timestampWrites

Created with './tools/run cts roll'

Change-Id: Ide4788c2f7ff738ac518f19da09d30376802a992
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132122
Auto-Submit: Brandon Jones <bajones@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-05-09 23:24:11 +00:00
Austin Eng 25e811155a Roll third_party/webgpu-cts/ c7d833bad..b83a6ae70 (22 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


c7d833badc..b83a6ae708
 - b83a6a Remove using CaseCache in bitcast tests (#2594)
 - e78340 Add TODO to last shouldThrow that doesn't expect a particular name (#2590)
 - 458aa9 Check exception type for Webgpu context configure test (#2575)
 - c57f28 Check exception type for Webgpu getCurrentTexture test (#2537)
 - dadb86 Clarify that f64 castable constants are about WebIDL casting (#2505)
 - 7b529d test bitcast f32 to {f32,u32,i32} (#2508)
 - cf6069 Make maxBindingsPerBindGroup 1000 (#2519)
 - 857e83 Add f16 comparison tests (#2503)
 - cdef82 [wgsl] Validation tests for `enable` (#2511)
 - 8814fa [wgsl] Add test for BOM. (#2504)
 - 29b8e0 Add basic uniformity validation tests (#2497)
 - a75df2 Replace hexToFoo function names with more accuracte names (#2502)
 - f89971 Implement core abstract float support (#2498)
 - 7d2d22 Execution atomic builtins: add tests for i32 workgroup/storage vars (#2496)
 - bc8d8a Missed one instance of maxFragmentCombinedOutputResources. (#2494)
 - 908d7b Execution tests for atomic builtins on workgroup atomic vars (#2493)
 - d353b0 Remove numeric framework shim (#2492)
 - 856059 Migrate fundamental error interval tests (#2491)
 - a14d92 Migrate bespoke floating point tests (#2489)
 - e0990d Replace calling Vector/Matrix constructors directly (#2490)
 - cefabb Migrate Matrix  -> tests (#2487)
 - 9a964b Execution tests for atomic builtins (#2484)

Created with './tools/run cts roll'

Change-Id: I254c40a5aa0e43f23180a66713cdd99b50154c5f
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131583
Reviewed-by: Loko Kung <lokokung@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
Auto-Submit: Austin Eng <enga@chromium.org>
2023-05-05 03:03:34 +00:00
Kai Ninomiya ed2ce8bab3 Add Slow expectations for arithmetic expression tests
Bug: dawn:1783
Change-Id: Ief289e969fb6115c09b31e67c1779dcac01d01d6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129640
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2023-04-28 00:37:32 +00:00
Takahiro 5e4aad952e Make maxBindingsPerBindGroup 1000
To follow the WebGPU spec update
https://github.com/gpuweb/gpuweb/pull/4050

Bug: dawn:1767
Change-Id: Iec5c60de7af5cb8b8e1baa7fc378a6551c6b5bd1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129380
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
2023-04-27 13:51:54 +00:00
Li Hao ee25184ea4 Triage occlusion query failures in webgpu-cts expectations.txt
Bug: dawn:1706

Change-Id: I0c0da246d748489f8b37da5c9512e6066d35ef5a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127521
Commit-Queue: Hao Li <hao.x.li@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-19 01:10:51 +00:00
Loko Kung 563929f00e Remove flaky suppression of Mac Intel tests.
Bug: dawn:1500
Change-Id: Ie0bd4a06ee42c93180c8267952cb99ccb91900db
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127720
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
2023-04-18 06:17:35 +00:00
Loko Kung dbb68623bb Roll third_party/webgpu-cts/ 8220cf0cf..c7d833bad (7 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


8220cf0cfb..c7d833badc
 - c7d833 Removes maxFragmentCombinedOutputResources related test. (#2486)
 - 3171da bitcast execution: integral 32-bit types and vectors of them (#2428)
 - 0ac5d4 Migrate various Vector -> tests (#2479)
 - 86a1f8 Fix issues in LimitTestsImpl
 - 0505ff Migrate unpack* tests to new framework (#2478)
 - 2d608a Migrate Scalar Triple -> Interval tests to use new numeric framework (#2477)
 - 55aaf9 Migrate Scalar Pair -> Interval tests to use new numeric framework (#2475)

Created with './tools/run cts roll'

Change-Id: Icdd8f92acf2c75da055b00e3874a7210361b5d9c
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127620
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
2023-04-17 22:32:29 +00:00
Ben Clayton 63aa15467e Roll third_party/webgpu-cts/ 15b8caf79..8220cf0cf (9 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


15b8caf79e..8220cf0cfb
 - 8220cf Move "device_destroyed_before_importing_video_frame" case to "api,validation,states,device_lost,destroy" (#2464)
 - f77035 Migrate Scalar -> Interval tests to use new numeric framework (#2474)
 - 65cd11 Migrate `abs` tests over to use FP.f32 directly
 - 3ab032 Replace Point/Binary/Ternary with Scalar{Pair/Triple}
 - 552fe1 Fix Occlusion Query Op Test
 - 3182e8 Fix fragment shader in maxInterStageShaderComponents validation (#2469)
 - 0eacf5 Refactor how floating point intervals are calculated (#2468)
 - fd777c Slightly expand sample_mask tests (#2466)
 - 7e014d Use (number | IntervalBounds) for specifying unittests (#2456)

Created with './tools/run cts roll'

Change-Id: I48f7afe742004afb6f373c64a16877802f755de1
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126600
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
2023-04-17 02:25:29 +00:00
Jiawei Shao f22675dfc3 Enable CTS tests that have been fixed after latest roll
Change-Id: If44d32f75891ba129617687afd0b4eb344d3406c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125680
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-29 06:42:19 +00:00
James Price 0cb5b1e127 cts: frexp and denorm min/max issues are resolved
Change-Id: Ib06ea3ea84194616447159ac44e19cb6931bf005
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125600
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-28 18:09:23 +00:00
James Price df714941d3 Roll third_party/webgpu-cts/ ca81780f0..15b8caf79 (13 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


ca81780f0e..15b8caf79e
 - 15b8ca [wgsl] Add execution tests for arrayLength (#2465)
 - 904c74 Set depthClearValue when depthLoadOp is clear (#2462)
 - b00081 Fix unexpected failure in api,validation,queue,copyToTexture,CopyExte… (#2461)
 - 6143b5 Fixes remaining tests that hit deprecated paths. (#2457)
 - f7a15a Add more increment and decrement tests. (#2459)
 - 07ce6f [wgsl] Test preservation of matrix padding bytes (#2454)
 - b9f099 [wgsl] Add shadow execution tests. (#2448)
 - 395a8a [wgsl] Add some float parsing tests. (#2447)
 - 7e7330 Improve requestAdapterInfo error messages. (#2458)
 - dd474b Update tests for min/max spec changes (#2455)
 - fe5f6e Adjust acceptance intervals for frexp (#2450)
 - 9071d4 Cleanup ULP related code (#2449)
 - 147f55 Update for GPUDeviceLostReason spec change (#2434)

Created with './tools/run cts roll'

Change-Id: I348f9078e089bb18a611536b04b7c51f47fb7209
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125540
Commit-Queue: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-03-27 21:21:58 +00:00
Antonio Maiorano 5cf943e797 tint/hlsl: implement trunc in terms of floor/ceil to work around FXC bug
Bug: tint:1883
Change-Id: If6c160da0684353a873428a08063aa91ee7a01c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125420
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-27 18:55:25 +00:00
Ben Clayton f359395288 Roll third_party/webgpu-cts/ 886a83abf..ca81780f0 (6 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


886a83abf3..ca81780f0e
 - ca8178 Set depthWriteEnabled to false when depth stencil format is stencil8 (#2445)
 - db3b8d Validate that atomic builtins are only valid in compute and fragment shaders (#2442)
 - 3b3668 Add scalar-vector and vector-scalar f32 arithmetic tests (#2444)
 - f1ba3f [wgsl] More matrix compound expression tests. (#2443)
 - 6e7281 Replace u32 pairs for represting f64 hex values with BigInt (#2439)
 - ac5e50 Return correctlyRoundedInterval for f32->f32 conversions (#2438)

Created with './tools/run cts roll'

Change-Id: I448de426bed5977bb9b184715d18217314d9255e
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124900
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-23 14:10:57 +00:00
Kai Ninomiya bbc1c23376 Remove KEEP from GPUDeviceLostReason Test for next roll
Now that the Chromium change is landed:
https://chromium-review.googlesource.com/c/chromium/src/+/4342174
this should allow the expectation to be automatically removed when the
updated tests are rolled in.
https://github.com/gpuweb/cts/pull/2434

No-Try because only changes a comment.

No-Try: True
Bug: chromium:1424883
Change-Id: I9007aca0df3334264676321b144eb1145a518340
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124543
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Auto-Submit: Kai Ninomiya <kainino@chromium.org>
2023-03-21 16:35:35 +00:00
Ben Clayton 2a7005f416 Roll third_party/webgpu-cts/ 99d11d886..886a83abf (28 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


99d11d8864..886a83abf3
 - 886a83 Refactor storeOp validation test to match spec changes
 - 8be752 Fix a missing "enable f16" in maxComputeWorkgroupStorageSize test (#2433)
 - 5edad0 [wgsl] Make compound operators explicit. (#2426)
 - 2fe20d [wgsl] Compound assignment for boolean operations. (#2425)
 - 790801 [wgsl] Cleanup compound statement tests (#2424)
 - a671a0 webgpu/shader/execution: Code refactoring (#2423)
 - 0dd071 [wgsl] Add compound operator tests. (#2422)
 - 25861c Clean up enums
 - f9fb7d Update target in tsconfig.json to 'es2020' (#2420)
 - 452c87 shader/execution: More interesting flow-control tests
 - 446030 shader/execution: Add a continue in switch flow control test
 - 4d0008 Bump to es2020 (#2417)
 - d003e4 Fix for maxColorAttachmentsBytesPerSample test (#2414)
 - 445572 chore(gen_wpt_cts_html): identify omitted CLI args for context
 - 11f4dc fix(gen_wpt_cts_html): use non-zero exit code on incorrect arg count
 - 315f6d Fixes bug in maxColorAtthacmentBytesPerSample limits test (#2413)
 - e26de5 Address review feeback
 - 02cb5f use GPUTestBase.makeBufferWithContents, not the standalone
 - 30b08f Address review issues
 - db0899 Test Occlusion Queries
 - c50fee Get current texture expiry (#2386)
 - b49129 Add ImageBitmapRenderingContext canvas for copyToTexture tests (#2400)
 - 7d3385 wgsl: add i32, u32 comparisons (#2405)
 - 5aedaf Rename f32 comparisons (#2407)
 - 2de0b6 Test sign(i32) builtin (#2408)
 - bd0ce7 Make all the limits test have no sub cases (#2412)
 - 1f7721 Add External Texture VideoFrame visibileRect Tests (#2409)
 - ea0fb0 Modify zero init tests to pollute workgroup memory (#2392)

Created with './tools/run cts roll'

Change-Id: Ifd5a33d9aeabd04656edaf516ecb222d2d01f711
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124740
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-20 16:38:06 +00:00
Antonio Maiorano 1fa68bc200 CTS expectations: triage the remaining shader execution failures
Change-Id: I1c53ec4b38755c7634f911755d958574d06d8e3c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124620
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-17 22:51:00 +00:00
Kai Ninomiya ad116481bd Suppress outdated GPUDeviceLostTest CTS test
Needed to land Chromium change:
https://chromium-review.googlesource.com/c/chromium/src/+/4342174

Bug: chromium:1424883
Change-Id: Ic81e824c277deac3fe734d53e3ce41140ce69969
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124542
Kokoro: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
2023-03-17 04:47:40 +00:00
Antonio Maiorano 55b4c9f369 CTS expectations: triage min,max,clamp (AMD/MacOS)
Change-Id: I5e6b0c16810b182b484baa09684cca06b253d604
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124521
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 21:31:15 +00:00
Antonio Maiorano 52cd8caa07 tint/hlsl: fix frexp always returning positive values for fractional part
Bug: tint:1876
Change-Id: Ic56b37918fd1a2a42442b517985a49f10d85159d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124501
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 21:31:15 +00:00
Antonio Maiorano ae7a2a94c0 CTS expectations: triage frexp failures
Change-Id: I8cfc3b061f832f95466a0c226a5c7ac628bed78e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124500
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-16 19:07:00 +00:00
dan sinclair abe6db26d2 Update expectation issue for `increment_decrement`
The OSX failures of `increment_decrement` are updated to include the
filed bug number.

Bug: tint:1875
Change-Id: Iac8d0e0e8cb8346cc8ed1b972951c423f4f393cb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124480
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 17:38:18 +00:00
Ben Clayton 76795db7ce Roll third_party/webgpu-cts/ 3030a7bb2..99d11d886 (12 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


3030a7bb2c..99d11d8864
 - 99d11d Add test case about copying HTMLVideoElement to texture (#2018)
 - ef9763 Add bitwise shift validation tests (#2399)
 - a7dda2 Add tests for unary~ i32, u32, and vectors of them (#2395)
 - c054fc Add bitwise shift tests (#2397)
 - 174648 consolidate more createPipeline/Async tests
 - 12e6c2 Make the test names less descriptive
 - a483c0 limit # of storage textures & storage buffers to device limit
 - ba16f0 Change bytesPerSample calculation to be similar to spec
 - ce7f52 merge createPipeline and createPipelineAsync tests
 - d64c03 Validate maxFragmentCombindOutputResources and related changes
 - 5a89d4 roll to types@4e0beeeb3ddd5327aaffd1f3fa7943c314eeaceb
 - 25aef0 [wgsl] Add increment and decrement execution tests. (#2394)

Created with './tools/run cts roll'

Change-Id: I9080d8128450937d3c94c3e40e95c5521d6c1320
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124000
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-14 22:24:40 +00:00
Takahiro 7adad519ba Update webgpu-cts/expectations.txt
This commit reverts the change in webgpu-cts/expectations.txt
needed until the CTS is rolled because it has been rolled.

See
https://chromium-review.googlesource.com/c/chromium/src/+/4270352

Change-Id: I75f6cb9d8b28f59c3f893987277e7a5d83ab97ce
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123920
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2023-03-14 17:52:22 +00:00
Loko Kung ebf8b7fd91 Flips the default deprecated code path to error instead of logging.
Bug: dawn:1677
Change-Id: I833b024fa89ee2eeed1dda80ad6e39f52bbcf8ba
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117535
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-14 07:12:53 +00:00
Austin Eng 868efb9739 Roll third_party/webgpu-cts/ 0557875f3..3030a7bb2 (30 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files

https: //chromium.googlesource.com/external/github.com/gpuweb/cts/+log/0557875f3982..3030a7bb2c69
 - 3030a7 Implement `frexp` f32 tests (#2336)
 - 5be43e Implement `determinant` f32 tests (#2321)
 - 1c53bf Adds stale adapter tests (#2387)
 - 176741 Test destroyed buffers and textures on submit
 - 4bd39d Implement absolute error for `acos` intervals (#2372)
 - d56144 Implement absolute error for `asin` intervals (#2346)
 - 7e411f shader/execution: Flip eval order of assignment
 - e6edef shader/execution: Port evaluation order tests to flow_control
 - e45de6 Add isZeroCopy cases for ExternalTexture (#2338)
 - 6c2b83 shader/execution:  Add more complex flow control tests
 - 8c8d89 Implement `bool` builtin tests (#2327)
 - d18b3a Implement `i32` builtin tests (#2379)
 - dfac60 Implement `u32` builtin tests (#2344)
 - 9179cd Test import GPUExternalTexture from destroyed device (#2351)
 - fb969c Sync keyword/reserved word list. (#2383)
 - 685049 Implement `f32` builtin tests (#2382)
 - 0e3229 shader/execution: Add 'preventValueOptimizations' case parameterization
 - ec5ad7 Start adding queue validation tests for buffers and textures
 - a1efad Put the same URL in all "Open" links (#2316)
 - f99f92 Updates max*BufferBindingSize limit tests to adhere to maxBufferSize (#2339)
 - d88504 Add validation tests on BGRA8Unorm canvas with StorageBinding usage (#2348)
 - 8d827d Add validation test for maxComputeXXX
 - e613a8 Rename maximumLimit to adapterLimit and related changes
 - 7b1df1 Update src/webgpu/api/validation/capability_checks/limits/maxBindingsPerBindGroup.spec.ts
 - 188203 Check maxBindingsPerBindGroup limit matches spec limits
 - a28619 Fix writable binding aliasing in webgpu:api,validation,resource_usages,texture,in_pass_encoder (#2341)
 - c54778 Fix wrong conditions and missing formats for maxAttachmentState tests. (#2343)
 - 6b01d8 Changes for depthWriteEnabled/depthCompare/depthClearValue being required (#2342)
 - b61662 Require npm >=8.5.2 (#2340)
 - 785335 Generate OOM error using createTexture (#2337)
Change-Id: Iebefb8ee703437252e44040fd74310a52d079dc4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123660
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-13 20:22:02 +00:00
Stephen White 905b63b90f Remove expectations for now-passing tests.
Change-Id: I3be575e64eb2ff7c3e1058e6858be4497e6f7bd2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123500
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-09 20:30:40 +00:00
Ben Clayton da353b4b39 tint: Flip evaluation order of assignment statements
Evaluate the LHS before the RHS.

Fixed: tint:1867
Change-Id: Ib63903ed4b1425007197a6da37f3bf54a495d88a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123120
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-08 21:48:45 +00:00
Yuly Novikov 9eff4810c6 Add MacBook Pro 2019 AMD macOS 13.2.1 failure expectations
Found in https://ci.chromium.org/ui/p/chromium/builders/try/dawn-try-mac-amd-exp/47/overview

Use on CTS rolls to maintain these expectations during the migration.

Bug: chromium:1382149
Change-Id: I32c27965a1178338bde7b4af211337754a381f73
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122720
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-08 18:55:50 +00:00
Yuly Novikov 273f517a23 Copy known Mac WebGPU CTS expectations to Ventura
These Monterey failures were confirmed to also fail on Ventura in
https://ci.chromium.org/ui/p/chromium/builders/try/dawn-try-mac-amd-exp/45/overview

Also update TAG HEADERS from Chromium, including Ventura and new AMD GPU

Bug: chromium:1382149, dawn:1125, chromium:1410936
Change-Id: Ib385e0624d076002d53edf32df30c849a1ead0ce
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122380
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2023-03-08 18:49:41 +00:00
Loko Kung 4f98dd4706 Add maxFragmentCombinedOutputResources and validation for it.
- Suppresses maxStorageTexturesPerShaderStage CTS test because it needs
  to be modified to adhere to the new limit as well.

Bug: dawn:1665
Change-Id: I66c62bd94b613059633888210ec7e7b42dc3a1dc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122461
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-08 02:45:50 +00:00
Takahiro aab78efc56 Add suppressions to webpu-cts/expectations.txt
Temporary suppressions for some depth-stencil CTS tests that the
dawn implementations goes ahead of. The supporessions should be
removed when the CTS will be updated and rolled.

These suppressions are needed for
https://chromium-review.googlesource.com/c/chromium/src/+/4270352

Change-Id: If3ee5ee9adc112c9dc5815dacc0adf967a9f5451
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122561
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
2023-03-07 06:01:30 +00:00
Dan Sinclair dd2f36205d Roll third_party/webgpu-cts/ 6e39b5d2f..0557875f3 (15 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


6e39b5d2f2..0557875f39
 - 055787 Update external_texture,expire test case (#2283)
 - dcfa5b Removes OOM errors in error scope tests since we can't cause OOM. (#2331)
 - 534e6b Rename to GPUShaderModule.getCompilationInfo() (#2291)
 - 9d8e1a Depend on github.com/gpuweb/types instead of npm @webgpu/types (#2332)
 - 4505a1 Updates BGL sampleType when using multisampling for validation errors. (#2329)
 - 716bd3 Prompt for reload only if this is the full CTS (#2318)
 - 267cb4 Test minStorageBufferOffsetAlignment and minUniformBufferOffsetAlignment
 - 6b70b1 Refactor limit_utils.ts so we can test more limits
 - 1713e6 OperationError -> GPUPipelineError
 - bf1b1e Fix WGSL warning for maxStorageTexturesPerShaderStage.spec.ts
 - 07c420 Validate maxColorAttachments and maxColorAttachmentsBytesPerSample
 - 5bd2ce Refactor limit_utils.ts so we can test more limits
 - 6b9071 Test maxInterStageShaderComponents and maxInterStageShaderVariables
 - 539f8f Test maxDynamic(Uniform|Storage)BuffersPerPipelineLayout
 - 762133 Convert more OperationError to GPUPipelineError. (#2314)

Created with './tools/run cts roll'

Change-Id: Ic8c9d2ad9391bbb2fa0bed667f2e4167bf45c86b
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122420
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2023-03-03 11:39:10 +00:00
Corentin Wallez 4138c10e20 Suppress more tests for the GPUPipelineError rename
Bug: chromium:1417269
Change-Id: Icf5b41b306e3fe0ffedd6307751714afe664ab70
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122240
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2023-03-02 01:47:39 +00:00
shrekshao 84532462f6 Validate writable storage texture bindings don't alias
Followup of storage buffer bindings aliasing validation.

Bug: dawn:1642
Change-Id: I84bf33895320053630ed80d3503ff53d1eaa83b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121420
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2023-03-01 21:04:28 +00:00
Corentin Wallez 633f41589f Suppress some expectations for the GPUPipelineError rename
Most suppressions where ok, but some needed to be expanded to cover all
configurations. Which this CL does.

Bug: chromium:1417269
Change-Id: Iad223e5cff31f8691c9131bec763f281df46bded
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122041
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2023-03-01 19:13:39 +00:00
Zhaoming Jiang 04529be9b7 Dawn/Tint: Polyfill reflect vec2<f32> for D3D12 FXC on Intel
This CL add a toggle-controlled Tint polyfill for reflect on vec2<f32>,
and enable this toggle by default on D3D12 Intel device when using FXC.
This CL works around issue tint:1798.

Bug: tint:1798
Change-Id: If2f4de836eaf5e7374bc2c1ae3fbe06b91a5bbd5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121160
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
2023-02-27 02:59:50 +00:00
Ben Clayton 111be84975 Roll third_party/webgpu-cts/ 13410d18b..6e39b5d2f (14 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


13410d18b4..6e39b5d2f2
 - 6e39b5 Updates tests to adhere to only pass depth-stencil load/store values when needed. (#2311)
 - 08abe0 shader/execution: Begin flow control tests
 - eaf9af Updates error type for create oom buffers. (#2217)
 - 728f52 add maxXXXPerShaderStage limit tests
 - 72f15f add maxXXXBufferBindingSize limit tests
 - 34c738 Add f32 matrix-vector and vector-matrix multiplication tests (#2304)
 - 738697 GPUPipelineError.name is GPUPipelineError and not OperationError. (#2298)
 - 51f415 Add f32 matrix-matrix multiplication tests (#2301)
 - ff7ad7 Fix normalization checks
 - 0c4a36 Test rg11b10ufloat-renderable makes the format resolvable and MSAAable (#2289)
 - e6f317 Add ExternalTexture Rotatation Tests (#2299)
 - 10422e Use new test video files for ExternalTexture (#2242)
 - 6b9150 Emit `f32` values for F32Interval.toString() (#2296)
 - ab1336 Validate that case input types parameter types provided to test runner (#2288)

Created with './tools/run cts roll'

Change-Id: Ice1a8cfa190360512fc6266f2bc58f1be754abae
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121580
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2023-02-25 18:13:43 +00:00
Corentin Wallez cce5f48f0e Triage CTS failures
Bug: dawn:1677 dawn:1676 chromium:1410936
Change-Id: I3cc0e84b45dee7c97785c497e36cce8cbc169f74
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120984
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-02-22 20:02:55 +00:00
Corentin Wallez b4d2bbb24f Make Texture/QuerySet destroy always valid.
This follows the recent semantic from the WebGPU spec and fixes a couple
failing CTS tests.

Bug: None
Change-Id: I9197ea3fda6c15bd9302f8d60e70ee00f1d37708
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120980
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-02-22 18:12:57 +00:00