Commit Graph

11846 Commits

Author SHA1 Message Date
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
Dawn Autoroller 1439f81231 Roll ANGLE from ee9a7df0b388 to d7201a0f7fbc (4 revisions)
ee9a7df0b3..d7201a0f7f

2023-03-20 mikes@lunarg.com Tests: Add New Legend of the Condor Heroes trace
2023-03-20 ynovikov@chromium.org Unskip dEQP-EGL tests
2023-03-20 lexa.knyazev@gmail.com Reland "Implement EXT_depth_clamp"
2023-03-20 jdapena@igalia.com IWYU: missing include for std::atomic in FixedQueue.h

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: I0ae68f0aadc5ad96da062956138afbe40511a8ec
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124861
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 04:58:44 +00:00
Dawn Autoroller 73c5a01b1b Roll SwiftShader from 5590857be813 to 9c9608fa94a9 (6 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/5590857be813..9c9608fa94a9

2023-03-20 jif@google.com Add LLVM 16 at commit fce3e75e01ba
2023-03-20 jdapena@igalia.com More C++20 fixes
2023-03-20 hwennborg@google.com Add missing #include <exception> for std::terminate
2023-03-20 jdapena@igalia.com GCC: fix build error due to missing template keyword in GCC 12.
2023-03-20 jdapena@igalia.com Another C++20 fix for GCC
2023-03-20 jdapena@igalia.com GCC: fix build error due to deprecated declarations warning

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: Ie46eeeab3b9f20409e109c066065af588c42b410
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124860
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 03:51:37 +00:00
dawn-autoroll e23ec98f29 Roll vulkan-deps from 35cbe26c4b3a to 469b8c0e07d5 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/35cbe26c4b3a..469b8c0e07d5

Changed dependencies:
* spirv-tools: ae435df4a6..4dc3edeb94
* vulkan-loader: 011d7a4ac0..889e6b7223
* vulkan-validation-layers: 9139876c5b..2465552d8b

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: I995626b47eef2100238bdb0130bab5689b0700b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124840
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-21 01:12:02 +00:00
Austin Eng 9a73375ddd Set depth clear value to 0 if it is unused (load op load)
VVL complains if it is NaN (the default value)

Fixed: dawn:1718
Include-Ci-Only-Tests: true
Change-Id: I397ad15dc7d5c142d7bd29f4301de27331aa7141
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124820
Kokoro: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
2023-03-20 22:37:17 +00:00
James Price 0e22bdbae7 tint/msl: Fix emission of private variables
In order to avoid declaring too many function parameters, we
previously modified this transform to redeclare private variables that
are only used inside a single function as function-scope
variables. This was broken as it meant that their values did not
persist across multiple calls to the same function.

Instead, wrap all private variables in a structure and pass it around
as a pointer.

Fixed: tint:1875
Change-Id: I83f5eb1071d57b9c6af56d6cf21b3a32c6e94260
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124800
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
2023-03-20 21:46:01 +00:00
Ben Clayton 2a7005f416 Roll third_party/webgpu-cts/ 99d11d886..886a83abf (28 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


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

Created with './tools/run cts roll'

Change-Id: Ifd5a33d9aeabd04656edaf516ecb222d2d01f711
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124740
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-20 16:38:06 +00:00
Dawn Autoroller ab6318255c Roll ANGLE from 0707496806f6 to ee9a7df0b388 (5 revisions)
0707496806..ee9a7df0b3

2023-03-20 jdapena@igalia.com IWYU: usage of size_t requires include in texture_utils
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 7d001b3fac09 to 85772f1891db (1 revision)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 250e3914595d to 35cbe26c4b3a (10 revisions)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 20d674342f00 to 9e822059a32e (10 revisions)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 7a04676dce36 to 528cae6045de (657 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: I98eb4b7e63facf6d4f77afe457acfd9fb0d84eb6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124781
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-20 15:49:07 +00:00
Dawn Autoroller c18e6d1df4 Roll SwiftShader from 85772f1891db to 5590857be813 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/85772f1891db..5590857be813

2023-03-20 jif@google.com Add risc-v to marl's Android build files.

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,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: bclayton@google.com
Change-Id: I2b22ed136c555fc01bfe43d9c3374c3c26b5cec0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124780
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-20 14:38:57 +00:00