Commit Graph

3408 Commits

Author SHA1 Message Date
Corentin Wallez 60ca94ba10 Pull buildtools DEPS directly instead of via recursedeps
Bug: chromium:1177288

Includes the following rolls:

Rolling 3 dependencies

Roll build/ 6fa63e6b1..ea192b29d (300 commits)

6fa63e6b15..ea192b29d2

$ git log 6fa63e6b1..ea192b29d --date=short --no-merges --format='%ad %ae %s'
2021-03-23 aeubanks Use --gcc-toolchain instead of -B to find libgcc
2021-03-23 chromium-autoroll Roll Fuchsia SDK from 3.20210322.3.1 to 3.20210323.0.1
2021-03-23 yhirano Revert "Reland "Add test directory -> monorail component metadata to test invocations.""
2021-03-23 dpranke Reland "Add test directory -> monorail component metadata to test invocations."
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210322.1.1 to 3.20210322.3.1
2021-03-22 sdefresne [apple] Split the iOS and macOS toolchain definitions
2021-03-22 mthiesse Tighten Instrumentation timeouts to avoid shard timeouts.
2021-03-22 wnwen Android: Fix FragmentActivityReplacer stack frame
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210322.0.1 to 3.20210322.1.1
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210321.0.1 to 3.20210322.0.1
2021-03-22 msta Add the ability to enable pseudolocales to chromium
2021-03-21 chromium-autoroll Roll Fuchsia SDK from 3.20210320.3.1 to 3.20210321.0.1
2021-03-21 chromium-autoroll Roll Fuchsia SDK from 3.20210320.1.1 to 3.20210320.3.1
2021-03-21 pkotwicz [Build] Support public_deps in java_library()
2021-03-20 chromium-autoroll Roll Fuchsia SDK from 3.20210320.0.1 to 3.20210320.1.1
2021-03-20 chromium-autoroll Roll Fuchsia SDK from 3.20210319.2.1 to 3.20210320.0.1
2021-03-19 chromium-autoroll Roll Fuchsia SDK from 3.20210318.1.1 to 3.20210319.2.1
2021-03-19 sergeyu [Fuchsia] Fix build_system_archive.py for Python3
2021-03-19 omerlevran Revert "[fuchsia] migrate device discovery to ffx"
2021-03-19 pkotwicz Remove unused OnDeviceInstrumentationDriver
2021-03-19 dpranke Fix a couple of mac build issues for Python3.9 compat.
2021-03-19 omerlevran [fuchsia] migrate device discovery to ffx
2021-03-18 steveroe [fuchsia] Write binary size package blob data to json file.
2021-03-18 wnwen Android: Update r8 to 3.0.28-dev
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210318.0.1 to 3.20210318.1.1
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210317.3.1 to 3.20210318.0.1
2021-03-18 findit-for-me Revert "Enable pseudolocales on non-official builds"
2021-03-18 msta Enable pseudolocales on non-official builds
2021-03-18 steveroe [fuchsia] Remove binary_sizes.py recipe interface code.
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210317.1.1 to 3.20210317.3.1
2021-03-18 ehmaldonado Add auto rollers as OWNERS of the files they touch
2021-03-18 kmarshall [fuchsia] Delegate target construction to class level methods.
2021-03-17 wnwen Android: Add --dump-inputs to dex.py
2021-03-17 bjoyce Upload results of all test runs to result_db.
2021-03-17 mheikal Ignore empty proguard config files when writing expectations.
2021-03-17 chromium-autoroll Roll Fuchsia SDK from 3.20210317.0.1 to 3.20210317.1.1
2021-03-17 hans [build] Pass --rtlib=libgcc in Android builds
2021-03-17 ortuno Revert "Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1."
2021-03-17 chromium-autoroll Roll Fuchsia SDK from 3.20210316.2.1 to 3.20210317.0.1
2021-03-16 rubensf [reclient] Add use_rbe where we have use_goma.
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210316.1.1 to 3.20210316.2.1
2021-03-16 sdefresne [ios] Fix compilation of cronet
2021-03-16 thakis mac: Make win/cross build work when use_system_xcode is not explicitly set
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210315.1.1 to 3.20210316.1.1
2021-03-16 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1.
2021-03-16 sdefresne [apple] Split definitions of mac and ios toolchains
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210315.0.1 to 3.20210315.1.1
2021-03-16 pkotwicz [Build] Introduce GN variable for whether Java asserts are enabled
2021-03-15 ukai disable goma for x86_64-nacl-{gcc|g++}
2021-03-15 aeubanks Use LLVM's new pass manager on Android
(...)
2021-02-13 pkotwicz [Build] Switch androidx dependencies to use //third_party/androidx
2021-02-12 chromium-autoroll Roll Fuchsia SDK from 0.20210212.1.1 to 0.20210212.2.1
2021-02-12 tikuta build: do not use fdebug-compiation-dir in coverage build
2021-02-12 chromium-autoroll Roll Fuchsia SDK from 0.20210210.2.1 to 0.20210212.1.1
2021-02-12 akhuang [clang build] Disable PCH on Windows builds temporarily to unbreak ToT windows buildbots
2021-02-11 bjoyce [code-coverage] Combine code coverage profraw files locally.
2021-02-11 bpastene Install cpython on CrOS DUTs/VMs when running net_unittests.
2021-02-11 agrieve Android: Remove ProductConfig.COMPRESSED_LOCALES
2021-02-11 mheikal Add the ability to output keep rules between subsets of inputs.
2021-02-11 hans [build] Disable ThinLTO in PGO-instrumented builds on Windows
2021-02-11 chromium-autoroll Roll Fuchsia SDK from 0.20210210.1.1 to 0.20210210.2.1
2021-02-11 ynovikov Partially enable logcats for Android isolated scripts
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210210.0.1 to 0.20210210.1.1
2021-02-10 kimstephanie Pass bucket name to goldctl
2021-02-10 hans [build] Include libstdc++.so.6 with llvm-symbolizer also for chromeos and android
2021-02-10 agl Mention FragmentActivityReplacer if indicated.
2021-02-10 heiserya Update perf tester build targets to deploy Chrome and Lacros to DUTs.
2021-02-10 agrieve Android: Tweak target names FOO_process_device -> FOO__process_device
2021-02-10 yfriedman [Flaky Tests] Android: don't re-run Batched unit tests
2021-02-10 wbielawski Fix chrome_public_apk build that utilizes python 3.
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210209.2.2 to 0.20210210.0.1
2021-02-10 hans Reland "[build] Enable ThinLTO in official Windows builds"
2021-02-10 thakis win toolchain: Remove win8 sdk support, move toolchain hash to top
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210209.0.1 to 0.20210209.2.2
2021-02-09 bpastene chromeos: Support --gtest_filter arg when running Tast tests.
2021-02-09 jkop Revert "[build] Enable ThinLTO in official Windows builds"
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210208.3.1 to 0.20210209.0.1
2021-02-09 wnwen Android: Improve fast local dev build server
2021-02-09 rnk Reland "Roll src/buildtools/third_party/libc++/trunk/ d9040c75c..69897abe2 (1149 commits)"
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210208.2.1 to 0.20210208.3.1
2021-02-09 thakis win: Use /winsysroot when using clang and the hermetic win toolchain.
2021-02-09 yucliu Fix use_custom_libcxx_for_host when host and target CPU are identical
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210205.1.1 to 0.20210208.2.1
2021-02-08 hans [build] Enable ThinLTO in official Windows builds
2021-02-08 hans [build] Hoist import_instr_limit variable (take 2)
2021-02-08 drott Revert "[build] Hoist import_instr_limit variable"
2021-02-08 hans [build] Hoist import_instr_limit variable
2021-02-08 sdefresne [ios] Mark variables as "used"
2021-02-05 hans [build] Unify ThinLTO -import-instr-limit= between Android and Linux+Win
2021-02-05 hans Increase the ThinLTO cache size.
2021-02-05 sdefresne [ios] Improve performance of `gn gen` by 80%
2021-02-05 ythjkt Reland "Lacros: Flip OS_LINUX and OS_CHROMEOS on lacros."
2021-02-05 chromium-autoroll Roll Fuchsia SDK from 0.20210204.3.1 to 0.20210205.1.1
2021-02-05 aeubanks Roll clang llvmorg-12-init-17251-g6de48655-1 : llvmorg-13-init-794-g83e2710e-1.
2021-02-05 brucedawson Repackaged toolchain with Windows Kits\10 paths
2021-02-05 chromium-autoroll Roll Fuchsia SDK from 0.20210204.1.1 to 0.20210204.3.1
2021-02-04 alemate Add GN build-time option to support apitrace on Chrome OS
2021-02-04 agrieve Android: Delete main_dex_list.py and negative_main_dex_globs
2021-02-04 chromium-autoroll Roll Fuchsia SDK from 0.20210204.0.1 to 0.20210204.1.1
2021-02-04 ychoi Move //chrome/browser/{chromeos => ash}/profiles

