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
James Price
55509fae00
Roll third_party/gpuweb to 1f8a05a
...
Fixup Dawn node as necessary.
Change-Id: I96b9a078adba1c8988f9bc5835e1f7645c67a57d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123501
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2023-03-10 11:06:36 +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
Shrek Shao
053fca884a
Run SubstituteOverride transform before Robustness
...
Fixed: dawn:1673
Change-Id: I57f3daf16c417713a850894d1c6fcbc31ef03da1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120822
Commit-Queue: Shrek Shao <shrekshao@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-02-21 23:12:33 +00:00
Ben Clayton
db9d4453f8
Roll third_party/webgpu-cts/ 87f8f3d61..13410d18b (2 commits)
...
Regenerated:
- expectations.txt
- ts_sources.txt
- test_list.txt
- cache_list.txt
- resource_files.txt
- webtest .html files
87f8f3d615..13410d18b4
- 13410d Move `static_assert` and `type` to reserved words.
- 2184a5 Update tests to use `alias`.
Created with './tools/run cts roll'
Change-Id: Ic00993d9fb940602af9f644faf785d3cb98e1bc1
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/+/120760
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
2023-02-21 15:21:50 +00:00
Ben Clayton
e58f89bf54
Roll third_party/webgpu-cts/ 631d877e7..87f8f3d61 (2 commits)
...
Regenerated:
- expectations.txt
- ts_sources.txt
- test_list.txt
- cache_list.txt
- resource_files.txt
- webtest .html files
631d877e75..87f8f3d615
- 87f8f3 Add f32 matrix-scalar multiplication tests (#2286 )
- c87f10 webgpu/shader/validation: Remove types as keywords
Created with './tools/run cts roll'
Change-Id: I2638bd4fdadefb0c0dd52cc48c45d771870e79c5
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/+/120480
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-02-20 10:12:46 +00:00
Jiawei Shao
e4f947637a
D3D12: Replace dst-alpha with one for formats without alpha
...
This patch replaces D3D12_BLEND_DEST_ALPHA with D3D12_BLEND_ONE
when the color target formats have no alpha-channel.
Using D3D12_BLEND_ONE is an optimization over
D3D12_BLEND_DEST_ALPHA as it means the GPU hardware doesn't
need to get destination pixel at all. As D3D SPED requires the
default value for missing components in an element format is
"0" for any component except A, which gets "1", using
D3D12_BLEND_DEST_ALPHA takes same effect with
D3D12_BLEND_ONE when the color target formats have no alpha
channel.
In addition, replacing D3D12_BLEND_DEST_ALPHA with
D3D12_BLEND_ONE also serves as a workaround against an Intel
driver issue about alpha blending.
Bug: dawn:1579
Change-Id: If79e4c8007b68dd35e142ba9cf8a4921e611890a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120120
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-02-20 03:10:32 +00:00
Ben Clayton
643f2aad43
tint/reader/wgsl: Remove type keywords
...
Fixes: tint:1810
Change-Id: Iff296a3923947801b9559fd0f5354b72f4b171d2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120081
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-02-18 08:36:01 +00:00
Ben Clayton
d0746d75e6
Roll third_party/webgpu-cts/ ad8abf400..631d877e7 (52 commits)
...
Regenerated:
- expectations.txt
- ts_sources.txt
- test_list.txt
- cache_list.txt
- resource_files.txt
- webtest .html files
ad8abf400d..631d877e75
- 631d87 Add `f32` matrix subtraction tests (#2279 )
- 07f15b Add f32 matrix addition tests (#2278 )
- 16f862 Add validation tests about feature 'bgra8unorm-storage' (#2275 )
- 5dc0ec Add max vertex / max attribute limit / max stride tests
- 763d0b Upgrade gpuweb/types to 0.1.27 (#2273 )
- 0dff1a Cleanup Validate maxBindGroups
- d0b77a Add test for maxBindGroups and maxBindingsPerBindGroup
- 2be5a7 Add getGPUBindingCommandsMixin to limits_utils
- 8c190e Split GPUTest into GPUTest and GPUTestBase
- b365b1 Implement `transpose` f32 tests (#2249 )
- 977a54 Add more tests for end twice (#2251 )
- feb07c Update to use `keysOf` helper. (#2243 )
- 1dee49 [wgsl] Tests `@const` is not allowed to be used as an attribute. (#2246 )
- 432aad [wgsl] Add placement tests for @builtin. (#2248 )
- 363837 Add validation tests for unary not and binary and/or (#2247 )
- 61b6ad Update builtin parse test to not use code as URL. (#2245 )
- 6e62ce Update `align` parsing tests. (#2244 )
- 534fb6 [wgsl] Add validation tests for `break` placement (#2240 )
- 991a57 add maxTextureArrayLayers limit test (#2234 )
- c7293f add maxBufferSize limit test (#2236 )
- 07216f [wgsl] Add validation of `discard` placement. (#2239 )
- cb7d76 [wgsl] Update `static_assert` to `const_assert`. (#2237 )
- d02b86 [wgsl] Add validation tests for pipeline stage attributes. (#2233 )
- 17eafe Add limit tests for maxTextureDimension1/2/3D (#2227 )
- d9199d Avoid writable storage buffer binding aliasing (#2230 )
- 6c7083 [wgsl] Validate expressions passed to attributes. (#2229 )
- 748ec9 Add a few more constant/override tests
- 9300ec [wgsl] Alignment attribute tests. (#2180 )
- b2f9c2 Remove tests of end pass twice in encoder_state.spec.ts (#2226 )
- 1bf9c3 Test destroying an invalid queryset and an invalid texture (#2223 )
- efcb12 Fix a few spelling errors
- 221d30 CSS, make button colors match (#2221 )
- 992b58 Culling: Test triangle-strips, depth, and stencil results
- ae3c5e Add tests for i32 binary scalar-vector ops (#2219 )
- 6afbd0 Implement Matrix type for numeric testing (#2204 )
- e2248b Texture utility refactoring. (#2184 )
- b62579 op,render_pipeline,alpha_to_coverage (#2202 )
- 5a17b9 Add test for u32 scalar-vector remainder (#2216 )
- bd8450 Allow bgra8unorm as storage textures (#2212 )
- 11e6fb Added sourcmaps to webgpu:api,operation,shader_module,compilation_info
- cf980a Fix package-lock.json (#2214 )
- 19fc83 Add tests for u32 scalar-vector division (#2215 )
- 7fa1d7 Add transferControlToOffscreen cases to colorSpace ref test
- 458788 Make labels pass new eslint rules
- 6c8361 Add tests for u32 scalar-vector addition and subtraction (#2208 )
- 7324ba Test labels in descriptors appear on objects created.
- a0822b Add a few more debug markers (#2197 )
- 2db4fd Adds typescript-eslint/require-await and fixes existing warnings. (#2207 )
- 73a99f Adds val,buffer,create,limit tests (#2192 )
- 454253 Add a `--coverage` flag to cmdline.ts
- 2cff62 Add tests for binary multiplication of scalars with vectors of type u32 (#2181 )
- a7e54e Implements and updates maxColorAttachmentBytesPerSample tests (#2200 )
Created with './tools/run cts roll'
Change-Id: I05e331e2c7f5e2db42f573f14c208ee13fa2fa94
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/+/120201
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2023-02-18 01:15:46 +00:00
Yan,Shaobo
1aad71bebb
Enable copyToTexture,ImageBitmap:copy_subrect_from_2D_Canvas:*
...
Chromium side implementation has landed and these tests should work.
Bug: chromium:1399391
Change-Id: Ief891803f2bc6c77c2ddf39bae765b75ea96fc3f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120000
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Austin Eng <enga@chromium.org>
2023-02-15 15:05:13 +00:00
Kai Ninomiya
e30e4a2983
Update expectations with clang-coverage tag
...
Bug: chromium:1413845
Change-Id: Id2d34f1c7830239f55fb03e1341db8b3e215fc57
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119580
Commit-Queue: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Kai Ninomiya <kainino@chromium.org>
2023-02-13 23:24:51 +00:00
Kai Ninomiya
a75b0c0f13
Set OWNERS to * on .txt files needed for CTS rolls
...
Bug: None
No-Try: True
Change-Id: I6f6f337c463cf2f5f7a1bfb9de51b09ae19ebc91
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119581
Auto-Submit: Kai Ninomiya <kainino@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2023-02-13 10:17:04 +00:00
Jiawei Shao
f5cee3fadf
Enable the optional feature bgra8unorm-storage on Metal
...
This patch adds the support of the optional feature "bgra8unorm-storage"
and enable it on Metal.
Bug: dawn:1641
Test: dawn_end2end_tests
Change-Id: Id58cefd8735f46b8d1807376ebcfada10df2890e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111380
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-02-11 02:53:53 +00:00
Antonio Maiorano
ec20758675
tint: polyfill remainder to handle negative operands
...
Bug: tint:1802
Change-Id: Ie9baa045feda08523e5ca4f5ce94b6db7d4477e5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119100
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-02-10 15:01:02 +00:00
Yunchao He
2d41a015d7
Report error immediately if pass ends twice
...
The previous code reports error till command encoder finish.
This change also updates webgpu-cts expectations.txt accordingly.
Bug: dawn:1578
Change-Id: I1fe758a02d9cfdb1440e3cabf10aea0bd60b9c59
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116842
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
2023-02-08 22:04:10 +00:00