Commit Graph

8734 Commits

Author SHA1 Message Date
Dawn Autoroller 65c7cce6c0 Roll ANGLE from fe4fa1cb2aa8 to f7474347f933 (5 revisions)
fe4fa1cb2a..f7474347f9

2022-03-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 3c9e2a377a64 to e3d910c94d33 (4 revisions)
2022-03-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4661f6635ad5 to 2d9abfbddc1b (4 revisions)
2022-03-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 7a1995be961b to ceeef8f99b7d (533 revisions)
2022-03-10 j.vigil@samsung.com Remove unused Semaphore::init
2022-03-10 antonio.caggiano@collabora.com Vulkan: Non-mutable DmaBuf images

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I1b700315f7a278ba73ea927774d4510fabd36486
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83320
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-10 18:31:41 +00:00
Dawn Autoroller 822672d7d3 Roll SwiftShader from 89bd767fec53 to e3d910c94d33 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/89bd767fec53..e3d910c94d33

2022-03-09 sugoi@google.com VK_KHR_shader_integer_dot_product implementation
2022-03-09 sugoi@google.com Use enums of promoted 1.3 extensions
2022-03-09 sugoi@google.com Use VK_EXT_texture_compression_astc_hdr's promoted features

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I46f72aa8d020e5554a2c3a0f166a9fb67ad81ca1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83300
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-10 11:20:52 +00:00
dawn-autoroll ff4044428a Roll vulkan-deps from 6d4e78fa7f02 to 2d9abfbddc1b (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6d4e78fa7f02..2d9abfbddc1b

Changed dependencies:
* vulkan-loader: f24a0c67fc..42d5db3f59
* vulkan-validation-layers: 7fd238fff6..09227446c8

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Ia4f3679f2dd08fb0b4925dae551d96b71a76660e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83280
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-10 06:26:51 +00:00
Dawn Autoroller 44beca5b50 Roll ANGLE from 5e0c51ce7c09 to fe4fa1cb2aa8 (4 revisions)
5e0c51ce7c..fe4fa1cb2a

2022-03-10 cclao@google.com Vulkan: Tune pruneEmptyBuffers() to be a bit more aggressive
2022-03-09 cnorthrop@google.com Test: Add Solar Smash trace
2022-03-09 m.maiya@samsung.com Early return when rebinding the same buffer, sampler or texture
2022-03-09 j.vigil@samsung.com Vulkan: Add EGL to VULKAN mapping for BT2020 colorspace

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Ie447b8efa3245d4ba02fb57b4c6af5000f2efe78
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83241
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-10 04:48:23 +00:00
Dawn Autoroller 8c5e3ede39 Roll SwiftShader from 3c9e2a377a64 to 89bd767fec53 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/3c9e2a377a64..89bd767fec53

2022-03-09 helo@vewd.com Convert failing assert condition

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Iab0056f45a6cb893c89c5f4c670f35ab863760c3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83240
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 22:09:41 +00:00
Dawn Autoroller 7c84e619ff Roll Tint from 41f8d2ad52 to b86895da5f (1 revision)
https://dawn.googlesource.com/tint.git/+log/41f8d2ad52ff..b86895da5f74

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I424c4525bd773efdd7f0c113e404200aed70d893
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83220
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 20:54:22 +00:00
Shrek Shao 5b9b9867cd Rename SurfaceDescriptorFromXlib -> SurfaceDescriptorFromXlibWindow
As suggested by
https://github.com/webgpu-native/webgpu-headers/pull/150#discussion_r822311773

Bug: none
Change-Id: I4f611a1c345eb644168cf923c6c0c1672114b9d9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83201
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-03-09 19:04:21 +00:00
Antonio Maiorano b86895da5f Fix assert in MSVC debug builds when parsing unicode
On MSVC debug builds (VS 2022), running Tint against the
"unicode\identifiers.wgsl" test was triggering the following assert:

```
Program: C:\src\tint\out\build\x64-Debug\tint.exe
File: minkernel\crts\ucrt\src\appcrt\convert\isctype.cpp
Line: 36

Expression: c >= -1 && c <= 255
```

std::isdigit, isxdigit, and isspace specify that the behaviour is
undefined if the argument's value is neither representable as unsigned
char nor equal to EOF. For example, see:
https://en.cppreference.com/w/cpp/string/byte/isdigit. As suggested on
cppreference, to safely use these functions, we should first convert the
char argument to unsigned char.

Bug: tint:1437
Change-Id: I80e061820cfd87aca51758ae2e3b59306b157b04
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/83180
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-03-09 18:48:28 +00:00
Austin Eng 74d4e53fc6 Make loapOp/storeOp undefined valid
It is valid for depth/stencil attachment if the attachments are
readonly. It is not valid for color attachments. Make the enum valid,
and update validation.

Caught in CTS roll
https://chromium-review.googlesource.com/c/chromium/src/+/3499286

Bug: dawn:1269
Change-Id: Ib849ed757ccca145f85cadea6f92a1f2a5082d49
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82540
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-09 18:43:51 +00:00
dawn-autoroll a297e072d3 Roll vulkan-deps from 7df3f6282518 to 6d4e78fa7f02 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/7df3f6282518..6d4e78fa7f02

Changed dependencies:
* vulkan-headers: 6eb8fc3598..2c45218b90
* vulkan-validation-layers: c5705bdcef..7fd238fff6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I20075ab93bd19a55149f699e60a53ac446513ae2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83200
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 17:28:41 +00:00
Dawn Autoroller 150970f571 Roll ANGLE from 2d12b321826c to 5e0c51ce7c09 (3 revisions)
2d12b32182..5e0c51ce7c

2022-03-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a7a3a6313703 to 4661f6635ad5 (4 revisions)
2022-03-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from fc40ddd2a901 to 3c9e2a377a64 (5 revisions)
2022-03-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 614f751bf536 to 7a1995be961b (475 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I59201d4d41b7fb844d83008ad9c4eda7e2fdac16
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83160
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 15:05:41 +00:00
Dawn Autoroller 896688dd64 Roll SwiftShader from b21967ee088b to 3c9e2a377a64 (4 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/b21967ee088b..3c9e2a377a64

2022-03-09 capn@google.com Pass the RelaxedPrecision decoration value to all affected instructions
2022-03-09 capn@google.com Support specifying math precision through a template argument
2022-03-09 capn@google.com Improve exp2 accuracy through weight adjustment
2022-03-09 swiftshader.regress@gmail.com Regres: Update test lists @ fc40ddd2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I61aab05e2aa5eb60392d910b94c9002561fd245c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83140
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 08:48:43 +00:00
dawn-autoroll 747f0ded8f Roll vulkan-deps from 44d2b785120a to 7df3f6282518 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/44d2b785120a..7df3f6282518

Changed dependencies:
* vulkan-loader: 6524b598f6..f24a0c67fc
* vulkan-tools: 078d44e466..795bad232d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Ia881153a58a9f217e315ff726275e5dc1b7029c0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83120
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 04:14:00 +00:00
Dawn Autoroller 9b0718c7a8 Roll ANGLE from 7bf08f3c927b to 2d12b321826c (3 revisions)
7bf08f3c92..2d12b32182

2022-03-09 b.schade@samsung.com Remove limit on exposeNonConformantExtensionsAndVersions to expose 3.2
2022-03-08 jmadill@chromium.org Add stubs for AMD_performance_monitor.
2022-03-08 gman@chromium.org Metal: Fix MultisampleResolveTest failure on Vulkan_SwiftShader

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Ic974a6e30a599a93ae796298f153ee32632991f5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83080
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-09 01:51:20 +00:00
Austin Eng 154bcbbf4d Metal/GL: Make new texture view for non-2D view of single-layer texture
Fixed: dawn:1309
Change-Id: Ide68f6498fc5fe9dd9e06c6c5caf7d3fff74e526
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83060
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-09 01:07:20 +00:00
Austin Eng 5073fb5685 Fix BindGroupLayoutEntry validation message for no bindings types set
Fixed: dawn:1318
Change-Id: I9c5953d77c9758f0814fa50a98f5f813daf5e705
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83061
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-09 00:07:31 +00:00
Austin Eng 1a73be4107 Update shader validation message to reflect new @ binding syntax
Fixed: dawn:1317
Change-Id: Ib8eb4068ae9c52513945a51fe0a7a88a6e3fa43e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83062
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-09 00:06:30 +00:00
Austin Eng 4f1596134e Use GetInternalUsage in vulkan::TextureView::Initialize
We need to consider the real usage the texture was allocated as, not
the public API usage.

Fixes VVL violation in canvas_composite_alpha_bgra8_unorm_opaque_copy
CTS ref test.

Bug: chromium:1083478
Change-Id: I4461458f98750c1632b823536ff3846a9b31796b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83041
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-09 00:05:40 +00:00
Shrek Shao 1554a7d8f9 Fix dawn.json for upstream webgpu-headers
- Add disabled_tags 'dawn' to webgpu_headers_gen
- Rename WGPUSurfaceDescriptorFromXlib to sync with upstream
- Other sync with upstream: surface wayland and android enums

Bug: dawn:269
Change-Id: I5ca5c5362c54018f9d217af6a6ab4e3e84a5d780
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83000
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-03-08 20:56:10 +00:00
Dawn Autoroller bdf24fb20d Roll SwiftShader from fc40ddd2a901 to b21967ee088b (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/fc40ddd2a901..b21967ee088b

2022-03-08 nicolascapens@google.com Merge changes Id0d4524c,Ife5beff3

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I548f866569f667fcc63bb6fb3f3a896d4808fd96
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83021
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-08 19:54:30 +00:00
dawn-autoroll 33c4c77b15 Roll vulkan-deps from a7a3a6313703 to 44d2b785120a (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/a7a3a6313703..44d2b785120a

Changed dependencies:
* vulkan-headers: aa18f182eb..6eb8fc3598

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I7b918c76ffe086ebc16033773aeaebb0934f70f1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83040
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-08 14:49:00 +00:00
Dawn Autoroller 13283ad7a2 Roll ANGLE from ea70300ba044 to 7bf08f3c927b (3 revisions)
ea70300ba0..7bf08f3c92

2022-03-08 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ac2a0b67e505 to a7a3a6313703 (7 revisions)
2022-03-08 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 62518720406c to 614f751bf536 (474 revisions)
2022-03-08 gman@chromium.org Metal: Fix for mulitsampled buffers losing their contents

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: Iadf6ae8aed0c48eb27021de0bbc2d20e58ec315a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83020
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-08 12:28:00 +00:00
Jiawei Shao 345bf87c35 Vulkan: Use Zero Initialize Workgroup Memory extension if possible
This patch adds a toggle to enable/disable workgroup memory
initialization with OpConstantNull according to the Vulkan extension
VK_KHR_zero_initialize_workgroup_memory. This toggle is by default
enabled when VK_KHR_zero_initialize_workgroup_memory is supported by
the Vulkan driver.

BUG=dawn:1302
TEST=dawn_end2end_tests

Change-Id: Ie04484c2d0944ead082bd22a436b1c52bc7d93bb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82400
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2022-03-08 02:23:19 +00:00
dawn-autoroll 3a92fe3cd6 Roll vulkan-deps from ac2a0b67e505 to a7a3a6313703 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/ac2a0b67e505..a7a3a6313703

Changed dependencies:
* spirv-cross: 4ec1fb0aa9..0b51794f01
* spirv-tools: 0b8426346d..0741f42738
* vulkan-validation-layers: 89749bc34e..c5705bdcef

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I8cb468a044d476407c670b6ceb82957369f25b73
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82980
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-08 01:42:21 +00:00
Dawn Autoroller 140cfe53d7 Roll ANGLE from e75be480f865 to ea70300ba044 (5 revisions)
e75be480f8..ea70300ba0

2022-03-07 jmadill@chromium.org Fix base level changes not updating FBO completeness check.
2022-03-07 antonio.caggiano@collabora.com EGL: Validate and implement dmabuf extensions
2022-03-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e572921329ff to ac2a0b67e505 (9 revisions)
2022-03-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 561264b73b36 to fc40ddd2a901 (3 revisions)
2022-03-07 gman@chromium.org Metal: Fix WebGL CTS fbomultisample tests failing in Metal

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I44cfb63d7f22d0e7a75ea3fc4ce9a5b111842ddc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82961
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-07 23:12:38 +00:00
Dawn Autoroller 4cf5c92d89 Roll Tint from 4cb1329181 to 41f8d2ad52 (7 revisions)
https://dawn.googlesource.com/tint.git/+log/4cb132918164..41f8d2ad52ff

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC lokokung@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: lokokung@google.com
Change-Id: I375e4f07922ce0e4515ba7cb78a7a237fedadfb7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82960
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-07 22:29:04 +00:00
Shrek Shao b0987d6e46 Deprecate clearColor, clearDepth, and clearStencil in dawn.json
Need to mark them as deprecated to remove from webgpu headers.

Bug: dawn:1269
Change-Id: I332e7e4f6a27efd05f4e97240044efb65644cc77
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82940
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-03-07 19:29:54 +00:00
Ben Clayton 41f8d2ad52 Use 'final' specifier on leaf classes
Tint makes heavy use of RTTI via virtual methods. Give the compiler the
opportunity to optimize away some of these virtuals.

Bug: tint:1383
Change-Id: I28edfaa0a05bb1a9c506c61c0084542c0aeb37f0
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82745
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-03-07 18:37:46 +00:00
Ben Clayton dc0e31cfaa sem: Remove Type::type_name.
Remove last remaining uses, and fix up a whole lot of tests.

Bug: tint:1383
Change-Id: Id2a11fc2d748b72823f4a077bcd6ba7be705a02b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82744
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-03-07 18:34:57 +00:00
Ben Clayton 4391975f72 sem: Use UniqueAllocator for types
Add a Hash() and Equals() methods to sem::Type.

Have sem::Manager (which should be called sem::TypeManager) derive from
utils::UniqueAllocator. This now uses the Hash() and Equals() for uniquely
constructing semantic types instead of building strings and comparing those.

Bug: tint:1383
Change-Id: I5e3229bd087391ac594d333a0ab4232cfcddf54d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82743
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2022-03-07 17:05:28 +00:00
Ben Clayton a0eac2a492 reader/spirv: Use the new UniqueAllocator
For constructing the spirv unique types.

Change-Id: Ieb89ac8b3d9a35b2035097216c986de112af9b6b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82742
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-03-07 17:05:28 +00:00
Tomasz Śniatowski 0f324efe4f Avoid a nullptr string in dependency_graph_test
Don't define a string member to default to =nullptr, as that would
crash if it was ever used, and wouldn't compile in C++23.

Bug: chromium:1302724
Change-Id: I2ce146183e2fe4427b2d0c5ed8b4c42bff9429e2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82660
Auto-Submit: Tomasz Śniatowski <tsniatowski@vewd.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-03-07 13:29:06 +00:00
dawn-autoroll eb5f79b3d1 Roll vulkan-deps from 29cf938afd2a to ac2a0b67e505 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/29cf938afd2a..ac2a0b67e505

Changed dependencies:
* spirv-cross: 3915c37bb1..4ec1fb0aa9

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I2c18a4a6fb16078b897b5471f78f02b398518baf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82920
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-07 11:52:54 +00:00
Dawn Autoroller dc83bd1bce Roll ANGLE from 36132a265702 to e75be480f865 (1 revision)
36132a2657..e75be480f8

2022-03-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 46c84f1b0c3f to 62518720406c (527 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I16bc73b1791b12bc1e2279dbb7ccae2dc92f24a8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82900
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-07 09:52:45 +00:00
dawn-autoroll 95f44fd3b3 Roll vulkan-deps from b207b888452e to 29cf938afd2a (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/b207b888452e..29cf938afd2a

Changed dependencies:
* vulkan-validation-layers: abaab3c18d..89749bc34e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I63ff28ad53e8a5feff677b63ece0bcc8d31db59a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82880
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-06 16:42:33 +00:00
Dawn Autoroller 81b82a5d44 Roll SwiftShader from 60bf3b4cf91b to fc40ddd2a901 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/60bf3b4cf91b..fc40ddd2a901

2022-03-06 swiftshader.regress@gmail.com Regres: Update test lists @ 60bf3b4c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I51f09b4c9e28731c9a89753b8b4fed0139acd700
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82860
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-06 14:51:04 +00:00
Dawn Autoroller cefc8c9a59 Roll ANGLE from e67027c2df29 to 36132a265702 (1 revision)
e67027c2df..36132a2657

2022-03-05 hailinzhang@google.com Reland "add host cached bit for staging buffer"

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: Ida85bd86995f9989d7f039d4dd672903afcd6866
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82840
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-06 00:18:33 +00:00
dawn-autoroll 5bb56e0e15 Roll vulkan-deps from 8c1205c391dc to b207b888452e (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/8c1205c391dc..b207b888452e

Changed dependencies:
* vulkan-loader: a4fb0b36cf..6524b598f6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: If87e9abe904a05317f766972ac1e638f569e0665
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82782
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-05 12:11:32 +00:00
Dawn Autoroller f68439a739 Roll SwiftShader from e1930f0fac2b to 60bf3b4cf91b (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/e1930f0fac2b..60bf3b4cf91b

2022-03-04 swiftshader.regress@gmail.com Regres: Update test lists @ 561264b7

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I44a14674d4602de3d7432bff33f6f38e11d11847
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82822
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-05 11:07:52 +00:00
Dawn Autoroller 712ee0105e Roll ANGLE from bf3cdca5844b to e67027c2df29 (7 revisions)
bf3cdca584..e67027c2df

2022-03-05 antonio.caggiano@collabora.com Vulkan: Fix DRM format support verification
2022-03-04 romanl@google.com Capture/Replay: Clarify that capture is disabled by default.
2022-03-04 cclao@google.com Vulkan: Align the size before calling into VMA's allocator
2022-03-04 m.maiya@samsung.com Vulkan: Add feature to create pipeline during glLinkProgram
2022-03-04 cnorthrop@google.com Docs: Update CaptureAndReplay to include Perf tests
2022-03-04 yuxinhu@google.com Reland "Remove ImageViewHelper from ResourceUseList"
2022-03-04 jmadill@chromium.org Vulkan: Add overlay widget for cache key size.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I8cf1ea217067189043b0747ac2bf58482b16c204
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82821
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-05 10:51:33 +00:00
Austin Eng ea287f5b48 Remove WGSL readonly-storage to storage binding type promotion
Fixed: dawn:1188
Change-Id: Ied8e1fb8a47884456de3d56e049a361fdbcaf640
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82403
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-03-05 01:37:25 +00:00
Shrek Shao 6d205fcb5d Allow sparse color attachments
Add implementations and related tests reflecting the spec update.

Bug: dawn:1294
Change-Id: I2c20af313259e1d6d6049189cb8adebe4c2436af
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81922
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2022-03-05 01:34:02 +00:00
Li Hao 131c422489 Add timestampWrites on render/compute passes
The timestampWrites in render/compute pass descriptor store the
timestamps at the beginning and end of passes, this requires validating
all timestampWrite members in BeginXxxPass and inserting the
timestampWrite cmd as close as possible to the BeginXxxPass and
EndXxxPass. To do that, we first record only the querySets and
queryIndexes that need to be used in BeginXxxPassCmd and EndXxxPassCmd,
then insert timestampWrite cmd after the native BeginXxxPass and before
the native EndXxxPass in backends.

This CL adds timestampWrites in render/compute pass descriptor
including the validation and tests first.

Implement timestampWrites in backends in following CL.

Bug: dawn:1250

Change-Id: I39b50975aa03cc1afe7a736c3b39df284f54d163
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82100
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2022-03-05 01:22:52 +00:00
James Price bcd9ad2ebb Remove isNan, isInf, isFinite, and isNormal
These were deprecated in M98.

Fixed: tint:1312
Change-Id: Ieec17bfcc729f90d0a9aa8904a162167b9de54ed
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82800
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
2022-03-05 00:39:14 +00:00
Ben Clayton e228319549 utils: Add UniqueAllocator
UniqueAllocator is used to allocate unique instances of the template type.

This will be used to clean up duplicated code we have throughout Tint.

Change-Id: I79d5834bf7c7c31cdefd38d4fa3b9240f7ebbf5f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82741
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-03-05 00:29:15 +00:00
dawn-autoroll 67af844346 Roll vulkan-deps from e572921329ff to 8c1205c391dc (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e572921329ff..8c1205c391dc

Changed dependencies:
* spirv-cross: 6c7a40822f..3915c37bb1
* spirv-tools: f56726a323..0b8426346d
* vulkan-validation-layers: 78684b1a0b..abaab3c18d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I2e5300f7a1f46831a0f1a47ca026f6dc42a0c5c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82781
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-04 23:09:22 +00:00
Dawn Autoroller 380ee0503c Roll Tint from d1003645cb to 4cb1329181 (1 revision)
https://dawn.googlesource.com/tint.git/+log/d1003645cb39..4cb132918164

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I0e4c93bd6e8cfc18485862a1227f943f4f19aee3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82762
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-04 22:20:02 +00:00
Dawn Autoroller 97db39afde Roll SwiftShader from 561264b73b36 to e1930f0fac2b (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/561264b73b36..e1930f0fac2b

2022-03-04 dvet@google.com Update debug info code to compile with latest LLVM

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: I4550b2b67cdb2c0aeec9a1b7f05be1483ed1fcca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82761
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-04 22:10:32 +00:00
Dawn Autoroller 1a2ea85963 Roll ANGLE from b72718d23720 to bf3cdca5844b (10 revisions)
b72718d237..bf3cdca584

2022-03-04 romanl@google.com Capture/Replay: Mark two more tests as flaky.
2022-03-04 jmadill@chromium.org Vulkan: Fix missing empty buffer descriptor.
2022-03-04 lubosz.sarnecki@collabora.com Tests: Add Fire Emblem Heroes trace.
2022-03-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 2328c3fcf88d to f7e842466e0a (5 revisions)
2022-03-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e2a60c1d35cf to 46c84f1b0c3f (1077 revisions)
2022-03-04 jmadill@chromium.org Revert "add host cached bit for staging buffer"
2022-03-04 jmadill@chromium.org Call generate_test_spec_json with vpython3.
2022-03-04 jmadill@chromium.org Protect against deleting a current XFB buffer.
2022-03-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 7089ef18891d to 561264b73b36 (7 revisions)
2022-03-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a30aef1d7967 to e572921329ff (5 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bclayton@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bclayton@google.com
Change-Id: Id50aee79ec5bc40acd926fe21d70da8852dc99ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82760
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-04 22:00:22 +00:00
Ben Clayton 4cb1329181 Move BlockAllocator from src/tint to src/tint/utils
Change-Id: I4bca9413d73d0095a3e0de23bcc4de956bf3b98e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82740
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-03-04 21:09:24 +00:00