Roll buildtools/ fc5af1ac7..69cc9b8a3 (33 commits; 3 trivial rolls)

fc5af1ac75..69cc9b8a3a

$ git log fc5af1ac7..69cc9b8a3 --date=short --no-merges --format='%ad %ae %s'
2021-03-12 yahan [Build] Build libc++ with gcc need libs atomic
2021-03-12 ukai [reclient] add rewrapper_windows_nacl.cfg
2021-03-11 yahan Revert "[Build] Build libc++ with gcc need libs atomic"
2021-03-09 yahan [Build] Build libc++ with gcc need libs atomic
2021-03-09 thakis Remove buildtools/DEPS
2021-03-09 thakis Remove gn from buildtools/DEPS
2021-03-09 rubensf [reclient] Match windows server addr to linux server addr.
2021-03-06 thakis buildtools: remove clang_format from buildtools/DEPS
2021-03-04 thakis Update a comment after #859627
2021-03-04 thakis buildtools: remove libc++ from buildtools/DEPS
2021-03-03 rubensf [reclient] Add re client windows configs.
2021-03-03 thakis Temporarily move clang_format_revision back to clang_fmt_revision
2021-03-03 thakis Remove ensure_gn_version hook
2021-03-03 thakis Minor DEPS file gardening
2021-03-02 thakis buildtools: remove libc++abi from buildtools/DEPS
2021-02-26 thakis Roll src/buildtools/third_party/libc++abi/trunk/ 5fb4080bf..6918862bf (1 commit)
2021-02-26 thakis Remove reclient from buildtools/DEPS
2021-02-25 msavigny Update reclient version to 0.22.0
2021-02-24 jam Update documentation to allow owners of public APIs that are used throughout the codebase to Owners-Override changes across the source tree.
2021-02-24 thakis Reland "Roll src/buildtools/third_party/libc++abi/trunk/ 196ba1aaa..5fb4080bf (222 commits)"
2021-02-24 yekuang Upgrading to re-client version 0.21.0.04acc59
2021-02-23 thakis Make sure to build libc++abi without -fsanitize=vptr.
2021-02-22 thakis buildtools: Remove libunwind from buildtools/DEPS
2021-02-22 findit-for-me Revert "Roll src/buildtools/third_party/libc++abi/trunk/ 196ba1aaa..5fb4080bf (222 commits)"
2021-02-16 rubensf [reclient] Add nacl toolchain config to reclient
2021-02-12 sdefresne Reland "Roll GN from 55ad154c..dfcbc6fe"
2021-02-11 olaola Upgrading to re-client version 0.20.1.c4bbd2f
2021-02-09 rogerta Revert "Roll GN from 55ad154c..dfcbc6fe"
2021-02-09 sdefresne Roll GN from 55ad154c..dfcbc6fe
2021-02-09 rnk Reland "Roll src/buildtools/third_party/libc++/trunk/ d9040c75c..69897abe2 (1149 commits)"

