Commit Graph

4660 Commits

Author SHA1 Message Date
Austin Eng f30f3a912d Roll third_party/vulkan-deps/ d74e02442..39f3a18bd (591 commits)
https://chromium.googlesource.com/vulkan-deps/+log/d74e02442e56..39f3a18bdfbe

Changed dependencies:
  * glslang: 7ca4dfa061..ca13951205
  * spirv-cross: bab4e5911b..e9cc640334
  * spirv-headers: 449bc986ba..eddd4dfc93
  * spirv-tools: 926ff6d1ba..7d768812e2
  * vulkan-headers: c5b7a2fa18..e005e1f817
  * vulkan-loader: 90fd66f60f..a11162fcac
  * vulkan-tools: 5805106266..05c6171c04
  * vulkan-validation-layers: cefa7fd82e..f8f8e2fe64

$ git log d74e02442..39f3a18bd --date=short --no-merges --format='%ad %ae %s'
2021-12-15 chromium-autoroll Roll SPIRV-Tools from b7251d4fb756 to 7d768812e202 (1 revision)
2021-12-15 chromium-autoroll Roll SPIRV-Headers from d53b49635b74 to eddd4dfc930f (1 revision)
2021-12-15 chromium-autoroll Roll Vulkan-ValidationLayers from 9f537109da6d to f8f8e2fe648a (2 revisions)
2021-12-15 chromium-autoroll Roll SPIRV-Tools from 354a46a2a22e to b7251d4fb756 (1 revision)
2021-12-15 chromium-autoroll Roll SPIRV-Tools from 4322c4b5a7db to 354a46a2a22e (1 revision)
2021-12-15 chromium-autoroll Roll Vulkan-Loader from 24373f2d987b to a11162fcaca8 (1 revision)
2021-12-14 chromium-autoroll Roll SPIRV-Tools from f0351b7bc60b to 4322c4b5a7db (1 revision)
2021-12-13 chromium-autoroll Roll Vulkan-Loader from ca9efe3f1ccd to 24373f2d987b (1 revision)
2021-12-13 chromium-autoroll Roll SPIRV-Tools from ff07cfd86fa2 to f0351b7bc60b (1 revision)
2021-12-13 chromium-autoroll Roll Vulkan-Tools from d3cdb64f2ef5 to 05c6171c04df (1 revision)
2021-12-12 chromium-autoroll Roll Vulkan-Tools from 08f87babadc4 to d3cdb64f2ef5 (1 revision)
2021-12-11 chromium-autoroll Roll Vulkan-Loader from 2bbfe2ef640c to ca9efe3f1ccd (9 revisions)
2021-12-10 chromium-autoroll Roll Vulkan-ValidationLayers from 3dfeacfe0ad0 to 9f537109da6d (1 revision)
2021-12-10 chromium-autoroll Roll SPIRV-Tools from e4527925944c to ff07cfd86fa2 (1 revision)
2021-12-10 chromium-autoroll Roll SPIRV-Tools from 315615887836 to e4527925944c (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from a2260d3b1fd2 to 315615887836 (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from f16f14915b7d to 3dfeacfe0ad0 (3 revisions)
2021-12-09 chromium-autoroll Roll glslang from 542ee69d8309 to ca1395120555 (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from d240d0db92d5 to a2260d3b1fd2 (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from 965e5f89e257 to f16f14915b7d (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from ee8a454f88a8 to 965e5f89e257 (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from f37551d2b617 to d240d0db92d5 (3 revisions)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from 438096e0c252 to f37551d2b617 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 64328e94dbd1 to 438096e0c252 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 1ed847f43804 to 64328e94dbd1 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from b162ede0dea5 to 1ed847f43804 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 1f3f0f185b62 to b162ede0dea5 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from f9bcc82ec730 to 1f3f0f185b62 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Headers from 29414ae1fd07 to d53b49635b74 (1 revision)
2021-12-07 chromium-autoroll Roll glslang from ec5ea2d6cbad to 542ee69d8309 (2 revisions)
2021-12-07 chromium-autoroll Roll Vulkan-Loader from 3d3aae8fab85 to 2bbfe2ef640c (1 revision)
2021-12-07 chromium-autoroll Roll Vulkan-ValidationLayers from 2c2b81c05189 to ee8a454f88a8 (2 revisions)
2021-12-07 chromium-autoroll Roll Vulkan-Headers from ea61f32f24d2 to e005e1f8175d (1 revision)
2021-12-06 chromium-autoroll Roll Vulkan-ValidationLayers from 81195dfecbd0 to 2c2b81c05189 (1 revision)
2021-12-06 chromium-autoroll Roll Vulkan-Loader from 876a1b9c3427 to 3d3aae8fab85 (1 revision)
2021-12-04 chromium-autoroll Roll SPIRV-Tools from c75a1a46f39f to f9bcc82ec730 (1 revision)
2021-12-03 chromium-autoroll Roll Vulkan-Loader from 143eb773e4e8 to 876a1b9c3427 (1 revision)
2021-12-03 chromium-autoroll Roll Vulkan-Loader from 737b390a4c53 to 143eb773e4e8 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 8c4aad9df626 to 81195dfecbd0 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 1858ae9e00a4 to 8c4aad9df626 (2 revisions)
2021-12-02 chromium-autoroll Roll Vulkan-Headers from a15237165443 to ea61f32f24d2 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 2a7d7a3c3b1f to 1858ae9e00a4 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from ae1ef56fc99b to 2a7d7a3c3b1f (2 revisions)
2021-12-02 ynovikov Revert "Roll Vulkan-Headers from a15237165443 to ea61f32f24d2 (1 revision)"
2021-12-02 chromium-autoroll Roll glslang from 0e1396862cc8 to ec5ea2d6cbad (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-Loader from f8c72d8fe402 to 737b390a4c53 (1 revision)
2021-12-02 chromium-autoroll Roll SPIRV-Tools from d0a827a9f313 to c75a1a46f39f (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-Loader from 6df9f13c7b68 to f8c72d8fe402 (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-Tools from 68b0ab756634 to 08f87babadc4 (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-ValidationLayers from c6bafff88f7e to ae1ef56fc99b (1 revision)
(...)
2021-08-30 chromium-autoroll Roll Vulkan-ValidationLayers from a9124f216679 to f39b2452f1f4 (2 revisions)
2021-08-30 chromium-autoroll Roll Vulkan-Tools from 580510626634 to 6c444b2c9f7b (1 revision)
2021-08-30 chromium-autoroll Roll Vulkan-Loader from 39dd126e16c7 to 4e55fdb4d272 (1 revision)
2021-08-30 chromium-autoroll Roll SPIRV-Tools from b8fce5f9e6da to 702e6af3800b (1 revision)
2021-08-29 chromium-autoroll Roll Vulkan-Headers from c5b7a2fa1875 to 9e62d027636c (1 revision)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 7217507df70a to a9124f216679 (2 revisions)
2021-08-27 chromium-autoroll Roll SPIRV-Tools from ee30773650ec to b8fce5f9e6da (1 revision)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from bbd74cacc96e to 7217507df70a (5 revisions)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 15f450dbbf6c to bbd74cacc96e (2 revisions)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 0a5b93050693 to 15f450dbbf6c (2 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from 9f65d3f73cab to 0a5b93050693 (2 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from e09fa25f18ae to 9f65d3f73cab (3 revisions)
2021-08-26 chromium-autoroll Roll SPIRV-Tools from 2a5cc342fb5a to ee30773650ec (1 revision)
2021-08-26 chromium-autoroll Roll Vulkan-Loader from d7c8139c370a to 39dd126e16c7 (1 revision)
2021-08-26 chromium-autoroll Roll Vulkan-Loader from 90fd66f60fa7 to d7c8139c370a (3 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from b8705a01456b to e09fa25f18ae (4 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from ce4817c22c81 to b8705a01456b (2 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from c2c5bbe227fb to ce4817c22c81 (1 revision)
2021-08-25 chromium-autoroll Roll glslang from a4599ef7561a to 2fb89a0072ae (1 revision)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from 6fa8d3cbb97b to c2c5bbe227fb (2 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from 46eb54e6a0df to 6fa8d3cbb97b (3 revisions)
2021-08-25 chromium-autoroll Roll SPIRV-Tools from 3d4246b4aaa6 to 2a5cc342fb5a (2 revisions)
2021-08-24 chromium-autoroll Roll SPIRV-Tools from 88f9c15eaea47a20120d1ade2fb51ef79bfac6e7 to 3d4246b4aaa6 (1 revision)
2021-08-24 chromium-autoroll Roll SPIRV-Tools from a1d5d67aeb45 to 88f9c15eaea4 (1 revision)
2021-08-24 chromium-autoroll Roll Vulkan-ValidationLayers from dbb81cca542d to 46eb54e6a0df (1 revision)
2021-08-24 chromium-autoroll Roll Vulkan-ValidationLayers from 1b7bd5773b55 to dbb81cca542d (1 revision)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from 828e59d0417f to 1b7bd5773b55 (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from b6121706a4af to 828e59d0417f (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Tools from 937227c761a9 to a1d5d67aeb45 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Tools from d699296b4d4e to 937227c761a9 (1 revision)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from e6e56b607161 to b6121706a4af (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from c9b8c134c113 to e6e56b607161 (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from 931cff66d7b2 to c9b8c134c113 (4 revisions)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from 840d4483bcb2 to 0e2880ab990e (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from c062b6b85272 to 840d4483bcb2 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from fad15907867d to c062b6b85272 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from 27e7abeab15e to fad15907867d (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from bab4e5911b1b to 27e7abeab15e (1 revision)
2021-08-22 chromium-autoroll Roll Vulkan-ValidationLayers from a5405505d5d1 to 931cff66d7b2 (2 revisions)
2021-08-22 chromium-autoroll Roll Vulkan-ValidationLayers from e1f91ba6c4bb to a5405505d5d1 (2 revisions)
2021-08-20 chromium-autoroll Roll Vulkan-ValidationLayers from 78d6199679ef to e1f91ba6c4bb (3 revisions)
2021-08-20 chromium-autoroll Roll Vulkan-ValidationLayers from b3f17dc51510 to 78d6199679ef (1 revision)
2021-08-19 chromium-autoroll Roll Vulkan-ValidationLayers from c481a49ce568 to b3f17dc51510 (5 revisions)
2021-08-19 chromium-autoroll Roll SPIRV-Tools from 1ad8b71359b2 to d699296b4d4e (1 revision)
2021-08-19 chromium-autoroll Roll Vulkan-ValidationLayers from f6bb4bbc6ca3 to c481a49ce568 (2 revisions)
2021-08-18 chromium-autoroll Roll Vulkan-ValidationLayers from e5fad63fc9a4 to f6bb4bbc6ca3 (1 revision)
2021-08-18 chromium-autoroll Roll SPIRV-Tools from a9ce5e07c627 to 1ad8b71359b2 (1 revision)
2021-08-18 chromium-autoroll Roll glslang from 7ca4dfa06158 to a4599ef7561a (1 revision)
2021-08-18 chromium-autoroll Roll Vulkan-ValidationLayers from cefa7fd82e22 to e5fad63fc9a4 (1 revision)
2021-08-18 chromium-autoroll Roll SPIRV-Tools from 926ff6d1bab0 to a9ce5e07c627 (2 revisions)

Created with:
  roll-dep third_party/vulkan-deps

Change-Id: I6d0cdd1450c612db8100b4347af9f00a45790a8e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73780
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2021-12-21 00:52:41 +00:00
Brandon Jones 67a2d57e3f Temporarily avoid error message formatting failure
For unknown reasons formatting of a error context message fails in
RenderEncoderBase::APISetBindGroup fails if the bind group is printed
as a string in the message. This despite the exact same code working as
intended in ComputePassEncoder::APISetBindGroup. Replacing it with a
static "[BindGroup]" to allow the rest of the message to format
correctly until the reason for the failure can be determined.

Bug: dawn:1190
Change-Id: I31105acff4d08849a34e406c6b8e85fab28f17b5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73280
Auto-Submit: Brandon Jones <bajones@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2021-12-21 00:07:01 +00:00
Dawn Autoroller 13f4129ec1 Roll Tint from 66e7569e15 to c5f2fe4c78 (1 revision)
https://dawn.googlesource.com/tint.git/+log/66e7569e15a6..c5f2fe4c7873

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: I06225f4b38d5e7fb187fe99967278ab09559412d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73680
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-20 22:53:01 +00:00
Dawn Autoroller 0d42579322 Roll Tint from a9d6c34d86 to 66e7569e15 (1 revision)
https://dawn.googlesource.com/tint.git/+log/a9d6c34d868a..66e7569e15a6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: I1d17fec04323add9ed15eadc016d80e6260a9315
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73566
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-20 17:37:31 +00:00
Dawn Autoroller f3b65c71bc Roll Tint from 667bc2d929 to a9d6c34d86 (1 revision)
https://dawn.googlesource.com/tint.git/+log/667bc2d929bd..a9d6c34d868a

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: Ife1e7454231a19bce427550cf7fdc6c8ffef4363
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73520
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-19 02:19:00 +00:00
Dawn Autoroller 8c845bb615 Roll Tint from 188b1fb8f5 to 667bc2d929 (1 revision)
https://dawn.googlesource.com/tint.git/+log/188b1fb8f5be..667bc2d929bd

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: I36e1a51de9e349f9d8db066b49bcc8a50be8fdb5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73460
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-17 21:25:58 +00:00
Yan 36e86ee778 Remove AlphaOp
CopyTextureForBrowserOptions deprecated AlphaOp after supporting
color space conversion. AlphaMode for src and dst is the replacement.

Bug: dawn:1140
Change-Id: Id507bd7525d74be8a12d212b92cc22f0c7bc94b7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73141
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2021-12-17 03:49:48 +00:00
Dawn Autoroller d3c8f6b8ec Roll Tint from 11d9a08287 to 188b1fb8f5 (1 revision)
https://dawn.googlesource.com/tint.git/+log/11d9a0828781..188b1fb8f5be

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: Ic6148ca7e6f02ef6c95e84d18328b64583a3cf8a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73320
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-17 03:43:29 +00:00
fujunwei fc38f7d879 Make dawn_platform.h template flexible
Replace hardcode content with metadata defined in api.json

BUG=dawn:1201
Change-Id: Ib6d6a9c7afc8fb89d3ff2d0129dbfba04adb542a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73160
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
2021-12-17 00:46:08 +00:00
Dawn Autoroller b6dc96055e Roll Tint from 9360046a86 to 11d9a08287 (1 revision)
https://dawn.googlesource.com/tint.git/+log/9360046a86f6..11d9a0828781

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: If1d11a001a863b8c3af8cd56f99555fbc2f66db7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73260
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-16 22:38:08 +00:00
Dawn Autoroller 3649af2486 Roll ANGLE from bda493258463 to 543f5750f70e (11 revisions)
bda4932584..543f5750f7

2021-12-16 cclao@google.com Vulkan: Disable protected memory for ARM
2021-12-16 msisov@igalia.com Add support for GL_MESA_framebuffer_flip_y 1/*
2021-12-16 lubosz.sarnecki@collabora.com Tests: Add Dota Underlords trace.
2021-12-16 lubosz.sarnecki@collabora.com Tests: Add My Talking Tom 2 trace.
2021-12-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a8221eed5970 to 39f3a18bdfbe (5 revisions)
2021-12-16 lubosz.sarnecki@collabora.com system_utils_posix: Check for SEGV_MAPERR si_code.
2021-12-16 penghuang@chromium.org Support more ImageLayout in ConvertImageLayoutToGLImageLayout
2021-12-16 gman@chromium.org Metal: Remove references to xfbActiveUnpaused uniform
2021-12-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 2dae07eeb163 to 3f6c88f5581a (414 revisions)
2021-12-16 lexa.knyazev@gmail.com Metal: Enable OES_fbo_render_mipmap
2021-12-16 kpiddington@apple.com Metal: Fix Webkit warnings in ANGLE build

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 enga@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: enga@google.com
Change-Id: Iad736b281c7c1d447c19f9f40b5b3cf722194478
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73220
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-16 19:31:38 +00:00
fujunwei a2241d402e Configure the namespace of native implementation in api.json
Make ValidationUtils flexible for other generation.

BUG=dawn:1201
Change-Id: I42ccbd3d9c2fe37abec4b8f7eb395583dbe1dc8d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72980
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
2021-12-16 04:54:38 +00:00
Dawn Autoroller 8921987f08 Roll ANGLE from 8419f4fcd1ec to bda493258463 (14 revisions)
8419f4fcd1..bda4932584

2021-12-16 gman@chromium.org Add guards for 64 bit types on 32bit systems
2021-12-16 ynovikov@chromium.org Skip SimpleStateChangeTestES3.OutOfBoundsByteAttribute on Pixel4 GLES
2021-12-15 abdolrashidi@google.com Vulkan: Fix the UAF issue with BufferData
2021-12-15 gman@chromium.org Metal: Integrate Metal Binary Shader generation
2021-12-15 kpiddington@apple.com Metal: Fix macOS ANGLE build on Catalina (10.15) SDK
2021-12-15 abdolrashidi@google.com Vulkan: Set content undefined on eglSwapBuffers
2021-12-15 cnorthrop@google.com Tests: Add Asphalt 9 trace
2021-12-15 syoussefi@chromium.org Vulkan: Disable async command queue with Vulkan SCBs
2021-12-15 m.maiya@samsung.com Invalidate EGL handles during eglTerminate
2021-12-15 lexa.knyazev@gmail.com Expand WebGLCompressedTextureAvailabilityTest
2021-12-15 jmadill@chromium.org end2end_tests: Add SwS + AsyncQueue testing.
2021-12-15 gman@chromium.org Update warning message for invalid include
2021-12-15 sugoi@google.com Return full error info when opening a library with dlopen
2021-12-15 syoussefi@chromium.org Vulkan: Fix desc set updates with Vulkan SCBs

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 enga@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: enga@google.com
Change-Id: I48870703ec71c03ec93c09b927c8e9053b376b9e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73140
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-16 04:12:58 +00:00
Austin Eng 874c6cfd7e Update BSD 3 license comment
Bug: none
Change-Id: If65c7f077ccefa62a62d24fad7003b4ab245c757
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73120
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2021-12-16 00:52:26 +00:00
Austin Eng f6519cc4e5 Test requestAdapter and requestDevice on the wire
Bug: dawn:689
Change-Id: I032cfcba755be241126dfa8447a38625d7183334
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71523
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-15 23:06:17 +00:00
Austin Eng 07e766728a dawn_wire: Implement requestAdapter and requestDevice
This implements requestAdapter and requestDevice by
forwarding commands the the server and relaying back
replies. After an adapter or device is created,
limits/properties/features are queried and also sent
back to the client.

Bug: dawn:689
Change-Id: Ie0c2984b8ebb661efb0c284a14ae8b74ae4af2ea
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71522
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-15 21:52:17 +00:00
Austin Eng 736dd07303 Fix typo in api_struct_info.json
Breaking the Dawn->Chromium roll

Bug: none
Change-Id: Ic016b8bbdc817696bd31192a48dfd2022adcff8f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73060
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-15 18:06:36 +00:00
Dawn Autoroller 4a179c2d96 Roll ANGLE from 9d49d8438f4b to 8419f4fcd1ec (7 revisions)
9d49d8438f..8419f4fcd1

2021-12-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c03890076954 to a8221eed5970 (2 revisions)
2021-12-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 0c0a3654694f to 2dae07eeb163 (450 revisions)
2021-12-15 cnorthrop@google.com Revert "Upgrade restricted traces to new trace format."
2021-12-15 yuxinhu@google.com Modified buffer fallback format to smaller storage format
2021-12-15 cnorthrop@google.com Revert "Trace Tests: Remove auto-generated code."
2021-12-15 shrekshao@google.com Skip MultithreadingTest.MultiContextDrawWithSwapBuffers
2021-12-15 iannucci@chromium.org Switch to non-deprecated bbagent, remove defunct experiments.

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 enga@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: enga@google.com
Change-Id: I4edfc70ba52f150cb600a67a4f69718fceea379a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73040
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-15 13:46:36 +00:00
James Price d4f8c39f52 Remove [[block]] attribute from all shaders
This has been removed from WGSL and is now deprecated in Tint.

Bug: tint:1324
Change-Id: Ic187ce3c5ce0723db6f3ca6483e9f5e73ce27acc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72880
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-15 13:13:26 +00:00
fujunwei 16ae3b8b95 Make the templates of mocking api flexible
Rename mock_webgpu to mock_api and define the function "GetProcTableAndDevice" to "GetProcTable" for removing the special arguments "WGPUDevice* device" that can be got with "GetNewDevice()".

BUG=dawn:1201

Change-Id: I4fc47e4497ba4b6d280cc8af8605f1d93f43497e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72761
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
2021-12-15 04:35:26 +00:00
Yan 5204053954 Support "length" in dawn.json could be a integer
Struct member defined in dawn.json could have a 'length' attribute
defines the length of the member if it is an array.

In previous, the 'length' could only be 'strlen' or other variable
which has 'uint32_t' types. It cannot support constant length.

CopyTextureForBrowserOptions transfers conversion parameters and
conversion matrix with a constant length. This CL adds this ability
to meet such requirements.

Bug: dawn:1140
Change-Id: I6eeabbc55cc3853fe15e33bdd44060b16f6096bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72580
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2021-12-15 04:08:56 +00:00
Dawn Autoroller f7b0c28f17 Roll ANGLE from f236c8f29bbe to 9d49d8438f4b (14 revisions)
f236c8f29b..9d49d8438f

2021-12-14 lexa.knyazev@gmail.com Add WebGLCompressedTextureAvailabilityTest
2021-12-14 shrekshao@google.com BufferSubDataTest.SmallIndexBufferUpdateAfterDraw testSetUp fix
2021-12-14 m.maiya@samsung.com Vulkan: Rectify typo introduced in 36fcf80b1f2a99
2021-12-14 jmadill@chromium.org Trace Tests: Remove auto-generated code.
2021-12-14 kpiddington@apple.com Metal: ETC and ASTC are missing on M1
2021-12-14 m.maiya@samsung.com Vulkan: Consolidate SamplerYcbcrConversionCache
2021-12-14 jmadill@chromium.org Upgrade restricted traces to new trace format.
2021-12-14 hailinzhang@google.com Vulkan: Fix dynamic partial update buffer data issue.
2021-12-14 penghuang@chromium.org Support creating EGLImage from VkImage
2021-12-14 jmadill@chromium.org Capture/Replay: Update process for trace upgrading.
2021-12-14 bpastene@chromium.org Revert "Enable the chromium recipe RDB results experiment for all builds."
2021-12-14 lubosz.sarnecki@collabora.com BufferDataTest: Add more coherent buffer storage tests.
2021-12-14 lubosz.sarnecki@collabora.com BufferDataTest: Do not require GL_EXT_map_buffer_range.
2021-12-14 lubosz.sarnecki@collabora.com FrameCapture: Implement capture of coherent bufferstorages.

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 enga@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: enga@google.com
Change-Id: I945ce95458c0b1f5a80be26f39e7e2f3a5ca0fb4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72960
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-15 00:59:56 +00:00
Austin Eng 18416ecdf9 dawn_node: Fix wgpu::ErrorFilter::None
This enum value was removed.

Bug: dawn:1206
Change-Id: Ifebceb01e817a29daec6629434d4dd792f343f74
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72940
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2021-12-15 00:29:46 +00:00
Austin Eng 89ddadcd1e Add feature queries to dawn_native/dawn_wire
This is so we can implement the adapter/device APIs fully
on dawn_wire.

Bug: dawn:689
Change-Id: I47f68157d081f359f871e0efe0d974dfe53de7d7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71521
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-15 00:12:30 +00:00
Dawn Autoroller fe1e929d5a Roll Tint from 5ad482744d to 9360046a86 (1 revision)
https://dawn.googlesource.com/tint.git/+log/5ad482744db1..9360046a86f6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: I4edc02c047dad50b875b1b6b5dc30d5122e8a4a0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72900
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-15 00:12:05 +00:00
Austin Eng 5397f9f9d0 Add basic or stub implementations of upstream instance/adapter APIs
Adds upstream instance/adapter APIs. In dawn_native, the basic APIs
to get limits and properties are implemented, but requestAdapter and
requestDevice are not. In dawn_wire, nothing is implemented, but the
stub definitions are put in place, as well the mechanism to inject
WGPUInstance into the wire.

There is a lifetime concern with WGPUInstance and WGPUAdapter on the
wire in that we need to ensure that the client cannot free the
instance or adapter while they are in use. In the near term, this is
not a problem because Chromium will always hold ownership of the
instance and adapters outside of the wire - i.e. it won't inject and
then release ownership.

Bug: dawn:160, dawn:689
Change-Id: Id904272983f23babc9177bc163d78c4fa1044da0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71520
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-14 23:22:46 +00:00
Austin Eng 0e6f443359 Remove dawn_native::DeviceDescriptor typedef
Bug: dawn:160, dawn:689
Change-Id: I9ec5f2056ac70c4150e6555291045690ee295403
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/70582
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-14 22:35:35 +00:00
Dawn Autoroller f296710f64 Roll Tint from 9b9132c715 to 5ad482744d (1 revision)
https://dawn.googlesource.com/tint.git/+log/9b9132c71522..5ad482744db1

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: Id8b40868db9dcd42e93569b72283446335b4e53c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72820
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-14 16:13:06 +00:00
Dawn Autoroller 5b6107e8f2 Roll ANGLE from ea03bf47e50f to f236c8f29bbe (10 revisions)
ea03bf47e5..f236c8f29b

2021-12-14 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a0a6270b47e4 to c03890076954 (1 revision)
2021-12-14 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 592d413edb56 to f354daff5a2b (4 revisions)
2021-12-14 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 30aeba8927a2 to 0c0a3654694f (457 revisions)
2021-12-14 abdolrashidi@google.com Vulkan: Fix the offset issue in multiDrawIndirect
2021-12-14 johncunningham@apple.com Metal: add ANGLE_metal_create_context_ownership_identity.
2021-12-13 j.vigil@samsung.com EGL: Add queries for EGL_KHR_protected_content
2021-12-13 gman@chromium.org Metal:Add debug info for shaders
2021-12-13 jmadill@chromium.org Frame Capture: Merge small frames into single sources.
2021-12-13 syoussefi@chromium.org Vulkan: Remove VK_EXT_swapchain_colorspace check
2021-12-13 jmadill@chromium.org Reduced "rx::vk::kInFlightCommandsLimit" from "100" to "50".

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 enga@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: enga@google.com
Change-Id: Ic681691b2f15bca8370426132da2aae95486832e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72780
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-14 12:19:45 +00:00
Corentin Wallez 5bd9445127 Remove CubeReflection and the dependency on GLM
Bug: None
Change-Id: Ie0948a8c14751777754360d276ce212507b74642
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72581
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-14 08:42:36 +00:00
Li Hao 4682ae0034 Get counterSets and counters using Objective-C style
Bug=dawn:1102

Change-Id: I656938f180ac3436a40ba8720e54618c8921504b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72760
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-14 08:41:26 +00:00
Yan 483bead0e2 CopyTextureForBrowser: Support display p3 to Srgb color space conversion
This CL add color space conversion bases for CopyTextureForBrowser.
Theoretically, it could support any color space conversion. But
test cases only cover (Srgb, DisplayP3) to (Srgb).
It could be expanded to more color spaces conversions.

Bug: dawn:1140
Change-Id: I332e6d1f7cf2424fd5f5af83c71fa45c98d2d8ac
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/70780
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2021-12-14 04:51:45 +00:00
Dawn Autoroller fa2d418ee6 Roll Tint from 654149fd69 to 9b9132c715 (2 revisions)
https://dawn.googlesource.com/tint.git/+log/654149fd6938..9b9132c71522

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: If299b9c8bbfb507c24ff43054dc045494dcbd1fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72740
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-14 04:07:31 +00:00
fujunwei d3cac111b6 Template hardcode functions in webgpu_cpp.cpp
Rename webgpu_cpp.cpp to api_cpp.cpp and make it flexible.

BUG=dawn:1201
Change-Id: Ib964be9399e9733c4fe9de5d1cd0361182bb0836
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72460
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
2021-12-14 02:20:15 +00:00
Shrek Shao d7304d1971 Further api.h license issue fixes
Beef up the comment in the file to describe what's going on with
the licenses, as well as describe why the generated file is
a different license.

Also move the BSD text to a different file.

Change-Id: I6d08256317f3a0a150e0c35d3d902fceb7dcb44e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72680
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2021-12-14 01:06:15 +00:00
Dawn Autoroller b7e2f36542 Roll ANGLE from 8991bf5460b6 to ea03bf47e50f (7 revisions)
8991bf5460..ea03bf47e5

2021-12-13 lfy@google.com Vulkan: fix crash when clearing stencil
2021-12-13 ynovikov@chromium.org Skip GLSLTest_ES31.StructAndArrayEqualOperator on Pixel 4
2021-12-13 jmadill@chromium.org Frame Capture: Don't unmap regenned buffers in reset.
2021-12-13 jmadill@chromium.org Frame Capture: Clear array buffer binding in MEC.
2021-12-13 bsheedy@chromium.org Suppress Mac 12 failure
2021-12-13 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 267fa481ccad to a0a6270b47e4 (7 revisions)
2021-12-13 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 4c62980da8c1 to 592d413edb56 (4 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 enga@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: enga@google.com
Change-Id: Id697bb17d2e169929e8d491d26353dfccfbdb95a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72700
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-13 23:37:55 +00:00
Dawn Autoroller c89fdf1774 Roll Tint from d733fdb85c to 654149fd69 (3 revisions)
https://dawn.googlesource.com/tint.git/+log/d733fdb85cbf..654149fd6938

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC enga@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: enga@google.com
Change-Id: I68c698d1e6e5e2b4a6a36893a69b286105eb76ab
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72660
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-13 22:22:34 +00:00
Corentin Wallez e00c6bd395 dawn.json revert to the "callback" name for callback arguments
These argument names were probably renamed as part of a mass rename of
the "callback" category to "function pointer". The name "callback" more
clearly represents what the argument is used for, so revert back to it.

Bug: None
Change-Id: Id7539667f5daa87aec32ce8c90c20275d2fe80fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72485
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-13 17:37:17 +00:00
Dawn Autoroller c7b9b578b0 Roll Tint from 5923803f7e to d733fdb85c (1 revision)
https://dawn.googlesource.com/tint.git/+log/5923803f7e84..d733fdb85cbf

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: Ib4b0bb1aca93898a3fb6f590e2c46d211e4a0219
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72620
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-13 16:58:04 +00:00
Corentin Wallez 88d5e07d73 Roll GN
Also fix a gn check failure with the new GN.

Bug: None
Change-Id: I0686dd5de7fc5804fbbe79f19db413cc67fa0aae
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72484
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
2021-12-13 15:24:55 +00:00
Dawn Autoroller b320f17000 Roll ANGLE from a1b9eb68e417 to 8991bf5460b6 (1 revision)
a1b9eb68e4..8991bf5460

2021-12-13 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 6214b401e0c5 to 30aeba8927a2 (473 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 cwallez@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: cwallez@google.com
Change-Id: I03da2fa874ca18d7d6c4cced9d0027c4676272a4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72600
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-13 09:49:14 +00:00
jchen10 ffb0024a89 Support NV12 via ExternalImageDescriptorDmaBuf on CROS
On Intel platforms, all planes in fact have same dma-buf, so the
DISJOINT bit shouldn't be used to create the vkimage.
For multi-planar formats, VkImageDrmFormatModifierListCreateInfoEXT
has to be used instead of
VkImageDrmFormatModifierExplicitCreateInfoEXT.

Bug: chromium:1258986
Change-Id: I25306a438e7ba9fd981848e63068e486bbddf11d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/68961
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
2021-12-13 02:38:44 +00:00
Dawn Autoroller 16e3221a0e Roll ANGLE from 56aee5d6407f to a1b9eb68e417 (8 revisions)
56aee5d640..a1b9eb68e4

2021-12-11 gman@chromium.org Replace IOSurfaceSurfaceEAGL.mm table with less strict padding
2021-12-11 kpiddington@apple.com Metal: Fix M1 and iOS synchronization for readPixels
2021-12-11 gman@chromium.org Metal: Add maximum render target size validation
2021-12-11 gman@chromium.org Add early out validation in drawArraysCommon
2021-12-11 gman@chromium.org Metal: Refactor restartRange cache
2021-12-11 gman@chromium.org Metal: Fix Instanced Draw feature support on Simulator
2021-12-11 gman@chromium.org Metal: Refactors from Webkit
2021-12-10 gman@chromium.org Metal: Merge changes to mtlPixelFormatTable

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 cwallez@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: cwallez@google.com
Change-Id: I958ea11fb6752f84e96d4088cf045badecdfb210
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72561
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-11 12:51:03 +00:00
Dawn Autoroller 8da36a7349 Roll ANGLE from ac9b2703e8fa to 56aee5d6407f (9 revisions)
ac9b2703e8..56aee5d640

2021-12-10 lubosz.sarnecki@collabora.com Reland "system_utils: Add memory protection functionality."
2021-12-10 jmadill@chromium.org Trace Tests: Ensure zillow runs on SwiftShader.
2021-12-10 abdolrashidi@google.com Update the arg types for glMultiDraw*IndirectEXT()
2021-12-10 sugoi@google.com Add debug info when loading EGL entry points fails
2021-12-10 penghuang@chromium.org Enable GL_ANGLE_texture_usage extension
2021-12-10 penghuang@chromium.org Use STL container for vulkan memory allocator
2021-12-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 38603b300bce to 267fa481ccad (8 revisions)
2021-12-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 4625f84e8d56 to 4c62980da8c1 (6 revisions)
2021-12-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e1fa86b1827a to 6214b401e0c5 (1064 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 cwallez@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: cwallez@google.com
Change-Id: I6d54fc54895f1800188b9a4d206b898c6d3b6e80
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72520
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-10 23:13:02 +00:00
Dawn Autoroller 973b1a14b1 Roll Tint from 30d55fabc9 to 5923803f7e (1 revision)
https://dawn.googlesource.com/tint.git/+log/30d55fabc91f..5923803f7e84

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC cwallez@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: cwallez@google.com
Change-Id: I14058fd1db16ed4f757bcc65196e0efda383d612
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72521
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-10 22:49:32 +00:00
Corentin Wallez 3b7e75865c Vulkan: make PNextChainBuilder require pNext==nullptr
This will hopefully help catch issues early when people forget to set
pNext before creating the PNextChainBuilder.

Bug: dawn:1223
Change-Id: Ic6b9704aeaa20731e4f7de4d1ac0207d4110c720
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71762
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-10 15:48:19 +00:00
Dawn Autoroller cebe8c340a Roll Tint from 0fe30b52a5 to 30d55fabc9 (18 revisions)
https://dawn.googlesource.com/tint.git/+log/0fe30b52a5c9..30d55fabc91f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC cwallez@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: cwallez@google.com
Change-Id: Icf192442b1c50b71e179f2b53538062a23d6cebb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72301
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-12-10 15:25:13 +00:00
Dawn Autoroller 5819d52bc4 Roll ANGLE from 663831aa676c to ac9b2703e8fa (2 revisions)
663831aa67..ac9b2703e8

2021-12-10 polynomialspace@gmail.com fix typo: 'choromium' -> 'Chromium'
2021-12-10 hailinzhang@google.com fix directUpdate buffer pointer issue.

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 cwallez@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: cwallez@google.com
Change-Id: If72c33a063dc1626b96c598ea21d648f78dc8d26
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72302
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-12-10 09:24:01 +00:00
Jiawei Shao 1f25ea94bb dawn_wire: Directly use the data in deserialized buffer when possible
This patch tries to use the data directly in deserialized buffer
when the data is "data-only" and doesn't affect the control flow instead
of allocating and copying into a temporary buffer. Due to the protection
of TOCTOU attacks, currently we only set "wire_is_data_only" on the
parameter "data" in Queue.WriteBuffer() and Queue.WriteTexture().

With this patch, the performance of dawn_perf_tests
BufferUploadPerf.Run/*_WriteBuffer_BufferSize_* with "-w" will
be greatly improved (~20%) when the upload buffer size is greater than
1MB.

BUG=chromium:1266727

Change-Id: I7a9d54c9b505975235ee37aa72ee97f082ad3aa3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72063
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2021-12-10 02:05:28 +00:00
Austin Eng 6ad6278bc5 Enable dynamic storage buffers
Validation is implemented with CTS tests added in
https://github.com/gpuweb/cts/pull/850

Fixed: dawn:429
Change-Id: Iee570c712f81fbafc158c0ceec89a28011a3fed8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71960
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-10 01:50:08 +00:00