Commit Graph

10014 Commits

Author SHA1 Message Date
Dawn Autoroller cdb5397283 Roll ANGLE from 4c941149774f to 042fda3cacda (1 revision)
4c94114977..042fda3cac

2022-08-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from f904dc881cb8 to 16d8164e92a5 (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 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: I7b5602179427bbe0858ad3a92f97341f0f98931f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99120
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>
2022-08-15 11:50:46 +00:00
dan sinclair 735e4b4fa1 Emit deprecation for fallthrough.
The `fallthrough` statement is being removed from WGSL. This CL adds
a deprecation warning into the current implementation to prepare folks
for the upcoming removal.

Bug: tint:1644
Change-Id: I599984b6a30b39312c4b794a9ecd70f0f626c759
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98841
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-15 11:41:07 +00:00
dan sinclair 52cc4f5d1c Add a target for the GLFW surface helper.
This CL moves the GLFWUtils.cpp into a dawn/glfw/utils.cpp and
GLFWUtils.h into include/webgpu/webgpu_glfw.h. A build target
(`webgpu_glfw` alias to `dawn_glfw`) is added in order to allow
using that target in downstream projects without having to re-implement.

Change-Id: I93e85d5af3f486b3c754f2f854aafbda51901d6d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98700
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2022-08-14 15:59:25 +00:00
dawn-autoroll fe835738c5 Roll vulkan-deps from e6cb539dad97 to 3ebe695e969a (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/e6cb539dad97..3ebe695e969a

Changed dependencies:
* vulkan-validation-layers: 3f5c2c3799..49314e0667

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 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: I4f6bceec2f0bb579fad32c897b37a791ff7995b7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99002
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-13 08:36:24 +00:00
Dawn Autoroller c7bfab6b11 Roll ANGLE from 67e0c6fcc974 to 4c941149774f (5 revisions)
67e0c6fcc9..4c94114977

2022-08-12 ffz@google.com External Texture Support In MEC
2022-08-12 abdolrashidi@google.com Skip kotor trace on Swiftshader due to flakiness
2022-08-12 penghuang@chromium.org Use angle::FlatUnorderedSet for ImageSibling::mSourcesOf
2022-08-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from eaf78cbfdaed to 5a93cd60f33b (4 revisions)
2022-08-12 penghuang@chromium.org Use FixedVector for Framebuffer::mDirtyColorAttachmentBindings

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: I4d4cb6a9aa341d27febca70df324485ce382ca6b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98962
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>
2022-08-13 06:17:34 +00:00
Ben Clayton 24559c4672 doxygen: Skip libfuzzer header
libfuzzer contains preprocessor magic that makes doxygen choke.
Define `TESTING_LIBFUZZER_LIBFUZZER_EXPORTS_H_` so that doxygen skips over this header. We don't want to generate documentation for this non-tint code anyway.

Fixed: tint:1647
Change-Id: I084a6c3db0ffe492a62a1f9dcb0c30b68cebb9e0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99040
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-08-12 22:46:53 +00:00
Loko Kung 4681f5bddd Moves sorting into `format` and out of `parse`.
- Reverts test updates in
  https://dawn-review.googlesource.com/c/dawn/+/98761 that were
  introduced because of the sorting in `parse`.

Change-Id: Ia27386e9aa2f16b9a4ba26e77207e5a4d6f4df97
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99020
Auto-Submit: Loko Kung <lokokung@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-08-12 22:05:13 +00:00
Dawn Autoroller a3553af2c4 Roll SwiftShader from 2438c1b18a5e to a6c3e363b7a9 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/2438c1b18a5e..a6c3e363b7a9

2022-08-12 capn@google.com Regres: Roll dEQP to main revision eaf78cb

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 cwallez@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: cwallez@google.com
Change-Id: I24eae7d6e097b63be19b63ec950aec49b3e9826b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98961
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 21:41:03 +00:00
Austin Eng f7ee534b2c Beautify visitable structs with more helpers
Bug: dawn:1480
Change-Id: I01450e1916766daba016f71c0ed825e6b6664541
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98840
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-08-12 20:39:03 +00:00
dawn-autoroll c166087d4c Roll vulkan-deps from 03dd80c1d579 to e6cb539dad97 (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/03dd80c1d579..e6cb539dad97

Changed dependencies:
* glslang: f771c1293d..10423ec659
* vulkan-validation-layers: 20f4a87be1..3f5c2c3799

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 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: I1ff3b38b6a10ce27a72e2f96ec42297d26e21501
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99000
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 19:27:03 +00:00
Dawn Autoroller 727f27d4d3 Roll ANGLE from 2ebd5100902e to 67e0c6fcc974 (4 revisions)
2ebd510090..67e0c6fcc9

2022-08-12 syoussefi@chromium.org PRESUBMIT: Remove unnecessary escape of forward slash
2022-08-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 708ca9579181 to 2438c1b18a5e (2 revisions)
2022-08-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e4653aba963d to f904dc881cb8 (487 revisions)
2022-08-12 penghuang@chromium.org Use angle::FlatUnorderedMap in Display.cpp

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: I7b7bee076d2cc76cfd394d2f0ef1bd800850b483
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98960
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 17:04:53 +00:00
dawn-autoroll 15719a22f3 Roll vulkan-deps from 476824373c19 to 03dd80c1d579 (9 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/476824373c19..03dd80c1d579

Changed dependencies:
* glslang: adf7bf0113..f771c1293d
* spirv-tools: 0a43a84e02..3a8a961cff
* vulkan-validation-layers: f12e9b3a66..20f4a87be1

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 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: Ide3827f07f76e7cff3d5767d87e6d36fa0a826b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98940
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 05:50:32 +00:00
Dawn Autoroller 2c36bc628c Roll ANGLE from 26bb1d6e80cb to 2ebd5100902e (12 revisions)
26bb1d6e80..2ebd510090

2022-08-12 eddiehatfield@google.com Add gl::Context as a parameter to Shader::resolveCompile
2022-08-12 penghuang@chromium.org Use angle::FlatUnorderedSet for ImageState::targets
2022-08-12 kpiddington@apple.com Translator: Fix crashes with monomorphizing loops
2022-08-11 cclao@google.com Vulkan: Never stage update for EGLImage
2022-08-11 rafael.cintron@microsoft.com Reflect TextureD3D label updates with storage object
2022-08-11 chris@rive.app Require all PLS formats to consume exactly 4 bytes of storage
2022-08-11 cclao@google.com Vulkan: Destroy fb1 should not affect fb2 with same attachments
2022-08-11 chris@rive.app Make PLS coherent on Vulkan
2022-08-11 kpiddington@apple.com Separate Struct declarations earlier
2022-08-11 syoussefi@chromium.org Presubmit: Verify ANGLE_SH_VERSION update
2022-08-11 penghuang@chromium.org Fix EGL_ANGLE_program_cache_control for eglCreateContext
2022-08-11 geofflang@google.com TestSuiteTest: Generate more unique result file names.

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: I9c86966c5f7cf4e15d366cc3ce4cea85482e4f29
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98920
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 03:30:22 +00:00
Dawn Autoroller 66c6f8581d Roll SwiftShader from 708ca9579181 to 2438c1b18a5e (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/708ca9579181..2438c1b18a5e

2022-08-11 capn@google.com Ignore feature structs of partially promoted extensions
2022-08-11 capn@google.com Don't expose VK_EXT_external_memory_host on macOS

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 cwallez@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: cwallez@google.com
Change-Id: I8d0628db06b658eee166568f384baf51e216de8b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98900
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 00:04:02 +00:00
Ryan Harrison 4acf608cf2 Include 'libfuzzer_exports.h' in fuzzers that are missing it
This is part of a workaround in the Chromium build infrastructure for
the fact that on Mac, the linker tends to strip LLVMFuzzer*
implementation because of how they are loaded/used.

All of the rest of the machinary is already setup and working, just
need to actually include the header. Dawn and other fuzzers use this
same fix.

BUG=chromium:1319605

Change-Id: Ifced8e0b29a48cdf64cd82002c90eb3c765b01c0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98880
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-11 20:41:31 +00:00
dawn-autoroll 36ddc12e3a Roll vulkan-deps from d53c356ad7d9 to 476824373c19 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/d53c356ad7d9..476824373c19

Changed dependencies:
* vulkan-validation-layers: 529a4320d3..f12e9b3a66

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 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: Iff444e17755d6c49ceda8d2cf3cb16d5d58378c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98861
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>
2022-08-11 16:57:21 +00:00
Brian Sheedy ced4c0d2cd Add test list to deps
Adds the generated CTS test list to the existing gn/webgpu-cts group
so that Chromium tests properly include the generated file.

Also updates some existing BUILD.gn file paths to be consistent with
Chromium styling: relative paths without the leading ./ for files
under the current directory and directories before and separate from
individual files.

Bug: dawn:1479
Change-Id: Icce70e7fcee874b6b33c21230c8a4429a1f7ab6c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98801
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-08-11 15:16:38 +00:00
Brian Sheedy 0653501212 Switch to message protocol
Switches the WebGPU CTS test runner JavaScript code to use the defined
message protocol instead of the ad-hoc solution we were using before.

Bug: chromium:1340602
Change-Id: Ieaf26b5b2409f69d7859d3db4ce7757780de6712
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98684
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
2022-08-11 14:39:51 +00:00
Dawn Autoroller 6af4c8b97d Roll ANGLE from 3d0faa02e237 to 26bb1d6e80cb (3 revisions)
3d0faa02e2..26bb1d6e80

2022-08-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c728ed48ce2f to d53c356ad7d9 (3 revisions)
2022-08-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from aafa10869568 to 708ca9579181 (4 revisions)
2022-08-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from d830698e47ae to e4653aba963d (476 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: Iac864f353c5c278b33b879ab282f1a3cc2ec05f2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98820
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>
2022-08-11 14:38:01 +00:00
Dawn Autoroller bf0707d138 Roll SwiftShader from 16826bfa6f73 to 708ca9579181 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/16826bfa6f73..708ca9579181

2022-08-11 capn@google.com Eliminate unscale constants
2022-08-11 nicolas.capens@gmail.com Make maskAny() SIMD width agnostic.
2022-08-11 capn@google.com Support constructing a SIMD constant from a lambda expression

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 cwallez@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: cwallez@google.com
Change-Id: Ic0ec1aaf226c0f9f092ec00648f863b12c4e0860
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98782
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>
2022-08-11 11:10:21 +00:00
Loko Kung 0d3a7bbd7e Fixes go test failures and issues from dawn/98241.
Change-Id: Idf4f47eba595dcf3f2c44b5f73179b2773a68aef
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98761
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-08-11 07:50:21 +00:00
dan sinclair 3abad2c125 When emitting a MSL struct initializer emit the struct name.
This CL changes the MSL emission for struct initializers to emit the
struct name first.

`const a = {.f=float3(1)}` becomes `const a = Normals{.f=float3(1)}`.

This fixes an issues where the initialization happens inside an array
which the downstream compiler rejected without the explicit struct
naming.

Bug: tint:1641
Change-Id: I948b9ca94f4b89eac6d5bbbaa615b3d71d50c737
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98760
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-08-11 02:28:01 +00:00
jchen10 7126ed9111 Add eager Transition support for external textures
This eagerly transitions external textures to be ready for export
on every submit. With this support, we can save the current submit
of export.

Bug: chromium:1258986
Change-Id: I92c2019ff486afc24adc190a1f7b2f85f416cd52
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97642
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
2022-08-11 01:36:21 +00:00
Dawn Autoroller 490294e6fe Roll ANGLE from ee09383861f0 to 3d0faa02e237 (9 revisions)
ee09383861..3d0faa02e2

2022-08-10 romanl@google.com Remove workaround affecting --list-tests --gtest_filter=X.
2022-08-10 syoussefi@chromium.org Vulkan: Query support for VK_KHR_imageless_framebuffer
2022-08-10 syoussefi@chromium.org Vulkan: Use VK_EXT_primitives_generated_query
2022-08-10 romanl@google.com Fix ANGLE_HAS_HISTOGRAMS following crrev.com/c/3817602
2022-08-10 chris@rive.app Rename ShFragmentSynchronizationType::None -> NoSynchronization
2022-08-10 syoussefi@chromium.org Vulkan: Workaround ARM bug with stencil write mask
2022-08-10 romanl@google.com Add config angle_maybe_has_histograms to angle_perftests_common.
2022-08-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from fe14e7954b25 to c728ed48ce2f (8 revisions)
2022-08-10 geofflang@google.com Mark FormatPrintTest as potentially uninstantiated.

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: I2a97de99ea2e4e153de7dc31e30c932e01994476
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98781
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-11 00:58:01 +00:00
dawn-autoroll 369f368ac4 Roll vulkan-deps from c728ed48ce2f to d53c356ad7d9 (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c728ed48ce2f..d53c356ad7d9

Changed dependencies:
* spirv-tools: 0ebcdc4d19..0a43a84e02
* vulkan-validation-layers: 6ace8025bb..529a4320d3

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 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: I98134eae169da859946927de1f4e93873c5bcccc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98800
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 23:31:31 +00:00
Dawn Autoroller a13e30de10 Roll SwiftShader from aafa10869568 to 16826bfa6f73 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/aafa10869568..16826bfa6f73

2022-08-10 capn@google.com Fix printing SIMD::Pointer offsets

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 cwallez@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: cwallez@google.com
Change-Id: Ib94f8dc70f1b5517be8e3b11413f84727eefc2f9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98780
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 21:53:01 +00:00
Antonio Maiorano a58d8c9fac tint: fix builtin calls and binary ops with abstract args of different type
If a call to atan2 with args of type AFloat and AInt is made, Resolver
would correctly select the atan2(AFloat, AFloat) overload, but if the
input args were of type (AFloat, AInt), it would attempt to constant
evaluate without first converting the AInt arg to AFloat. The same would
occur for a binary operation, say AFloat + AInt. Before constant
evaluating, the Resolver now converts AInt to AFloat if necessary.

Bug: chromium:1350147
Change-Id: I85390c5d7af7e706115278ece34b2b18b8574f9f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98543
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-08-10 20:01:17 +00:00
Antonio Maiorano 90d5eb6128 tint: Add RemovePhonies transform to spir-v backend
This will be needed by an upcoming CL that fixes call statements to
builtins that return a constant value. Without this transform, the
constant value reaches the backend, where we don't currently deal with
abstract numbers. Note that the other backends (HLSL, MSL, GLSL) already
use this transform.

Bug: chromium:1350147
Change-Id: Icc1f1416a07db228f8e3f39851a9ac079c48319f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98740
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-10 19:32:23 +00:00
dan sinclair b91d7e1b31 Spit `expect_variable_ident_decl` into helper and calling methods.
This Cl spits the `expect_variable_ident_decl` apart to only accept
the `variable_ident_decl` grammar element. A
`expect_ident_or_variable_ident_decl` is added for the ident optional
version and a helper used by those two methods.

This makes it a lot clearer at the caller side how the calls relate
to the grammar.

Bug: tint:1633
Change-Id: I50aa4852926ff217129fe728e434255ed008da61
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98661
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
2022-08-10 18:54:43 +00:00
Antonio Maiorano 7058a17bda tint: refactor ConstEval API to accept vector of constants rather than of expressions
This is needed for a follow-up change to apply implicit conversions for
AFloat to AInt.

Bug: chromium:1350147
Change-Id: Id903322d01b7aa420452c3e0fc1fa4e1c480c794
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98683
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-10 18:06:43 +00:00
Antonio Maiorano a8e9a6ef2b tint: Fix Resolver erroneously materializing matrices of abstract numeric type
ShouldMaterializeArgument must check that the deepest element is not
abstract numeric to support matrices.

This CL also enables the "no materialize" tests for binary ops, as
constant evaluation of binary addition was recently landed, and that's
what the test uses. The fix in this CL is also necessary for this test
to pass the matrix addition case (it would fail because it erroneously
materialized).

Bug: tint:1581
Change-Id: Id55341c05604c1ac560127826fc415eb38792503
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98682
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-08-10 14:32:19 +00:00
Dawn Autoroller f350578c99 Roll ANGLE from 8050079c116c to ee09383861f0 (3 revisions)
8050079c11..ee09383861

2022-08-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 6306836d087b to d830698e47ae (506 revisions)
2022-08-10 syoussefi@chromium.org Vulkan: Don't break render pass on read-only buffer updates
2022-08-10 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 678ffefb1b3b to aafa10869568 (9 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: Ic46c5fb3a322d87c188f8809610af8fe763c6780
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98688
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 11:52:53 +00:00
dawn-autoroll 22efe505b6 Roll vulkan-deps from 30403bafe4dc to c728ed48ce2f (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/30403bafe4dc..c728ed48ce2f

Changed dependencies:
* vulkan-validation-layers: f6d6c689e1..6ace8025bb

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 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: I5ec8219b9f2de57c550f2fcee41ec0172fa2480e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98686
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 10:39:33 +00:00
Jiawei Shao 6f81e13a20 Metal: Enable Toggle::ApplyClearBigIntegerColorValueWithDraw on Intel GPUs
This patch enables Toggle::ApplyClearBigIntegerColorValueWithDraw on
Metal backends using Intel GPUs to workaround an issue about clearing
int32 and uint32 formats with big integer values that cannot be represented
by float.

Bug: dawn:1109, dawn:1463
Test: dawn_end2end_tests
Change-Id: Idb77f57ea5909ad67fa2a79956634bacfc2a2e15
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98480
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2022-08-10 06:44:13 +00:00
Jiawei Shao 76eeb828c8 Align offset to 512 when writing into depth stencil textures on some platforms
On the D3D12 platforms that don't support programmable sample positions,
the source box specifying a portion of the depth texture must all be 0,
or an error and a device lost will occur. This patch adds a workaround
for this issue by alignning the offset of internal staging buffer to 512
when calling Queue.WriteTexture() with depth stencil textures

Bug: dawn:727
Test: dawn_end2end_tests
Change-Id: I6bc5843d62d0aec3964ee5b544a06c0b2657031a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98601
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2022-08-10 05:12:16 +00:00
Jiawei Shao 7267d99251 D3D12: Apply big integer clear color values with draw
This patch implements the use of big integer values (>2^24 or <-2^24) as
the clear values of a render pass with an internal draw call as D3D12 API
only supports using float numbers as clear values.

Bug: dawn:537
Test: dawn_end2end_tests
Change-Id: Id0a7835d611f598fb77950915f69919f804a8702
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98104
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-08-10 04:25:34 +00:00
Dawn Autoroller 3f49e298e0 Roll SwiftShader from ed9d5ae1e79c to aafa10869568 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ed9d5ae1e79c..aafa10869568

2022-08-09 capn@google.com Disable AddressSanitizer JIT instrumentation support on Windows

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 cwallez@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: cwallez@google.com
Change-Id: I188811430868e818c11dcd2e92018a493b9852e3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98685
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 00:15:43 +00:00
Dawn Autoroller 8d924dc000 Roll ANGLE from 6f80f0f0373f to 8050079c116c (4 revisions)
6f80f0f037..8050079c11

2022-08-09 abdolrashidi@google.com Vulkan: Remove basicGLLineRasterization
2022-08-09 grt@chromium.org [fuchsia] Migrate angle_end2end_tests to component framework v2.
2022-08-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4b211a6a98e6 to fe14e7954b25 (6 revisions)
2022-08-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 199441d23d93 to 6306836d087b (461 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: Ic7807861bbd23d310b5dd486060f237211fe805c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98681
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-09 21:58:02 +00:00
dawn-autoroll 1eed2c2e36 Roll vulkan-deps from c6a95b44c309 to 30403bafe4dc (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c6a95b44c309..30403bafe4dc

Changed dependencies:
* spirv-cross: 0cccd0a65a..61c603f3ba
* spirv-tools: f20e8d05f5..0ebcdc4d19
* vulkan-validation-layers: becf07286e..f6d6c689e1

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 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: I3064400a970802d1486dbcee604ee90989a8957d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98680
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-09 21:46:52 +00:00
Loko Kung 8812809ea7 Roll third_party/webgpu-cts/ 94fd83896..ed11c6ba3 (3 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files

94fd83896c..ed11c6ba35
 - ed11c6 Implement `cosh` f32 tests (#1735)
 - 3fac1b Implement `sinh` f32 tests (#1734)
 - d36896 Implement `sqrt` f32 tests (#1732)

Created with './tools/run cts roll'

Change-Id: I6604dc66ea7d7d43fb441f3f0092e7afd746266f
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98360
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
2022-08-09 18:29:22 +00:00
Antonio Maiorano 50bc60359e tint: Add unit test for HasSideEffects for builtins
Change-Id: I7f2546c36a06cd9646ddf39601636954b9da0459
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98541
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-09 18:18:22 +00:00
Antonio Maiorano f7e2de7971 tint: make RemovePhonies remove call statements to builtins that return a constant value
If the return value of a builtin is a constant value, it may be an
abstract number, and our backends currently do not deal with abstract
numbers. As these builtins have no side-effects, and the return value is
unused, we can just drop the call altogether.

This is needed for the follow-up CL that fixes calls to builtins with
abstract args of different type.

Bug: chromium:1350147
Change-Id: Iebd853372fdb9242fe0f28706944eabe9df03459
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98542
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-09 18:14:12 +00:00
Austin Eng 8830991b41 Cache WGSL -> GLSL compilation
Fixed: dawn:1480
Change-Id: I5c1453a4e37d0e97805391a6c807091d0a8fc1c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98281
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-09 17:22:22 +00:00
dan sinclair e62fbbc75c Syncing WGSL grammar to Tint.
This CL syncs some more grammar changes into Tint. The `break if`
statement is stubbed out to be completed later.

Bug: tint:1633
Change-Id: I9223278288383698f9cdecc1ae854720cc55dd2c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98660
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-08-09 16:52:42 +00:00
Loko Kung eaca2ebd4c Update cts expectations to be sorted by bug first.
- Run format on the current expectations file to make it up to date.
- It's a lot easier to read the failures when they are grouped by the bug.

Change-Id: I333a0b237ccd405d204e47809eb7ab723824fddd
No-Try: True
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98241
Auto-Submit: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
2022-08-09 16:40:32 +00:00
Jiawei Shao d794342ed5 Add .gclient_previous_sync_commits to .gitignore
Bug: None
Change-Id: Ic8989b83990c6d8af8b7f118dc1f0d4e47ae8d84
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98560
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-09 15:41:04 +00:00
Corentin Wallez 6d5542d703 Fix compilation error in delete_statement.cc
There seems to have been a race between changes and
SwitchStatement::body is no longer an std::vector but a utils::Vector.

Bug: tint:1110
Change-Id: I84d19049ecd54b1eba3f826e6c8c7d07ad3746ca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98641
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-09 14:15:30 +00:00
Corentin Wallez d072e11120 Fix addition of README.md's content to README.chromium
Bug: dawn:1397
Change-Id: Ie6de5462b319a5991362b4eeac6b1baa2e6e38f1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98640
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-09 14:09:00 +00:00
dan sinclair 11e415d0bd Add some CMake build target updates.
This CL adds the `dawn_headers` into the `webgpu_dawn` library in order
to find the generated `dawn/webgpu.h` and `dawn/webgpu_cpp.h` header
files during the build.

An alias is added for `dawncpp` called `webgpu_cpp` so it can be used to
link instead of referencing dawn directly

Change-Id: I93fa97534e1e6e7aea349e5d7efb08807f6a0d61
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98580
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-09 13:33:10 +00:00
Dawn Autoroller 6d59932482 Roll ANGLE from 5b7b7f9b0323 to 6f80f0f0373f (7 revisions)
5b7b7f9b03..6f80f0f037

2022-08-09 syoussefi@chromium.org Translator: Clean up the compile flag passing interface
2022-08-08 syoussefi@chromium.org Translator: Don't validate structs on non-root nodes
2022-08-08 abdolrashidi@google.com Vulkan: Use push constants for driver uniforms
2022-08-08 chris@rive.app Apply memory qualifier decorations in SPIR-V
2022-08-08 abdolrashidi@google.com Encapsulate prevTexture pointer in a class
2022-08-08 penghuang@chromium.org Use angle::HashSet to replace std::set in Display.h
2022-08-08 abdolrashidi@google.com Vulkan: Disable texture upload if texture sharing

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: Ie5bdbe0690968ceb98c2da288ef666cd51f8de57
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98501
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-09 09:01:40 +00:00