Roll tools/clang/ aecd85e06..24cecabb8 (51 commits)

aecd85e062..24cecabb89

$ git log aecd85e06..24cecabb8 --date=short --no-merges --format='%ad %ae %s'
2021-03-20 chonggu [Fuchsia] Build Fuchsia runtime on Fuchsia ToT bots
2021-03-19 mmoss Revert "[Fuchsia] Build Fuchsia runtime on ToT bots"
2021-03-19 chonggu [Fuchsia] Add --with-fuchsia flag for clang
2021-03-18 chonggu [Fuchsia] Build Fuchsia runtime on ToT bots
2021-03-18 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4720-g7bafe336-1.
2021-03-18 keishi Fix rewrite-multiple-platforms.sh to avoid ~
2021-03-17 dpapad Remove NTP Kaleidoscope feature leftovers.
2021-03-17 ortuno Revert "Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1."
2021-03-16 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1.
2021-03-16 keishi Add a rewrite_raw_ptr_fields rewrite script for multiple platforms
2021-03-14 aeubanks Revert "Build clang with stable clang"
2021-03-14 aeubanks Build clang with stable clang
2021-03-11 hans Pass --rtlib=libgcc to Clang when building Android sanitizer runtimes
2021-03-10 hans Build Clang with -DCLANG_DEFAULT_RTLIB=libgcc on Linux
2021-03-09 aeubanks Add llvm-nm and llvm-strip to Linux Clang package
2021-03-05 thakis [mac/lld] update things for new lld being the default lld now, and update docs
2021-03-05 thakis Roll clang llvmorg-13-init-1559-g01b87444-3 : llvmorg-13-init-3462-gfe5c2c3c-1.
2021-03-04 ynovikov Remove ANGLE "pinned Chromium" bots from WebGL and Clang rolls
2021-03-04 keishi Treat CheckedPtr specially in FindBadConstructsConsumer
2021-03-03 ynovikov Remove usages of obsolete Win ANGLE x64 bots
2021-02-25 aeubanks Build Clang on Windows with ThinLTO
2021-02-25 lukasza Replace machine-specific test expectations with machine-agnostic ones.
2021-02-24 thakis Revert "Treat CheckedPtr specially in FindBadConstructsConsumer"
2021-02-24 bartekn Add bartekn and his team to rewrite.sh OWNERS
2021-02-24 keishi Treat CheckedPtr specially in FindBadConstructsConsumer
2021-02-23 thakis Remove some references to the LLVM_FORCE_HEAD_REVISION env var
2021-02-22 aeubanks Add flag to specify build directory
2021-02-18 bartekn rewrite.sh should overwrite combined-fields-to-ignore.txt
2021-02-18 bartekn Remove CheckedPtr2/MTECheckedPtr related exclusions
2021-02-17 keishi Force rewrite base::FileDescriptorWatcher::Controller::watcher_ in rewrite_raw_ptr_fields
2021-02-17 keishi Exclude OutOfMemoryTest::value_ from rewrite_raw_ptr_fields
2021-02-17 chonggu Manually update clang.
2021-02-17 bartekn [BRP] Move the GigaCage DCHECKs into checked_ptr.cc
2021-02-17 chonggu [Fuchsia] Create/Reorganize documentation for Fuchsia
2021-02-17 keishi Exclude new checked_ptr.h dependencies from rewrite_raw_ptr_fields
2021-02-16 chonggu [Fuchsia] Build Fuchsia profile runtime
2021-02-14 thakis Roll clang llvmorg-13-init-794-g83e2710e-1 : llvmorg-13-init-1559-g01b87444-1.
2021-02-13 aeubanks Remove obsolete argument
2021-02-12 aeubanks Don't build instrumented build with ThinLTO
2021-02-12 thakis Revert "clang build script: omit libc++ tests on mac again after #852778"
2021-02-11 thakis clang build script: omit libc++ tests on mac again after #852778
2021-02-11 lukasza Avoid inserting new includes when the previous line is a doc comment.
2021-02-10 akhuang [build.py] Fix path for copying libstdc++ to test directories
2021-02-10 thakis clang build script: run check-all during bootstrap on mac
2021-02-10 bartekn Update CheckedPtr ignore lists (fields and paths)
2021-02-09 yutak rewrite_raw_ptr_fields: Follow upstream CommonOptionsParser change.
2021-02-09 akhuang [build.py] Add sanitizer_common tests to the list of places we copy libstdc++ because of a test that moves llvm-symbolizer around
2021-02-05 aeubanks Remove some remnants from the 12 -> 13 transition
2021-02-05 aeubanks Roll clang llvmorg-12-init-17251-g6de48655-1 : llvmorg-13-init-794-g83e2710e-1.
2021-02-04 bartekn [PA][BRP] Adjust pointer before checking belonging to GigaCage
2021-02-04 omerkatz heap: Roll clang for cppgc updates

