Commit Graph

12252 Commits

Author SHA1 Message Date
dawn-autoroll e23ec98f29 Roll vulkan-deps from 35cbe26c4b3a to 469b8c0e07d5 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/35cbe26c4b3a..469b8c0e07d5

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

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I995626b47eef2100238bdb0130bab5689b0700b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124840
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-21 01:12:02 +00:00
Austin Eng 9a73375ddd Set depth clear value to 0 if it is unused (load op load)
VVL complains if it is NaN (the default value)

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

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

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


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

Created with './tools/run cts roll'

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

2023-03-20 jdapena@igalia.com IWYU: usage of size_t requires include in texture_utils
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 7d001b3fac09 to 85772f1891db (1 revision)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 250e3914595d to 35cbe26c4b3a (10 revisions)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 20d674342f00 to 9e822059a32e (10 revisions)
2023-03-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 7a04676dce36 to 528cae6045de (657 revisions)

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I98eb4b7e63facf6d4f77afe457acfd9fb0d84eb6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124781
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-20 15:49:07 +00:00
Dawn Autoroller c18e6d1df4 Roll SwiftShader from 85772f1891db to 5590857be813 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/85772f1891db..5590857be813

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

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: I2b22ed136c555fc01bfe43d9c3374c3c26b5cec0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124780
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-20 14:38:57 +00:00
dawn-autoroll 2912a15032 Roll vulkan-deps from 6a7765101421 to 35cbe26c4b3a (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/6a7765101421..35cbe26c4b3a

Changed dependencies:
* spirv-tools: 44bc9bd2af..ae435df4a6

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: I4a5a3c91e6132aa12cf28103d023f53fff4e495d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124760
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-20 10:51:36 +00:00
Zhaoming Jiang 6af073cecc Tint&Dawn: Enable f16 override
This CL enable using f16 override, and also fix related tests in Dawn
and Tint.

Bug: tint:1473, tint:1502
Change-Id: I8336770e8a73e5023c1aba224b7b5f21692fbaa6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124544
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2023-03-20 10:32:45 +00:00
Dawn Autoroller a0c34124d1 Roll ANGLE from 4a77b0f52375 to 0707496806f6 (1 revision)
4a77b0f523..0707496806

2023-03-20 m.maiya@samsung.com Validate gl[Push,Pop]DebugGroup

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: I879cc69ee469b92227f8bf100f4805614b0ab81a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124720
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-20 02:33:21 +00:00
dawn-autoroll b3d38dfc0f Roll vulkan-deps from fccfa1b2700f to 6a7765101421 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/fccfa1b2700f..6a7765101421

Changed dependencies:
* vulkan-validation-layers: c8ef821342..9139876c5b

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: Ibc7c2c40e65ee38ed7877c4587cc31e648ecec64
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124700
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-19 20:21:15 +00:00
dawn-autoroll fd521898ea Roll vulkan-deps from d1426f9148a2 to fccfa1b2700f (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d1426f9148a2..fccfa1b2700f

Changed dependencies:
* spirv-tools: 9743701ed5..44bc9bd2af
* vulkan-headers: 65ad768d86..fa204df59c
* vulkan-tools: a7bc1fe90f..f196c8d3ca
* vulkan-validation-layers: 3397eb3d0c..c8ef821342

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: I0408fa8cbf68fdba22b7c55d5cc2c29c59ee0b96
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124428
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-18 16:58:00 +00:00
Dawn Autoroller 45b06a3944 Roll ANGLE from 97324457476d to 4a77b0f52375 (10 revisions)
9732445747..4a77b0f523

2023-03-18 yuxinhu@google.com Revert "Implement EXT_depth_clamp"
2023-03-17 mark@lunarg.com Tests: Add Rise Of Empires trace
2023-03-17 i.nazarov@samsung.com Vulkan: Fix freeing not completed Secondary Command Buffers.
2023-03-17 i.nazarov@samsung.com Vulkan: Fix freeing Secondary Command Buffers from wrong thread.
2023-03-17 i.nazarov@samsung.com Vulkan: Hot fix crash when using Invalid VkSemaphore Object.
2023-03-17 i.nazarov@samsung.com Prevent bugs in "FastVector" class.
2023-03-17 yuxinhu@google.com Fix allowed_keywords dEQP test failures
2023-03-17 romanl@google.com Linux skips RegisterContextCompatibilityTests altogether.
2023-03-17 lexa.knyazev@gmail.com Implement EXT_depth_clamp
2023-03-17 i.nazarov@samsung.com Tests: Reduce load of computation heavy tests for Swiftshader.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: I4cfe5efa65a5aea49864c90d253a2a59440e9759
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124660
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-18 03:07:42 +00:00
Jiawei Shao 6b41ccc6ec Vulkan: Disable suballocation for 2D textures in some situation on Intel Mesa
This patch disables resource sub-allocation for the 2D textures with
CopyDst or RenderAttachment usage on Intel Gen12 GPUs using Mesa
driver on Linux and ChromeOS because of the driver issues about rebinding a
VkDeviceMemory from a VkImage to another VkImage.

Bug: dawn:1688
Change-Id: I28bb01a2d641a9024330ed761d27e0145d6b8aad
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124382
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-18 02:54:58 +00:00
dawn-autoroll 45cd391d56 Roll vulkan-deps from 250e3914595d to d1426f9148a2 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/250e3914595d..d1426f9148a2

Changed dependencies:
* glslang: ef77cf3a92..b34f619e1c
* vulkan-validation-layers: 1fe72708f7..3397eb3d0c

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: Ie389bbcb498e41fae41942b39da0b64a478df9bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124425
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-18 00:21:04 +00:00
Dawn Autoroller 81bfcdb9f0 Roll SwiftShader from 7d001b3fac09 to 85772f1891db (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7d001b3fac09..85772f1891db

2023-03-17 bclayton@google.com Kokoro: Drop bug in commit message requirement

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: I421e3525d00e12263f42982c1da273fd28076d03
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124640
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-17 23:46:11 +00:00
Antonio Maiorano 1fa68bc200 CTS expectations: triage the remaining shader execution failures
Change-Id: I1c53ec4b38755c7634f911755d958574d06d8e3c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124620
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-17 22:51:00 +00:00
Austin Eng a66fa9b06f d3d12: track graphics/compute state independently
Fixes a bug where Dawn incorrectly did not re-apply state
when transitioning between compute and render passes. If
a compute and render pipeline share the same pipeline layout,
all of the resources for the graphics pipeline need to be rebound
since the graphics state in D3D12 is disjoint from the compute
state.

Fixed: dawn:1689
Change-Id: I7d25a1c7954039c4130e67b682ebc05324353e9a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124540
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-03-17 18:42:52 +00:00
Peng Huang b4c5e0d32a Refactor some common code from d3d12::Device to base d3d::Device
Bug: dawn:1705
Change-Id: Ibb69e4a60f77810b688dbd64d3ccf3b07478bad3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124522
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-17 18:14:38 +00:00
dan sinclair 6c34e11e43 Support float values where the zeros change the exponent
When underflow is detected in float parsing, WGSL returns `0.0`.
Currently, if the number of `0`s following a `.` shifts the exponent
from a positive to a negative we were not correctly identify the
underflow and returning 0. This CL updates the float parsing to detect
undeflow in this case and return `0.0` as expected.

Bug: tint:1863
Change-Id: I164063cebf70f825fdf2753dff8a4f016939c38e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124341
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: David Neto <dneto@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-17 15:08:06 +00:00
Dawn Autoroller 7a9ea24fdf Roll ANGLE from 12aefbc0dbfb to 97324457476d (3 revisions)
12aefbc0db..9732445747

2023-03-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from fa0e42592666 to 7d001b3fac09 (1 revision)
2023-03-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 88a74be445b7 to 250e3914595d (6 revisions)
2023-03-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 0abde2e3b92a to 7a04676dce36 (552 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: Ie1862023c69b2f065676b6237f0a6cddc35e07dc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124582
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-17 13:59:52 +00:00
dawn-autoroll 6dbe223321 Roll vulkan-deps from 838cca34043e to 250e3914595d (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/838cca34043e..250e3914595d

Changed dependencies:
* vulkan-validation-layers: 19477ce02f..1fe72708f7

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: I33bd83cf9b24b359c94827110bed211e976ecd0f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124424
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-17 11:02:51 +00:00
Corentin Wallez d6b601790f dawn.node: Remove unnecessary check that TypedArrays are in bounds
This should be done by V8 on the creation of TypedArray anyways.

Bug: None
Change-Id: Ia0eacfe3a0434acf81b7d0d6473db9aa97c78c09
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122121
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-17 10:39:33 +00:00
Dawn Autoroller 50206a2aa2 Roll SwiftShader from fa0e42592666 to 7d001b3fac09 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/fa0e42592666..7d001b3fac09

2023-03-17 bclayton@google.com Fix SPIRV_SHADER_ENABLE_DBG

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: I7615df3ee07f974552a7c39bc2693f7540defdd4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124581
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-17 10:34:14 +00:00
Kai Ninomiya ad116481bd Suppress outdated GPUDeviceLostTest CTS test
Needed to land Chromium change:
https://chromium-review.googlesource.com/c/chromium/src/+/4342174

Bug: chromium:1424883
Change-Id: Ic81e824c277deac3fe734d53e3ce41140ce69969
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124542
Kokoro: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
2023-03-17 04:47:40 +00:00
Dawn Autoroller 99e0ef8b0a Roll ANGLE from 80bdfe833ae2 to 12aefbc0dbfb (3 revisions)
80bdfe833a..12aefbc0db

2023-03-16 zzyiwei@chromium.org Vulkan: add MESA Virtio-GPU Venus driver feature conditions
2023-03-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 6c1ab2e36382 to fa0e42592666 (1 revision)
2023-03-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 46e5f8237dea to 88a74be445b7 (8 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: Iaa0b107823b70d174428feb216ba4986bbd3320c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124580
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-17 00:49:05 +00:00
dawn-autoroll 1d8d0777c7 Roll vulkan-deps from 7248c680579d to 838cca34043e (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/7248c680579d..838cca34043e

Changed dependencies:
* glslang: cd2082e058..ef77cf3a92
* vulkan-loader: 22407d7804..011d7a4ac0
* vulkan-validation-layers: 6ab6adca3e..19477ce02f

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: I7dec6e52d75ffae8fe5962a9eb1dff8600fa848e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124422
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-16 21:49:51 +00:00
Antonio Maiorano 55b4c9f369 CTS expectations: triage min,max,clamp (AMD/MacOS)
Change-Id: I5e6b0c16810b182b484baa09684cca06b253d604
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124521
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 21:31:15 +00:00
Antonio Maiorano 52cd8caa07 tint/hlsl: fix frexp always returning positive values for fractional part
Bug: tint:1876
Change-Id: Ic56b37918fd1a2a42442b517985a49f10d85159d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124501
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 21:31:15 +00:00
James Price 8cf01eef04 tint: Support @diagnostic on switch body
Bug: tint:1809
Change-Id: I33259080c143b0cf7afe01343a1f179f61078dd3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124520
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
2023-03-16 19:48:20 +00:00
Antonio Maiorano ae7a2a94c0 CTS expectations: triage frexp failures
Change-Id: I8cfc3b061f832f95466a0c226a5c7ac628bed78e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124500
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-16 19:07:00 +00:00
Zhaoming Jiang 981d5a6f08 Dawn: Refactor adapter features, part 1
This CL make adapter base holds it supported features set as private
instead of protected and provide a method to set features enabled. This
CL also rename SetSupportedFeatures in null adapter to
SetSupportedFeaturesForTesting.
This is a pre-CL for implementing UseDXC as instance toggle, which may
require further refactor and adapter features logic to handle the toggles.

Bug: dawn:1495
Change-Id: I0a07e5653b43f18278cb4a2fe90985cc90b66068
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124421
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-16 19:06:33 +00:00
James Price 498e91826e tint: Support @diagnostic on continuing statements
Bug: tint:1809
Change-Id: I01725dc3b5aa3a91f7a3d3b0077667a1072debce
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124360
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-03-16 18:19:25 +00:00
dan sinclair abe6db26d2 Update expectation issue for `increment_decrement`
The OSX failures of `increment_decrement` are updated to include the
filed bug number.

Bug: tint:1875
Change-Id: Iac8d0e0e8cb8346cc8ed1b972951c423f4f393cb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124480
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 17:38:18 +00:00
Ben Clayton d493c0f314 Dawn: Break dependency on ANGLE
Fixed: dawn:1715
Change-Id: I6d7965a9a73c42a2aca59b03379aa68aea1695c8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124460
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 14:31:25 +00:00
James Price d7d8b80c81 tint: Support @diagnostic on loop and loop body
Bug: tint:1809
Change-Id: Ib3ccfd823f9cccb67bebbf04927d54f193a4e281
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124321
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-03-16 12:21:44 +00:00
Dawn Autoroller 221d628392 Roll ANGLE from f4e71351b3bf to 80bdfe833ae2 (1 revision)
f4e71351b3..80bdfe833a

2023-03-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from d828200ebd12 to 0abde2e3b92a (587 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: Ic52fab7302ee6c9fb5aefc664cdb383a7c715fae
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124420
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-16 11:21:59 +00:00
dawn-autoroll 26e2ac363b Roll vulkan-deps from 519e14d8d594 to 7248c680579d (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/519e14d8d594..7248c680579d

Changed dependencies:
* vulkan-headers: d732b2de30..65ad768d86
* vulkan-validation-layers: 63be727720..6ab6adca3e

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: Iad2e7b482d729783e3f9359fb6bb64ebc18b8077
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124380
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-16 08:37:28 +00:00
Antonio Maiorano 81d11b3cf1 tint/spirv-reader: cast offset and count args to u32 for insertBits/extractBits
Bug: tint:1874
Change-Id: Ieadbfcb7fc61a0404dd988df42e0cfe0c8693b02
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124320
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-15 21:10:00 +00:00
Dawn Autoroller 71e0f5fe46 Roll ANGLE from 4982b903033b to f4e71351b3bf (6 revisions)
4982b90303..f4e71351b3

2023-03-15 cclao@google.com Vulkan: Switch acquireAndUpdate to use Buddy pool
2023-03-15 cclao@google.com Vulkan: Switch staging buffer to Buddy algorithm
2023-03-15 enga@chromium.org Mark the context as needing flush in TextureGL set*Image operations
2023-03-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 64e470f7b9b0 to 6c1ab2e36382 (3 revisions)
2023-03-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 6269f2d7cf86 to 46e5f8237dea (7 revisions)
2023-03-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from ce6a8c2bfc28 to d828200ebd12 (596 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: I244817ee30cd14c2a1dccfbb9da9beedab15d1b1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124342
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-15 21:08:06 +00:00
Le Hoang Quyen 8a237d9566 Fix dawn_wire_server_and_frontend_fuzzer's timeout
This was caused by DeviceNull's APITick() always returning true leading
to the Instance.ProcessEvents() polling code looping forever.

Until we fix the DeviceNull's implementation, only call
Instance.ProcessEvents() once for now.

Bug: chromium:1424846
Bug: dawn:1712
Change-Id: Ieead95230cfd9a5ee7c977a7da2a98e7486ea4ad
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124282
Kokoro: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
2023-03-15 20:16:51 +00:00
Ben Clayton d3c9e8c0fe tint: Fix RemovePhonies with @must_use fns
Fixed: tint:1873
Change-Id: I72b47d5d3e406345fee16073e612b0f0cf19798e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124300
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2023-03-15 20:14:32 +00:00
Dawn Autoroller 6e597cd038 Roll SwiftShader from 6c1ab2e36382 to fa0e42592666 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6c1ab2e36382..fa0e42592666

2023-03-15 bclayton@google.com Update Marl to 9c689c9a8

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: Ieafe721f412319911dd02b80983d3a1e4bc7ce43
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124340
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-15 19:52:09 +00:00
dawn-autoroll f23322e476 Roll vulkan-deps from 5ff42e7700ac to 519e14d8d594 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/5ff42e7700ac..519e14d8d594

Changed dependencies:
* spirv-tools: 25f6c0cea5..9743701ed5
* vulkan-validation-layers: ae5a6f1e8e..63be727720

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 bclayton@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in 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: Idf47cf23095ae260016c965306f40b7e4a1cf89a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124260
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-15 18:25:13 +00:00
Ben Clayton 9313aab0fd tint/reader/wgsl: Remove case_body()
This was not used.

Change-Id: Ic79993be201a2f02c6dc2dc8d92d1aea2f382fe4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124221
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2023-03-15 15:54:25 +00:00
Ben Clayton 2fc56a1c63 tint: Use std::string_view for diagnostics
And also prevent diagnostics (not just errors) in the WGSL parser when resyncing.

Change-Id: I54f433b7581a5ff1f4ec288121e23a4dc5880092
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124220
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-15 15:45:21 +00:00
Ben Clayton 9a56b25a31 tint/ast: Remove move-constructors for AST nodes
These are not used, as the nodes are constructed with a block allocator and always passed by pointer.

Reduces the Tint binary a bit:
7,759,776 -> 7,758,800
Makes some files have 100% code coverage which didn't before.

Bug: tint:1833
Change-Id: Iff4652deba92663677cc53e9506a829d0a4c12bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124180
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-15 14:09:40 +00:00
dan sinclair 39d4065653 Move BindingRemapper and MultiplanarExternalTexture to a backend transform.
In most backends, MultiplanarExternalTexture must run before the
BindingRemapper. The exception is the Vulkan SPIR-V backend where
it has to run before Multiplanar. This CL moves both of the transforms
to backend transforms and sets up the ordering as needed in the
generators.

Bug: tint:1855 chromium:1421379
Change-Id: I8223bce40babe901fe08bb1e8f033243837d7b18
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123522
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-15 13:41:46 +00:00
dan sinclair 0551c4f40f Move MSL configuration for `ArrayLengthFromUniform` transform.
The configuration for the `ArrayLengthFromUniform` transform was pulled
out to generator options in a previous CL. The HLSL backend was updated
to pass this information into the generator. The MSL backend was using
the deprecated path of having the transform determine the values.

This CL updates the MSL backend to pass the information into the
generator and removes the deprecated code from the transform.

Bug: tint:1855 chromium:1421379

Change-Id: I679c57914d575a758a9ff03b9db27a051d55fe17
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123880
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-15 11:07:26 +00:00
Dawn Autoroller 7e799673f9 Roll ANGLE from 513ca72369ec to 4982b903033b (3 revisions)
513ca72369..4982b90303

2023-03-14 cclao@google.com Revert "Vulkan: Remove inUseAndRespecifiedWithoutData from BufferVk"
2023-03-14 geofflang@chromium.org D3D11: Add logic to disassociate EGL image storages.
2023-03-14 enga@chromium.org Mark the context as needing flush in TextureGL copy/blit operations

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC angle-team+autoroll@google.com,bclayton@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: bclayton@google.com
Change-Id: I93f727bb5e4596aac3c9e6abc63d9039b5e90ff0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124141
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-15 07:57:33 +00:00
Dawn Autoroller 83b951b1f9 Roll SwiftShader from dc1e3d121dbc to 6c1ab2e36382 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/dc1e3d121dbc..6c1ab2e36382

2023-03-14 jif@google.com Update LLVM 16 scripts
2023-03-14 jif@google.com Copy verbatim the scripts for updating LLVM 10.

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

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

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

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

Bug: None
Tbr: bclayton@google.com
Change-Id: I702f97c14451e10b3f9299ed2c46e5bef8bc2298
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124140
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-15 06:39:03 +00:00