Commit Graph

11904 Commits

Author SHA1 Message Date
dawn-autoroll 55ca4a7da9 Roll vulkan-deps from dd38395da610 to fa4838e9d3f3 (9 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/dd38395da610..fa4838e9d3f3

Changed dependencies:
* spirv-tools: d24a39a7f0..d8a8af8e6d
* vulkan-validation-layers: 0d83a6e66c..28c94393ca

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 amaiorano@google.com,webgpu-developers@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: amaiorano@google.com
Change-Id: I4280785fe8b8ca6aa09df62a878e4bd714589a0b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125563
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 20:00:27 +00:00
Dawn Autoroller 3169728ca7 Roll ANGLE from 1ee27fcdbfe6 to db3b2875723b (3 revisions)
1ee27fcdbf..db3b287572

2023-03-28 angle-autoroll@skia-public.iam.gserviceaccount.com Manual roll VK-GL-CTS from 9e822059a32e to e873c6862868 (18 revisions)
2023-03-28 geofflang@chromium.org Explicitly pass the extended dirty bits to syncState.
2023-03-28 lexa.knyazev@gmail.com Metal: Support NV_shader_noperspective_interpolation

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I7bd13125bb08b4f7dee9da44cdbecc07fce165b1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125620
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 19:41:57 +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
Yan,Shaobo 8e414572be Add ServiceImplementation class in external_memory
This CL introduced ServiceImplementation class. Service class deleate
its work to ServiceImplementation class.

Different platforms inherit ServiceImplementation class and implement
it to support Service class. It helps isolate implementaion and
interface. And it's the base for supporting choosing implementation
in runtime.

Bug: dawn:1593
Change-Id: Ib18dfaa41ef4a1ce9554a5241cac1ef0fede8dd8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125481
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-28 06:33:41 +00:00
Dawn Autoroller eaedb8e7de Roll ANGLE from 98cfb969a16b to 1ee27fcdbfe6 (5 revisions)
98cfb969a1..1ee27fcdbf

2023-03-27 lexa.knyazev@gmail.com Fix translation of noperspective interpolation qualifier
2023-03-27 fangzhoug@chromium.org Mali: Disable disjointTimerQueries on ChromeOS with MaliT8xxOrOlder
2023-03-27 blundell@chromium.org [GL backend] Get texture bindings size from frontend caps
2023-03-27 lexa.knyazev@gmail.com Avoid defaulted comparison operator
2023-03-27 lexa.knyazev@gmail.com GL: Support OES_sample_variables

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I809a4ba093eda8f6f47d5c1cfa9ec90a9866cdf1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125501
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 06:19:19 +00:00
dawn-autoroll ddff3f086a Roll vulkan-deps from 2f3f68dfda8b to dd38395da610 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/2f3f68dfda8b..dd38395da610

Changed dependencies:
* vulkan-tools: 211fec7e9a..e60c43a479
* vulkan-validation-layers: 9124f788b7..0d83a6e66c

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 amaiorano@google.com,webgpu-developers@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: amaiorano@google.com
Change-Id: Idf8051c7306e8af472de911736e84966a9ee1fa0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125560
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 05:32:01 +00:00
Yan,Shaobo ef62a88f89 Rename Service Files in external_memory and external_semaphore
This CL do a pure rename work as the base of External memory
service refactory.

Bug: dawn:1593
Change-Id: If9595e8d8be97f5eb725acff8891e0bd1baf8928
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125480
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2023-03-28 01:17:19 +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
dawn-autoroll 194abe611b Roll vulkan-deps from d56f491466de to 2f3f68dfda8b (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/d56f491466de..2f3f68dfda8b

Changed dependencies:
* spirv-tools: f9f31fa5a9..d24a39a7f0

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 amaiorano@google.com,webgpu-developers@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: amaiorano@google.com
Change-Id: Id4ffa7c28782c8434eb6d9dd0bfb748e2b2459ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125520
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-27 16:21:04 +00:00
Dawn Autoroller 86f01195ce Roll ANGLE from 1301402c5381 to 98cfb969a16b (1 revision)
1301402c53..98cfb969a1

2023-03-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 672a6d1840c9 to d56f491466de (13 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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I9ea4391c3ee81fb71384899e601ecc9c53eec6b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125500
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-27 14:36:13 +00:00
dawn-autoroll 29428679c4 Roll vulkan-deps from 894471afb48f to d56f491466de (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/894471afb48f..d56f491466de

Changed dependencies:
* glslang: 1db9cd2854..45405e1d94
* vulkan-validation-layers: 79ed2374cb..9124f788b7

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: Id1f0a1b677d97540b14914994f0bb1ade7e12181
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125460
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-26 04:50:20 +00:00
Dawn Autoroller 69786d562f Roll ANGLE from 249b03aca732 to 1301402c5381 (1 revision)
249b03aca7..1301402c53

2023-03-25 hailinzhang@google.com Vulkan: improve etc to bc grident texture precison.

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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: If3c4360400cf36f6bbefc4aac9b485717f15b5fa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125441
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-25 17:46:40 +00:00
dawn-autoroll d4c9ae1662 Roll vulkan-deps from c5cbe0b0362c to 894471afb48f (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/c5cbe0b0362c..894471afb48f

Changed dependencies:
* spirv-tools: b4e0850ef7..f9f31fa5a9

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: Id32b8d9b399d7a647052f72ea332e59e5b30738d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125347
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-25 15:28:25 +00:00
Dawn Autoroller b697de5dc7 Roll ANGLE from 2bd8acfef5d0 to 249b03aca732 (4 revisions)
2bd8acfef5..249b03aca7

2023-03-24 cnorthrop@google.com restricted_trace_perf: Delete settings when using default
2023-03-24 i.nazarov@samsung.com Vulkan: Do not enforce custom ANGLEs secondary command buffers.
2023-03-24 i.nazarov@samsung.com Vulkan: Minor SecondaryCommandPool::destroy() optimization.
2023-03-24 i.nazarov@samsung.com Vulkan: Enable async features for Secondary Command Buffers.

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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: Iaffc62f0c34606c51781f5981b828211d45f929c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125440
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-25 04:34:02 +00:00
dawn-autoroll c234214afa Roll vulkan-deps from 672a6d1840c9 to c5cbe0b0362c (10 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/672a6d1840c9..c5cbe0b0362c

Changed dependencies:
* glslang: c43008e829..1db9cd2854
* spirv-tools: 9fbe1738ba..b4e0850ef7
* vulkan-headers: ee15ae402b..9b9fd871b0
* vulkan-loader: 23c3a6047f..d72476300b
* vulkan-tools: fb440ea67d..211fec7e9a
* vulkan-validation-layers: b3baf74e40..79ed2374cb

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I159172957a10cdfb44b233d3a279f0838df7d0d1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125345
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-25 00:32:27 +00:00
Antonio Maiorano deb2ec9785 tint: fix UB const-eval div by zero
Bug: oss-fuzz:56904
Change-Id: I2f47fcfa238b28e1148b0b36ccbe2166445964a1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125380
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-24 18:44:02 +00:00
Ben Clayton aff2b43596 tint/resolver: Fix ICE when using template args with builtin enums
Fixes an 'unreachable AST node' ICE which is otherwise completely harmless.

Bug: chromium:1427389
Change-Id: Id5a75b76ca27e00b9e44336a8dd303abed950333
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125400
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2023-03-24 17:27:42 +00:00
Le Hoang Quyen 99b8081e31 Add AdapterBase::APIGetInstance
This method is useful for Chrome to query the Instance from Device
by calling device.GetAdapter().GetInstance(). Then
instance.ProcessEvents() can be used to poll for events instead of
device.Tick().

Bug: dawn:1726
Change-Id: I45b5760bc07869a191ae3fd02ec25b99d78b068b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125360
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-24 15:50:50 +00:00
Dawn Autoroller 86adbdadf0 Roll ANGLE from f2c5ce4e80da to 2bd8acfef5d0 (7 revisions)
f2c5ce4e80..2bd8acfef5

2023-03-24 cnorthrop@google.com Tests: Add Geometry Dash trace
2023-03-24 i.nazarov@samsung.com Vulkan: Retire Command Buffers before destroying the Pools.
2023-03-24 i.nazarov@samsung.com Vulkan: Fix Secondary Command Buffers with asyncCommandQueue.
2023-03-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f988757e44a3 to c85d70d97009 (3 revisions)
2023-03-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 886b2b7b32a4 to 672a6d1840c9 (11 revisions)
2023-03-24 abdolrashidi@google.com Remove uninited pixel check from TexStorageWithPBO
2023-03-24 lexa.knyazev@gmail.com Adjust copied dylibs in update_chrome_angle.py

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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I01f576cb3b008608333c1c8eff462a2bd69ac8ca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125344
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 15:15:39 +00:00
dawn-autoroll d3a1f1f68d Roll vulkan-deps from e3f0b16c1809 to 672a6d1840c9 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e3f0b16c1809..672a6d1840c9

Changed dependencies:
* glslang: 14e5a04e70..c43008e829
* spirv-headers: 5b21f14b20..90547c54e2
* vulkan-tools: 728c1535de..fb440ea67d
* vulkan-validation-layers: 654deb4535..b3baf74e40

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I7203a8eda59561ee9bf13aa3200e0b1a37fa7503
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125342
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 11:07:27 +00:00
Dawn Autoroller 5dd1fbde5f Roll SwiftShader from 0b87966e0b12 to c85d70d97009 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/0b87966e0b12..c85d70d97009

2023-03-23 jif@google.com Add Android.bp for LLVM16
2023-03-23 jif@google.com Add configs/android for LLVM 16

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I14ed59d5a93bb3a922483518d004607cb3c3ce88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125263
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 04:41:35 +00:00
Yan,Shaobo 8150d1cf81 Add natural size in imageCopyExternalTexture
CopyExternalTextureForBrowser() uses external texture visible rect
as source size in previous.

But video frame natural size is the only one developer could get
from HTMLVideoElement and it means the size browser present video
on screen.

This CL add "natural size" in imageCopyExternalTexture and uses this
size as CopyExternalTextureForBrowser() source size.

Bug:dawn:1694

Change-Id: I2a3bfa8e689df11d1d13320d40ad02c7090425e5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123380
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 03:43:56 +00:00
Dawn Autoroller a671247872 Roll ANGLE from e7b7f9772384 to f2c5ce4e80da (7 revisions)
e7b7f97723..f2c5ce4e80

2023-03-23 abdolrashidi@google.com Re-enable mutable texture upload for one context
2023-03-23 lexa.knyazev@gmail.com D3D11: Implement EXT_conservative_depth
2023-03-23 lexa.knyazev@gmail.com Metal: Implement EXT_conservative_depth
2023-03-23 ynovikov@chromium.org Start MacBook Pro AMD 2019 experiment on ANGLE bots
2023-03-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 379ee8599f0f to 886b2b7b32a4 (12 revisions)
2023-03-23 i.nazarov@samsung.com Vulkan: Update SharedCommandBlockPool::valid() method.
2023-03-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 0cc04d07ab24 to f988757e44a3 (1 revision)

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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I2d312c332194b6f1470b9f415d8a7be7b7209497
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125262
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 00:49:53 +00:00
Peng Huang 35cab288aa [d3d] Move DumpCompiledShader to d3d folder
It will be shared between D3D11 and D3D12.

Bug: dawn:1705
Change-Id: If38122484a9063f158e83d364e2615a4ff10ead7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124884
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 00:08:29 +00:00
dawn-autoroll 39ccba3f34 Roll vulkan-deps from 20ba3b385ae8 to e3f0b16c1809 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/20ba3b385ae8..e3f0b16c1809

Changed dependencies:
* spirv-headers: a41cf67dfa..5b21f14b20
* spirv-tools: 5f4e694e10..9fbe1738ba
* vulkan-headers: fa204df59c..ee15ae402b
* vulkan-validation-layers: 4e721b511f..654deb4535

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I7af37f744d2cf0cb777006a66ea2e1fa3c85cf11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125340
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-23 21:25:26 +00:00
dan sinclair 5ab6dcb59b Update AST Fuzzers to initialize MultiPlanar transform.
When the fuzzers execute they need to make sure that, if there is data
effecting the MultiPlanar transform that the configuration is provided.
This used to be done by the generator, but is now the requirement of the
caller to initialize.

ThiS CL updates the AST Fuzzer common code to initialize the
`ExternalTextureOptions` with the same logic that is done by the tint
command.

Bug: chromium:1421379
Change-Id: Id957d73fe1317558edfdfcec3c0e2eaee48625bd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125280
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-23 19:35:02 +00:00
James Price b7179aa89d tools/cts: Fix link in authentication error
Change-Id: I035c43fb51728792135c269cd558c9838741f4f3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125320
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: James Price <jrprice@google.com>
2023-03-23 19:03:29 +00:00
Peng Huang 88daf92d34 [d3d] Move shader translation and compile code to d3d
So it can be shared between d3d11 and d3d12 backends

Bug: dawn:1705
Change-Id: Iffabe8d77a0ac3713da985c0cac5839299dc2a47
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124883
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-23 18:32:00 +00:00
Brendon Tiszka a045643361 Add Dawn Wire Server LPM Fuzzer [2/N]
Add generators for protobuf files.

This CL contains the basic logic required to generate the protobuf
files from dawn.json and the newly added dawn_lpm.json for
libprotobuf-mutator.

Bug: chromium:1374747
Change-Id: I5dd207ed94ecdac365306c26e79b6cc18d3978f6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114640
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
2023-03-23 16:02:20 +00:00
Dawn Autoroller 73570d8f48 Roll SwiftShader from f988757e44a3 to 0b87966e0b12 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f988757e44a3..0b87966e0b12

2023-03-23 jif@google.com Add riscv to the list of configs generated on android.

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: Ie1fb4a6df6599579658cce005d86da2bef38032c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125260
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-23 15:31:22 +00:00
Le Hoang Quyen de078bad8d Forward callbacks to Instance after Device is destroyed.
When InstanceBase::ProcessEvents() iterates through list of devices, one
device might be being destructed on another thread. Even if we try to
increase ref count of that device inside the ProcessEvents(), the device
might be in the middle of destructor call on another thread, increasing
the ref count is invalid in this case.

This CL attempts to fix this issue by removing the device's pointer
from InstanceBase earlier: when DeviceBase::WillDropLastExternalRef()
is called. After this point, any callback registered to this device will
be forwarded to InstanceBase's callback queue instead.

Bug: dawn:752
Change-Id: I8ae86575e34f753e52a76f5fc774bbb5366a1b85
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124281
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-03-23 15:16:46 +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
Dawn Autoroller a6dc75a19a Roll ANGLE from 74edb4b440b8 to e7b7f9772384 (1 revision)
74edb4b440..e7b7f97723

2023-03-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 27821cf1b122 to c83e966b4c7e (630 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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I5299ee9ef69b94a8e5bb005e1c06886c5d1623c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125220
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-23 10:18:38 +00:00
Austin Eng 0dc09c01a4 Workaround empty occlusion queries on Apple GPUs
Fixed: dawn:1707
Change-Id: I73f2b595c57830266e7d34ca9e483d803a00d331
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125180
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2023-03-23 07:15:03 +00:00
Austin Eng fa2d3851a8 Remove D3D12/NVIDIA occlusion query suppressions
This was fixed a while ago in
https://dawn-review.googlesource.com/c/dawn/+/48320
which filled the resolve buffer with 0 and only
resolved the available queries.

Bug: dawn:973
Change-Id: Icf6f83eeca65507ba3e6dda9e9f910d684465622
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125140
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
2023-03-23 07:11:23 +00:00
dawn-autoroll 42f96f6430 Roll vulkan-deps from 305e3679c53c to 20ba3b385ae8 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/305e3679c53c..20ba3b385ae8

Changed dependencies:
* spirv-headers: 1feaf4414e..a41cf67dfa
* spirv-tools: 5aab2a8fef..5f4e694e10
* vulkan-loader: 889e6b7223..23c3a6047f
* vulkan-tools: f196c8d3ca..728c1535de
* vulkan-validation-layers: 8b4a4eb257..4e721b511f

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I28108582fbce055657a02d2c802161f7efe6ef7c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125200
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-23 07:07:41 +00:00
Dawn Autoroller 134ffd92e1 Roll ANGLE from a621ea88cac3 to 74edb4b440b8 (6 revisions)
a621ea88ca..74edb4b440

2023-03-22 ynovikov@chromium.org Skip PixelLocalStorageTest.Interrupt on iOS Metal
2023-03-22 fangzhoug@chromium.org Bind FBO before timer query on Mali GL driver.
2023-03-22 lexa.knyazev@gmail.com Implement EXT_conservative_depth
2023-03-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 469b8c0e07d5 to 379ee8599f0f (10 revisions)
2023-03-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 9c9608fa94a9 to 0cc04d07ab24 (1 revision)
2023-03-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 23433174ff7f to 27821cf1b122 (589 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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: Ia197750554f56bc1e591b66ca2d932eedaf23fe6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125120
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-22 20:43:07 +00:00
Austin Eng 7605d59518 Add a test that an empty occlusion query is 0 if preceded by non-empty
Bug: dawn:1707
Change-Id: I89910d418780c714975b8b9e237bc9cdedfe91c9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125101
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2023-03-22 19:04:35 +00:00
dawn-autoroll 90fe374f1d Roll vulkan-deps from c689ca409262 to 305e3679c53c (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c689ca409262..305e3679c53c

Changed dependencies:
* spirv-cross: 763dbe14ab..09e60d74f6
* spirv-tools: 90f6a2875f..5aab2a8fef
* vulkan-validation-layers: c016017287..8b4a4eb257

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: Ia14f0b6f145ca5dce14ad9152ae07ac0ebd0d2ac
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125100
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-22 17:59:52 +00:00
dan sinclair 86216f5180 Add ability to use `{EXPECT|ASSERT}_THAT` with Diagnostics.
This CL adds the ability to use the `EXPECT_THAT` and `ASSERT_THAT`
macros with a `Diagnostics::List` object. The diagnostic string will be
emitted as part of the error message.

The `Resolver` is updated to provide access to the `Diagnostics` and the
`AppendVector` tests are updated to use the resolvers diagnostics
instead of the `error()` method.

Change-Id: I94682311fe6f135b7fceae9ec7a5108379fd32be
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125060
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-03-22 16:47:44 +00:00
Dawn Autoroller e8e3f9ada5 Roll SwiftShader from 0cc04d07ab24 to f988757e44a3 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/0cc04d07ab24..f988757e44a3

2023-03-22 jif@google.com Add CMakeLists.txt for LLVM16

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I44eb3bf8d7bedd33bd0cfb64693bbc03547b62ca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125040
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-22 14:53:54 +00:00
Dawn Autoroller afa64076a5 Roll ANGLE from 53d1a179d554 to a621ea88cac3 (6 revisions)
53d1a179d5..a621ea88ca

2023-03-21 gregschlom@google.com Adding a trace point for texture metrics.
2023-03-21 cnorthrop@google.com restricted_trace_perf: Run against default driver
2023-03-21 chris@rive.app Add PLS utilities for interrupting a rendering pass
2023-03-21 mark@lunarg.com Don't hold global surface lock during AcquireNextImage
2023-03-21 lexa.knyazev@gmail.com Metal: Implement EXT_clip_control
2023-03-21 lexa.knyazev@gmail.com Metal: Support centroid qualifier

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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I7838ada73b18bbfeff58c9aa98223fba34f36833
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125001
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-22 07:27:37 +00:00
dawn-autoroll 7e811fe563 Roll vulkan-deps from 95d34ca2eb37 to c689ca409262 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/95d34ca2eb37..c689ca409262

Changed dependencies:
* glslang: b34f619e1c..14e5a04e70
* spirv-tools: 4dc3edeb94..90f6a2875f
* vulkan-validation-layers: 2465552d8b..c016017287

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I10bcad91b68c97e39bfc700c5f337f3531ba3c06
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125000
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-22 03:38:05 +00:00
jchen10 4cd9a62b36 Add VulkanClearGen12TextureWithCCSAmbiguateOnCreation toggle
This works around an Intel Gen12 mesa driver bug by clearing some
R8 textures on creation to mitigate the buggy CCS ambiguates.

Bug: chromium:1361662

Change-Id: I7311275d0c9fc5928985e2a51b4eb7b30459b493
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124200
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-22 03:15:27 +00:00
Dawn Autoroller 20b53ccc44 Roll ANGLE from d7201a0f7fbc to 53d1a179d554 (6 revisions)
d7201a0f7f..53d1a179d5

2023-03-21 sky@chromium.org Makes ToposortStructs() return consistent results
2023-03-21 lexa.knyazev@gmail.com Fix sample qualifier validation
2023-03-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 35cbe26c4b3a to 469b8c0e07d5 (8 revisions)
2023-03-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 85772f1891db to 9c9608fa94a9 (7 revisions)
2023-03-21 gert.wollny@collabora.com Capture/restricted_traces: update documentation
2023-03-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 528cae6045de to 23433174ff7f (599 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 angle-team+autoroll@google.com,jrprice@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: jrprice@google.com
Change-Id: I0b0123bcef4b0d4217fffc766868d68101ecc32d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124940
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-21 18:16:43 +00:00
Peng Huang ff023dcc4b Move D3DCompliationRequest struct to d3d folder
So it can be shared between D3D11 and D3D12 backends.

Bug: dawn:1705
Change-Id: Iafd2a1d66a9989229892f86a61a0d4df26f3d672
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124881
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-21 17:17:48 +00:00
Dawn Autoroller 921d5069b9 Roll SwiftShader from 9c9608fa94a9 to 0cc04d07ab24 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/9c9608fa94a9..0cc04d07ab24

2023-03-21 jif@google.com Add configs/common and configs/linux for LLVM 16

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I5c21ae28e0bae297d04efb7ebd44244f1ef76cb1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124920
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-21 17:04:26 +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
dawn-autoroll ed2eb3e903 Roll vulkan-deps from 469b8c0e07d5 to 95d34ca2eb37 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/469b8c0e07d5..95d34ca2eb37

Changed dependencies:
* spirv-cross: d26c233e1c..763dbe14ab

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 jrprice@google.com,webgpu-developers@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: jrprice@google.com
Change-Id: I2daa3c0fc7beb207a97edcc56fe31f46ba19e4d5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124843
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-21 14:22:50 +00:00