Created with:
  roll-dep build buildtools tools/clang

Change-Id: Ia1abedb6374eda26f6ccf84c4ddeff65d0da0c86
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45606
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-24 16:22:32 +00:00
Corentin Wallez 9037669b2e Remove the dependency on shaderc and glslang.
With all tests converted to WGSL we only use shaderc to assemble SPIRV
assembly to binary. shaderc requires glslang but we don't use it at all.
By using SPIRV-Tools directly to assemble SPIR-V, we can remove both the
shaderc and glslang dependencies.

Bug: dawn:572
Bug: chromium:1150045
Change-Id: I1588428dfb9478e7b724478bec662d002ee920e0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45765
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-24 16:02:13 +00:00
Corentin Wallez 7aec4ae7c5 Remove utility to create shader modules from GLSL
And rename CreateShaderModuleFromWGSL to CreateShaderModule.

Bug: dawn:572
Change-Id: I80dab401078b2001d738b87d6e24437f93b690d1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45764
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
2021-03-24 15:55:32 +00:00
Ben Clayton 1452cf60e5 ComputePipelineD3D12 - check result of CreateComputePipelineState()
This was silently failing for me, resuling in a crash somewhere completely different.

Change-Id: Iba9dfba8bb4c9e51a947a1337fc9718437ad5254
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45766
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-24 14:29:53 +00:00
Ben Clayton af55c04e36 .vscode/tasks.json: Implement tasks for Windows
Change-Id: I67a55990edcffe3c8f79fddd6c26b51216a80995
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45763
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-24 13:08:41 +00:00
Ben Clayton fe5fea8a7b .gitignore: Add Visual Studio config directory
Change-Id: If736ad9f8b1212e60e017b5ee3b7580d9aa79960
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45762
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-24 12:00:11 +00:00
Ben Clayton be88f17692 Add .vscode/tasks.json
Contains a few helper tasks that make developing with VSCode easier

Change-Id: I4bc8c86638804255e6a23f95f4bb6d02dfeef7cd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45601
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-24 10:20:01 +00:00
Ben Clayton 218d48890a Port ComputeSharedMemoryTests to WGSL
Tint now supports barriers

Bug: dawn:572
Change-Id: I1b5cdd9026e0ead7ecd743295c81ef147bdc5080
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45602
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-24 09:48:11 +00:00
Ben Clayton fcafc6e347 Port TextureViewTests to WGSL
tint: 639 has been fixed

Bug: dawn:572
Change-Id: I3c6bcb4e6c04109f633694a8813ae5f0edb21da8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45603
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-24 09:12:53 +00:00
Austin Eng d020de4501 Validate the texture Aspect enum in ImageCopyTexture
Bug: chromium:1191389, chromium:1191770
Change-Id: I973b8951d43bd0463afcd05fdd7104184db1be2d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45841
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-24 08:38:32 +00:00
Dawn Autoroller 54e150b7c2 Roll Tint from 2e97435ba6 to 84ef13c84f (4 revisions)
https://dawn.googlesource.com/tint.git/+log/2e97435ba613..84ef13c84fb3

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 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/master/autoroll/README.md

Bug: dawn:706
Tbr: bclayton@google.com
Change-Id: Id5b06e65a5a29bbebb8b96a149bbdf6e532d5755
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45780
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-23 19:09:52 +00:00
Corentin Wallez c48e487998 Avoid unnecessary recompiles with code generators.
Previously code generators would unconditionally write the generated
files even if they didn't change, causing all many more files to be
rebuilt than necessary.

Make extract_json.py check the file content to skip writing if it can to
fix this.

Bug: None
Change-Id: I22389444179c9b16a7ccc03ea133a973d419fad3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45761
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-03-23 19:06:02 +00:00
Corentin Wallez 266bce86b4 Port Animometer's vertex shader to WGSL
Bug: dawn:572
Change-Id: I21093b5bd09cb319cdf92616cd95e64935fcd1ed
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33822
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-23 17:26:20 +00:00
Corentin Wallez 3b3ab0217e Use SPVASM for ShaderFloat16Tests.
Tint/WGSL don't support 16bit floats yet, so use SPIRV assembly to
remove the dependency on glslang, instead of WGSL.

Bug: dawn:572
Change-Id: I6dd209e62f0550e7aecd18626b8807f7f1414b19
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45605
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-23 17:21:00 +00:00
Corentin Wallez a82ed35cf1 BUILD.gn: Remove warning suppression for Skia
Skia changed to only use -Weverything for Skia files so we no longer
need to suppress this warning.

Bug: dawn:706
Change-Id: Ifcb2421abd24ec514396b8033057a62abd312e16
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45608
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-23 16:58:50 +00:00
Corentin Wallez 83ee832ebd Port the last BufferZeroInitTest to WGSL
It required storageBarrier() to be implemented in Tint.

Bug: dawn:572
Change-Id: I62e8d89ef7a049044f3381dc66163466d62c839d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45604
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-23 16:52:31 +00:00
Austin Eng be621bd0e6 Update the wire-based fuzzers to always assume an injected error
This also removes the ability for the fuzzer to perform error
injection to generate testcases. The preferred method is to
use one of the Dawn test binaries to produce the trace directly.

Bug: dawn:629
Change-Id: If7295f9e6da5618be8f44e9301aa12dc56fcdfef
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/40301
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-03-23 16:47:50 +00:00
Corentin Wallez 94b8b7408e Port VertexFormatTests to WGSL
Bug: dawn:572
Change-Id: I68484defb240528b0a7dd0eced6012d9866f30fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44765
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-23 13:25:29 +00:00
Dawn Autoroller 2be3db9624 Roll Tint from 4daddd1759 to 2e97435ba6 (13 revisions)
https://dawn.googlesource.com/tint.git/+log/4daddd1759c6..2e97435ba613

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 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/master/autoroll/README.md

Bug: dawn:700
Tbr: bclayton@google.com
Change-Id: I678ed75af1eacd5bca6cc1d1f4f232ab0c3ab99a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45660
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-23 09:51:47 +00:00
Yan, Shaobo d42f4b3ca5 Reland "CopyTextureForBrowser: Support color format conversion"
This is a reland of f84daa070f

Eliminate static initializer(disallowed in Chromium) by replacing
shader string living in anonymous namespace from type "std::string"
to char array.

Original change's description:
> CopyTextureForBrowser: Support color format conversion
>
> This CL enables blit from RGBA8Unorm soruce texture to dst texture that
> |CopyImageBitmapToTexture| supported dst format.
>
> BUG=dawn:465
>
> Change-Id: I99846cf8dc37bc89e0c168a3d86193bb3a0c0ebb
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44020
> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Austin Eng <enga@chromium.org>

Bug: dawn:465
Change-Id: Ic3a156f5a20b217fd2aa5f86b01bad8ce77dc41c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45443
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-23 02:09:37 +00:00
Brandon Jones 97da45c373 Update RenderPipelineBase to stop depending on deprecated struct types
Bug: dawn:642
Change-Id: Ibc9d8f87735864dcafb3ec68013e4590602af855
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45360
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-22 22:17:26 +00:00
Corentin Wallez a9439199b7 Use Tint/WGSL unconditionally
Bug: dawn:706
Change-Id: I102c37e67e7833bb7441ed8a355a4411bd7b9fb9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45421
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-22 21:23:36 +00:00
shrekshao b00de7f8e8 API evolution GPUExtent3D.depth -> depthOrArrayLayers (Step 2)
Still leave deprecated `depth` functional as there are some references in
other clients. Using `depth` and `depthOrArrayLayers` at the same time is
invalid. Add DeprecatedAPITests.

Bug: chromium:1176969
Change-Id: Ia06645e4f3c17588323dd36b11f9f3988b2e3aba
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44640
Commit-Queue: Shrek Shao <shrekshao@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-22 21:12:36 +00:00
Bryan Bernhart a9b211d202 D3D12: Prevent crash due to missing debug layer
Destroying the adapter without the debug layer installed
would crash the process upon access of the debug filters.

Bug: dawn:460
Change-Id: I04819c5136af780fd3b981857bd87d69d4abc9c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45560
Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-22 18:35:16 +00:00
Corentin Wallez 3e4b57b77e ShaderModule: Store the tint::Program in the base class.
This is in preparation of removing all the DAWN_ENABLE_WGSL logic: the
ShaderModuleBase will have either mSpirv or mTintProgram set based on
UseTintGenerator.

Also improves the constness of some functions.

Also simplifies a bit ShaderModuleBase::Initialize.

Bug: dawn:706
Change-Id: Ib879e2aec8a004aeb8ac5dc6e1176b1667fc227d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45422
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-22 18:24:16 +00:00
Bryan Bernhart 5ff4978a5d Fix incorrect parsing logic in DawnTest
DawnTest incorrectly reports arguments as unused nor skips over ones
that were already parsed.

Change-Id: Ibd7874419226ca6404e44236c12fbd70132e4551
Bug: None
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45442
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>
2021-03-22 17:18:46 +00:00
Dawn Autoroller 5e121c9350 Roll Tint from 00e823ec04 to 4daddd1759 (1 revision)
https://dawn.googlesource.com/tint.git/+log/00e823ec04d9..4daddd1759c6

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 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/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I37e0c4700b6d3ccc2a0b505face343491315a016
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45481
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-22 10:02:05 +00:00
Corentin Wallez 8ac6a481a3 Make CreateRenderPipelineAsync use Descriptor2
Since it isn't used by anyone yet we can make a breaking change to
CreateRenderPipelineAsync to immediately start using
RenderPipelineDescriptor2.

Bug: dawn:1177501
Change-Id: I9f88c6fc1b325b7a9356536e2a071d4f17abd6ea
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45280
Commit-Queue: Brandon Jones <bajones@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
2021-03-21 23:13:04 +00:00
Dawn Autoroller 6b80743d3f Roll Tint from bb5617f21a to 00e823ec04 (2 revisions)
https://dawn.googlesource.com/tint.git/+log/bb5617f21ab4..00e823ec04d9

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 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/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I041c0112687470f3d05b8d7185eb6294077081dd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45480
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-20 21:01:55 +00:00
Dawn Autoroller 853b5d765e Roll Tint from 9970ec63ca to bb5617f21a (9 revisions)
https://dawn.googlesource.com/tint.git/+log/9970ec63ca8b..bb5617f21ab4

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 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/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Ibcb86aa508958d7a4ea8a00f6f500c47a95883bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45441
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-19 20:20:12 +00:00
Corentin Wallez 682f32af32 Revert "CopyTextureForBrowser: Support color format conversion"
This reverts commit f84daa070f.

Reason for revert: Adds static initializers.

Original change's description:
> CopyTextureForBrowser: Support color format conversion
>
> This CL enables blit from RGBA8Unorm soruce texture to dst texture that
> |CopyImageBitmapToTexture| supported dst format.
>
> BUG=dawn:465
>
> Change-Id: I99846cf8dc37bc89e0c168a3d86193bb3a0c0ebb
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44020
> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Austin Eng <enga@chromium.org>

TBR=cwallez@chromium.org,jiawei.shao@intel.com,shaobo.yan@intel.com,enga@chromium.org

Change-Id: I29a4faf38332995db6bded9f5aead9af28dadfd3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: dawn:465
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45420
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-19 12:47:05 +00:00
Corentin Wallez 5709060143 Port MultisampledRenderingTests to WGSL.
Bug: dawn:572
Change-Id: I9e76b39c0df705cc3fde5058e618c1ecb2c446f7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44761
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-19 09:48:11 +00:00
Yan, Shaobo f84daa070f CopyTextureForBrowser: Support color format conversion
This CL enables blit from RGBA8Unorm soruce texture to dst texture that
|CopyImageBitmapToTexture| supported dst format.

BUG=dawn:465

Change-Id: I99846cf8dc37bc89e0c168a3d86193bb3a0c0ebb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44020
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-19 09:46:44 +00:00
Corentin Wallez ad8772dfb2 Fix incorrect WGSL u32 != i32 comparison in a test
Bug: tint:354
Change-Id: I4eef469334072aac606d6ed7384eb066986c2db1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45400
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-19 09:41:21 +00:00
Dawn Autoroller 6a366e3f47 Roll Tint from 399b88845c to 9970ec63ca (5 revisions)
https://dawn.googlesource.com/tint.git/+log/399b88845cce..9970ec63ca8b

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 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/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Ic285307d86cbd8589e318fa9d4e7b3eb883bfdec
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45320
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-18 19:43:48 +00:00
Ryan Harrison bbabda3590 Fix Storage Buffers in WGSL tests & examples
Converts var<storage_buffer> to var<storage>

Adds in [[access(read_write)]] when no access qualifier was supplied.

BUG=dawn:699

Change-Id: I9da95366d0bb8734f1d134ee2dc764a7c16ef0cf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45300
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-18 17:20:48 +00:00
Corentin Wallez 9895c273d6 Update samples to the new RenderPipelineDescriptor
Also does some updates for the new BindGroupLayoutEntry and
VertexFormats that were missed previously.

Bug: chromium:1177501
Change-Id: Icb336590673158538a1586a1f8d5ace398fb381e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45282
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-18 16:46:58 +00:00
Dawn Autoroller 8ce8271c34 Roll Tint from 4f4534df3a to 399b88845c (13 revisions)
https://dawn.googlesource.com/tint.git/+log/4f4534df3a53..399b88845cce

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 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/master/autoroll/README.md

Bug: dawn:706
Tbr: cwallez@google.com
Change-Id: I23e62fe1e818b0dcc4d5527d2d093c4bbfc32b53
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45260
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-18 14:06:58 +00:00
Corentin Wallez 3e5701c1a4 Skip deprecation warning expectations in RenderPipelineValidationTests
A commit conflict caused this to be included by mistake even if it is
failing.

TBR=bajones@chromium.org
TBR=enga@chromium.org
Bug: None

Change-Id: Ie4352d0b955d34af6f9614f0c6a6dad1e42da826
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45241
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-18 12:34:18 +00:00
Brandon Jones bff9d3a357 Updating end-2-end tests to use new RenderPipelineDescriptor format
Bug: dawn:642
Change-Id: Ie38dfe7286b51eb7f3ecd8902e5249321ff63c11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44980
Auto-Submit: Brandon Jones <bajones@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2021-03-18 02:54:27 +00:00
Austin Eng 27c4f03de1 Skip create render pipeline deprecation warning expectation in UnsafeAPIValidationTests
The CL that fixed deprecation warning expectations landed at the same
time as the CL which added this expectation and broke CQ.
We shouldn't check deprecation warnings here now because the warnings
for CreateRenderPipeline are temporarily disabled.

Bug: none
Change-Id: I99a8b6643e64f87b2354058dbac9a236c51a2afd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45180
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-03-18 01:28:57 +00:00
Corentin Wallez 3fe857a621 ValidationTest: correctly assert deprecation warnings are emitted.
Bug: dawn:642
Change-Id: If8601c50e4a14b5de5098398381c7a6c5e1f73fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44867
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
2021-03-17 19:10:27 +00:00
Brandon Jones 6e5d47a396 Update majority of unittests to use RenderPipelineDescriptor2
Bug: dawn:642
Change-Id: I437967f590e03b7d85d7eda28400db9e3e5d0745
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44820
Auto-Submit: Brandon Jones <bajones@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2021-03-17 17:48:59 +00:00
shrekshao 6f9bc3ac2c API evolution GPUExtent3D.depth -> depthOrArrayLayers (Step 1)
First add a new but unused entry depthOrArrayLayers to Extent3D

Bug: chromium:1176969
Change-Id: Ie106c2be7306dd0f3f739385b4bbc89bf2359603
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44982
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2021-03-17 17:05:50 +00:00
Dawn Autoroller 29d74454b8 Roll Tint from 1691401179 to 4f4534df3a (12 revisions)
https://dawn.googlesource.com/tint.git/+log/169140117937..4f4534df3a53

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 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/master/autoroll/README.md

Bug: dawn:706
Tbr: cwallez@google.com
Change-Id: I8b0f5d14335f131d41eb8be7493636ca59f8488b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45040
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-17 11:05:29 +00:00
Ben Clayton c56868420d Migrate all tests over to using Default Struct Layout
The WGSL spec has been updated with 'Default Struct Layouts':
https://github.com/gpuweb/gpuweb/pull/1447

This removes the `[[offset(n)]]` decoration, and replaces it with two optional decorations: `[[size(n)]]` and `[[align(n)]]`, and a sensible set of sizes and alignments for each type.

Most `[[stride(n)]]` decorations have also been removed from arrays.

Bug: tint:626
Bug: tint:629
Change-Id: Ib0d2741f61ea943e6fb99d00cbb5cab2f97ae7be
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44280
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-17 09:48:19 +00:00
Jiawei Shao 0008432827 D3D12: Fix crash in the workaround for T2T copy issue on Intel GPUs
This patch fixes a bug in the computation of temporary buffer size in
the implementation of the workaround for the T2T copy issue on Intel
GPUs.

With this tests all the T2T operation tests in WebGPU CTS will be able
to pass on Intel Gen9 and Gen9.5 GPUs.

BUG=chromium:1161355
TEST=dawn_end2end_tests

Change-Id: Ic4fb0c0056cf7b01720e47cc91c37a9f293cd194
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44840
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2021-03-17 08:20:09 +00:00
Ryan Harrison 3209df5a9c Fix TimestampQueryTests
BUG=dawn:713

Change-Id: Ice1f9d948125daa68de661ad37bb07835ef9bec8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44940
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-17 08:03:39 +00:00
Ryan Harrison ed16517e32 Fix VertexStateTests
BUG=dawn:714

Change-Id: Ic9c478ae708d48cf78228edf831badb7c401d131
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44924
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-16 20:56:00 +00:00
Ryan Harrison 322e451a62 Fix CopyTextureForBrowserTests
BUG=dawn:712

Change-Id: Ie8b504a3566fae18a35029b63cf74f55dbe93b0d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44922
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-16 20:23:00 +00:00