Commit Graph

12021 Commits

Author SHA1 Message Date
dawn-autoroll dc92060135 Roll vulkan-deps from 44d7658b779a to ad5c621bffa8 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/44d7658b779a..ad5c621bffa8

Changed dependencies:
* vulkan-headers: 0c34d02861..63af1cf1ee
* vulkan-loader: 5bc74b04c8..9f30d582eb
* vulkan-validation-layers: e3e45868e8..d144944a1b

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: I79cadb4cb261e833ef0343c5af658958aaf41640
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125980
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-31 18:42:01 +00:00
Peng Huang c00ff7f3c7 [tint] do not emit space for binding group 0
D3D11 only supports HLSL SM5.0 which doesn't support `space`
(binding group in WGSL). So for D3D11, only one binding group will be
used, and tint will not emit `space` for HLSL, so shaders can be used
with D3D11.

Bug: dawn:1705
Change-Id: Ie0e9868137f10762c5243e188d76f5e41879c2bc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125080
Commit-Queue: Peng Huang <penghuang@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
2023-03-31 17:55:19 +00:00
Peng Huang 70d8711973 [d3d] Move some texture format convert methods to d3d folder
Bug: dawn:1705
Change-Id: I08a348666785ab25110b179e37b6a2869313d998
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125241
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-31 17:24:31 +00:00
Peng Huang 3f76570d9a Print FPS for sample Animometer
Change-Id: I21ae60077638944258436c4cab14cc1d98e7f169
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125881
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-31 16:44:51 +00:00
Antonio Maiorano d8f0f44b54 dawn: enable IEEE strictness for compute pipeline to match render pipeline
This is the only flag we set for FXC compilation of render pipelines that we don't set for compute.

This fixes a (potentially unrelated) bug I've been looking into it (tint:1887

Bug: tint:1887
Change-Id: Iaf67ebe9221cd1d6e4e20afe0bcd3e5aa6e89366
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125820
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-31 12:24:10 +00:00
Dawn Autoroller 2451618be9 Roll ANGLE from 48b431ca693a to 5fcd027edec5 (6 revisions)
48b431ca69..5fcd027ede

2023-03-30 dino@apple.com Fix the watchOS build for the mirror clamp to edge extension
2023-03-30 cclao@google.com Vulkan: ImageHelper::initExternal missing some variable init
2023-03-30 cclao@google.com Vulkan: Use midRenderPass clear if RP has started but inactive
2023-03-30 cclao@google.com Vulkan: Reactivate already started render pass when possible
2023-03-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d56f491466de to e13e8828cf66 (29 revisions)
2023-03-30 geofflang@chromium.org D3D11: Fix streamed instanced attribute size calculation.

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: Ic3d31dd3d088d2b362a9e6624d24653506fcefc8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125960
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-31 08:17:28 +00:00
Antonio Maiorano 51249b83e6 tint/hlsl: don't use min16float to implement quantizeToF16
min16float is not required to convert its input to an 16-bit float.
Instead, use f32tof16, and f16tof32.

This is also required to be able to enable the IEEE strictness option on
FXC, otherwise FXC emits an error X4028: expression has a minimum
precision type and cannot be marked precise

Bug: tint:1887
Change-Id: I2268c9336b8e873b36e6532984838054fe4dedbd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125920
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-31 08:00:33 +00:00
dawn-autoroll 73f2405304 Roll vulkan-deps from 4cb4ac172ee0 to 44d7658b779a (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/4cb4ac172ee0..44d7658b779a

Changed dependencies:
* spirv-cross: 8e64f8ee40..3327924add
* vulkan-validation-layers: d5d67797ff..e3e45868e8

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: I34ce99bc605fb3f7a9001dee39848425c555e7b3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125940
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>
2023-03-31 05:20:32 +00:00
Peng Huang 151e67b5d1 Support D3D11 backend for dawn samples also add toggle options
Bug: dawn:1705
Change-Id: I192ea2e8f85df8f995855109ef20eaf3bfd1ffa0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125840
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-31 01:03:42 +00:00
Dawn Autoroller f5d3ea6d85 Roll ANGLE from 31321cb3934a to 48b431ca693a (1 revision)
31321cb393..48b431ca69

2023-03-30 syoussefi@chromium.org Vulkan: Fix stage component reservations w.r.t xfb

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I4c58da1bd154ba7a351db502ccd908418188e582
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125860
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-30 19:00:24 +00:00
dawn-autoroll 84e825e79f Roll vulkan-deps from d780e19112c9 to 4cb4ac172ee0 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d780e19112c9..4cb4ac172ee0

Changed dependencies:
* vulkan-headers: 9b9fd871b0..0c34d02861
* vulkan-loader: d72476300b..5bc74b04c8
* vulkan-validation-layers: cb1d6eea44..d5d67797ff

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: I3bd3b11f2ce9a9f0d877c070bd321f888a078566
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125802
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-30 15:56:45 +00:00
Dawn Autoroller 0d937955dc Roll ANGLE from 21ffb23a58c8 to 31321cb3934a (11 revisions)
21ffb23a58..31321cb393

2023-03-29 cnorthrop@google.com Tests: Add Minecraft Bedrock trace
2023-03-29 yuxinhu@google.com Explicitly Add Aliased Memory Decoration in SpirV
2023-03-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from c83e966b4c7e to f7c2a70f23b1 (1902 revisions)
2023-03-29 geofflang@chromium.org Remove syncing of extended dirty bits for TexImage calls.
2023-03-29 mark@lunarg.com Tests: Add fishdom trace
2023-03-29 mikes@lunarg.com Tests: Add Vainglory trace
2023-03-29 syoussefi@chromium.org Translator: Limit the size of private variables in WebGL shaders
2023-03-29 syoussefi@chromium.org Vulkan: Work around driver bug with dynamic primitive restart
2023-03-29 syoussefi@chromium.org GLES1: Use ASCII minus in comment
2023-03-29 lexa.knyazev@gmail.com D3D11: Support NV_shader_noperspective_interpolation
2023-03-29 geofflang@chromium.org GL: Disable extended dirty bit states for internal blits.

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: Ic57114f567f21c7a8bb1ad4354386f379f28613b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125760
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-30 02:06:31 +00:00
dawn-autoroll 666e350672 Roll vulkan-deps from 9186ff9ecec2 to d780e19112c9 (9 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/9186ff9ecec2..d780e19112c9

Changed dependencies:
* spirv-cross: 09e60d74f6..8e64f8ee40
* spirv-headers: 90547c54e2..29ba249312
* spirv-tools: a0fcd06f8f..6b72fe20c5
* vulkan-validation-layers: a61be6075f..cb1d6eea44

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: If3b3a67c78b2eb228308bf4bc26d60977d81d58d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125780
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-29 23:21:04 +00:00
dawn-autoroll 4062cb77fa Roll vulkan-deps from fa4838e9d3f3 to 9186ff9ecec2 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/fa4838e9d3f3..9186ff9ecec2

Changed dependencies:
* spirv-tools: d8a8af8e6d..a0fcd06f8f
* vulkan-validation-layers: 28c94393ca..a61be6075f

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: I5b906935ab61783befec0a3f6a2e171a7f84be34
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125720
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-29 09:32:06 +00:00
Dawn Autoroller 53d0ea63aa Roll ANGLE from db3b2875723b to 21ffb23a58c8 (3 revisions)
db3b287572..21ffb23a58

2023-03-29 lexa.knyazev@gmail.com Add sample coverage regression tests
2023-03-29 syoussefi@chromium.org Translator: Initialize out arguments too for WebGL
2023-03-28 cclao@google.com Vulkan: Add more blitFramebuffer test

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I65e0d174d7239d7aaa8087ce042854ffb78675d3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125700
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-29 08:51:49 +00:00
Le Hoang Quyen 947a7deb99 DawnNative: Add dawn::native::InstanceProcessEvents()
Make this a standalone function instead of a dawn::native::Instance's
member method.

Some code base don't use dawn::native::Instance but instead use
wgpu::Instance. And InstanceProcessEvents() function actually returns
a bool unlike wgpu::Instance::ProcessEvents() which returns void.

Bug: dawn:752
Change-Id: Ia354a4ed5b5568ee23bcc70935c104059a9f6fc8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125660
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
2023-03-29 07:06:18 +00:00
Jiawei Shao f22675dfc3 Enable CTS tests that have been fixed after latest roll
Change-Id: If44d32f75891ba129617687afd0b4eb344d3406c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125680
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-29 06:42:19 +00:00
dawn-autoroll 55ca4a7da9 Roll vulkan-deps from dd38395da610 to fa4838e9d3f3 (9 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/dd38395da610..fa4838e9d3f3

Changed dependencies:
* spirv-tools: d24a39a7f0..d8a8af8e6d
* vulkan-validation-layers: 0d83a6e66c..28c94393ca

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: I4280785fe8b8ca6aa09df62a878e4bd714589a0b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125563
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 20:00:27 +00:00
Dawn Autoroller 3169728ca7 Roll ANGLE from 1ee27fcdbfe6 to db3b2875723b (3 revisions)
1ee27fcdbf..db3b287572

2023-03-28 angle-autoroll@skia-public.iam.gserviceaccount.com Manual roll VK-GL-CTS from 9e822059a32e to e873c6862868 (18 revisions)
2023-03-28 geofflang@chromium.org Explicitly pass the extended dirty bits to syncState.
2023-03-28 lexa.knyazev@gmail.com Metal: Support NV_shader_noperspective_interpolation

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I7bd13125bb08b4f7dee9da44cdbecc07fce165b1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125620
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 19:41:57 +00:00
James Price 0cb5b1e127 cts: frexp and denorm min/max issues are resolved
Change-Id: Ib06ea3ea84194616447159ac44e19cb6931bf005
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125600
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-28 18:09:23 +00:00
Yan,Shaobo 8e414572be Add ServiceImplementation class in external_memory
This CL introduced ServiceImplementation class. Service class deleate
its work to ServiceImplementation class.

Different platforms inherit ServiceImplementation class and implement
it to support Service class. It helps isolate implementaion and
interface. And it's the base for supporting choosing implementation
in runtime.

Bug: dawn:1593
Change-Id: Ib18dfaa41ef4a1ce9554a5241cac1ef0fede8dd8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125481
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-28 06:33:41 +00:00
Dawn Autoroller eaedb8e7de Roll ANGLE from 98cfb969a16b to 1ee27fcdbfe6 (5 revisions)
98cfb969a1..1ee27fcdbf

2023-03-27 lexa.knyazev@gmail.com Fix translation of noperspective interpolation qualifier
2023-03-27 fangzhoug@chromium.org Mali: Disable disjointTimerQueries on ChromeOS with MaliT8xxOrOlder
2023-03-27 blundell@chromium.org [GL backend] Get texture bindings size from frontend caps
2023-03-27 lexa.knyazev@gmail.com Avoid defaulted comparison operator
2023-03-27 lexa.knyazev@gmail.com GL: Support OES_sample_variables

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 amaiorano@google.com,angle-team+autoroll@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: amaiorano@google.com
Change-Id: I809a4ba093eda8f6f47d5c1cfa9ec90a9866cdf1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125501
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>
2023-03-28 06:19:19 +00:00
dawn-autoroll ddff3f086a Roll vulkan-deps from 2f3f68dfda8b to dd38395da610 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/2f3f68dfda8b..dd38395da610

Changed dependencies:
* vulkan-tools: 211fec7e9a..e60c43a479
* vulkan-validation-layers: 9124f788b7..0d83a6e66c

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: Idf8051c7306e8af472de911736e84966a9ee1fa0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125560
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-28 05:32:01 +00:00
Yan,Shaobo ef62a88f89 Rename Service Files in external_memory and external_semaphore
This CL do a pure rename work as the base of External memory
service refactory.

Bug: dawn:1593
Change-Id: If9595e8d8be97f5eb725acff8891e0bd1baf8928
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125480
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2023-03-28 01:17:19 +00:00
James Price df714941d3 Roll third_party/webgpu-cts/ ca81780f0..15b8caf79 (13 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


ca81780f0e..15b8caf79e
 - 15b8ca [wgsl] Add execution tests for arrayLength (#2465)
 - 904c74 Set depthClearValue when depthLoadOp is clear (#2462)
 - b00081 Fix unexpected failure in api,validation,queue,copyToTexture,CopyExte… (#2461)
 - 6143b5 Fixes remaining tests that hit deprecated paths. (#2457)
 - f7a15a Add more increment and decrement tests. (#2459)
 - 07ce6f [wgsl] Test preservation of matrix padding bytes (#2454)
 - b9f099 [wgsl] Add shadow execution tests. (#2448)
 - 395a8a [wgsl] Add some float parsing tests. (#2447)
 - 7e7330 Improve requestAdapterInfo error messages. (#2458)
 - dd474b Update tests for min/max spec changes (#2455)
 - fe5f6e Adjust acceptance intervals for frexp (#2450)
 - 9071d4 Cleanup ULP related code (#2449)
 - 147f55 Update for GPUDeviceLostReason spec change (#2434)

Created with './tools/run cts roll'

Change-Id: I348f9078e089bb18a611536b04b7c51f47fb7209
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/+/125540
Commit-Queue: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-03-27 21:21:58 +00:00
Antonio Maiorano 5cf943e797 tint/hlsl: implement trunc in terms of floor/ceil to work around FXC bug
Bug: tint:1883
Change-Id: If6c160da0684353a873428a08063aa91ee7a01c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125420
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-27 18:55:25 +00:00
dawn-autoroll 194abe611b Roll vulkan-deps from d56f491466de to 2f3f68dfda8b (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/d56f491466de..2f3f68dfda8b

Changed dependencies:
* spirv-tools: f9f31fa5a9..d24a39a7f0

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

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

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

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

Bug: None
Tbr: amaiorano@google.com
Change-Id: Id4ffa7c28782c8434eb6d9dd0bfb748e2b2459ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125520
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-27 16:21:04 +00:00
Dawn Autoroller 86f01195ce Roll ANGLE from 1301402c5381 to 98cfb969a16b (1 revision)
1301402c53..98cfb969a1

2023-03-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 672a6d1840c9 to d56f491466de (13 revisions)

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I9ea4391c3ee81fb71384899e601ecc9c53eec6b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125500
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-27 14:36:13 +00:00
dawn-autoroll 29428679c4 Roll vulkan-deps from 894471afb48f to d56f491466de (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/894471afb48f..d56f491466de

Changed dependencies:
* glslang: 1db9cd2854..45405e1d94
* vulkan-validation-layers: 79ed2374cb..9124f788b7

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: Id1f0a1b677d97540b14914994f0bb1ade7e12181
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125460
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-26 04:50:20 +00:00
Dawn Autoroller 69786d562f Roll ANGLE from 249b03aca732 to 1301402c5381 (1 revision)
249b03aca7..1301402c53

2023-03-25 hailinzhang@google.com Vulkan: improve etc to bc grident texture precison.

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: If3c4360400cf36f6bbefc4aac9b485717f15b5fa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125441
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-25 17:46:40 +00:00
dawn-autoroll d4c9ae1662 Roll vulkan-deps from c5cbe0b0362c to 894471afb48f (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/c5cbe0b0362c..894471afb48f

Changed dependencies:
* spirv-tools: b4e0850ef7..f9f31fa5a9

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: Id32b8d9b399d7a647052f72ea332e59e5b30738d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125347
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-25 15:28:25 +00:00
Dawn Autoroller b697de5dc7 Roll ANGLE from 2bd8acfef5d0 to 249b03aca732 (4 revisions)
2bd8acfef5..249b03aca7

2023-03-24 cnorthrop@google.com restricted_trace_perf: Delete settings when using default
2023-03-24 i.nazarov@samsung.com Vulkan: Do not enforce custom ANGLEs secondary command buffers.
2023-03-24 i.nazarov@samsung.com Vulkan: Minor SecondaryCommandPool::destroy() optimization.
2023-03-24 i.nazarov@samsung.com Vulkan: Enable async features for Secondary Command Buffers.

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: Iaffc62f0c34606c51781f5981b828211d45f929c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125440
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-25 04:34:02 +00:00
dawn-autoroll c234214afa Roll vulkan-deps from 672a6d1840c9 to c5cbe0b0362c (10 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/672a6d1840c9..c5cbe0b0362c

Changed dependencies:
* glslang: c43008e829..1db9cd2854
* spirv-tools: 9fbe1738ba..b4e0850ef7
* vulkan-headers: ee15ae402b..9b9fd871b0
* vulkan-loader: 23c3a6047f..d72476300b
* vulkan-tools: fb440ea67d..211fec7e9a
* vulkan-validation-layers: b3baf74e40..79ed2374cb

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I159172957a10cdfb44b233d3a279f0838df7d0d1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125345
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-25 00:32:27 +00:00
Antonio Maiorano deb2ec9785 tint: fix UB const-eval div by zero
Bug: oss-fuzz:56904
Change-Id: I2f47fcfa238b28e1148b0b36ccbe2166445964a1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125380
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2023-03-24 18:44:02 +00:00
Ben Clayton aff2b43596 tint/resolver: Fix ICE when using template args with builtin enums
Fixes an 'unreachable AST node' ICE which is otherwise completely harmless.

Bug: chromium:1427389
Change-Id: Id5a75b76ca27e00b9e44336a8dd303abed950333
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125400
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2023-03-24 17:27:42 +00:00
Le Hoang Quyen 99b8081e31 Add AdapterBase::APIGetInstance
This method is useful for Chrome to query the Instance from Device
by calling device.GetAdapter().GetInstance(). Then
instance.ProcessEvents() can be used to poll for events instead of
device.Tick().

Bug: dawn:1726
Change-Id: I45b5760bc07869a191ae3fd02ec25b99d78b068b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125360
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-03-24 15:50:50 +00:00
Dawn Autoroller 86adbdadf0 Roll ANGLE from f2c5ce4e80da to 2bd8acfef5d0 (7 revisions)
f2c5ce4e80..2bd8acfef5

2023-03-24 cnorthrop@google.com Tests: Add Geometry Dash trace
2023-03-24 i.nazarov@samsung.com Vulkan: Retire Command Buffers before destroying the Pools.
2023-03-24 i.nazarov@samsung.com Vulkan: Fix Secondary Command Buffers with asyncCommandQueue.
2023-03-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f988757e44a3 to c85d70d97009 (3 revisions)
2023-03-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 886b2b7b32a4 to 672a6d1840c9 (11 revisions)
2023-03-24 abdolrashidi@google.com Remove uninited pixel check from TexStorageWithPBO
2023-03-24 lexa.knyazev@gmail.com Adjust copied dylibs in update_chrome_angle.py

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I01f576cb3b008608333c1c8eff462a2bd69ac8ca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125344
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 15:15:39 +00:00
dawn-autoroll d3a1f1f68d Roll vulkan-deps from e3f0b16c1809 to 672a6d1840c9 (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e3f0b16c1809..672a6d1840c9

Changed dependencies:
* glslang: 14e5a04e70..c43008e829
* spirv-headers: 5b21f14b20..90547c54e2
* vulkan-tools: 728c1535de..fb440ea67d
* vulkan-validation-layers: 654deb4535..b3baf74e40

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I7203a8eda59561ee9bf13aa3200e0b1a37fa7503
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125342
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 11:07:27 +00:00
Dawn Autoroller 5dd1fbde5f Roll SwiftShader from 0b87966e0b12 to c85d70d97009 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/0b87966e0b12..c85d70d97009

2023-03-23 jif@google.com Add Android.bp for LLVM16
2023-03-23 jif@google.com Add configs/android for LLVM 16

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I14ed59d5a93bb3a922483518d004607cb3c3ce88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125263
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 04:41:35 +00:00
Yan,Shaobo 8150d1cf81 Add natural size in imageCopyExternalTexture
CopyExternalTextureForBrowser() uses external texture visible rect
as source size in previous.

But video frame natural size is the only one developer could get
from HTMLVideoElement and it means the size browser present video
on screen.

This CL add "natural size" in imageCopyExternalTexture and uses this
size as CopyExternalTextureForBrowser() source size.

Bug:dawn:1694

Change-Id: I2a3bfa8e689df11d1d13320d40ad02c7090425e5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123380
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 03:43:56 +00:00
Dawn Autoroller a671247872 Roll ANGLE from e7b7f9772384 to f2c5ce4e80da (7 revisions)
e7b7f97723..f2c5ce4e80

2023-03-23 abdolrashidi@google.com Re-enable mutable texture upload for one context
2023-03-23 lexa.knyazev@gmail.com D3D11: Implement EXT_conservative_depth
2023-03-23 lexa.knyazev@gmail.com Metal: Implement EXT_conservative_depth
2023-03-23 ynovikov@chromium.org Start MacBook Pro AMD 2019 experiment on ANGLE bots
2023-03-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 379ee8599f0f to 886b2b7b32a4 (12 revisions)
2023-03-23 i.nazarov@samsung.com Vulkan: Update SharedCommandBlockPool::valid() method.
2023-03-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 0cc04d07ab24 to f988757e44a3 (1 revision)

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I2d312c332194b6f1470b9f415d8a7be7b7209497
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125262
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-24 00:49:53 +00:00
Peng Huang 35cab288aa [d3d] Move DumpCompiledShader to d3d folder
It will be shared between D3D11 and D3D12.

Bug: dawn:1705
Change-Id: If38122484a9063f158e83d364e2615a4ff10ead7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124884
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-24 00:08:29 +00:00
dawn-autoroll 39ccba3f34 Roll vulkan-deps from 20ba3b385ae8 to e3f0b16c1809 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/20ba3b385ae8..e3f0b16c1809

Changed dependencies:
* spirv-headers: a41cf67dfa..5b21f14b20
* spirv-tools: 5f4e694e10..9fbe1738ba
* vulkan-headers: fa204df59c..ee15ae402b
* vulkan-validation-layers: 4e721b511f..654deb4535

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: I7af37f744d2cf0cb777006a66ea2e1fa3c85cf11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125340
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-23 21:25:26 +00:00
dan sinclair 5ab6dcb59b Update AST Fuzzers to initialize MultiPlanar transform.
When the fuzzers execute they need to make sure that, if there is data
effecting the MultiPlanar transform that the configuration is provided.
This used to be done by the generator, but is now the requirement of the
caller to initialize.

ThiS CL updates the AST Fuzzer common code to initialize the
`ExternalTextureOptions` with the same logic that is done by the tint
command.

Bug: chromium:1421379
Change-Id: Id957d73fe1317558edfdfcec3c0e2eaee48625bd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125280
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-23 19:35:02 +00:00
James Price b7179aa89d tools/cts: Fix link in authentication error
Change-Id: I035c43fb51728792135c269cd558c9838741f4f3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125320
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: James Price <jrprice@google.com>
2023-03-23 19:03:29 +00:00
Peng Huang 88daf92d34 [d3d] Move shader translation and compile code to d3d
So it can be shared between d3d11 and d3d12 backends

Bug: dawn:1705
Change-Id: Iffabe8d77a0ac3713da985c0cac5839299dc2a47
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124883
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-03-23 18:32:00 +00:00
Brendon Tiszka a045643361 Add Dawn Wire Server LPM Fuzzer [2/N]
Add generators for protobuf files.

This CL contains the basic logic required to generate the protobuf
files from dawn.json and the newly added dawn_lpm.json for
libprotobuf-mutator.

Bug: chromium:1374747
Change-Id: I5dd207ed94ecdac365306c26e79b6cc18d3978f6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114640
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
2023-03-23 16:02:20 +00:00
Dawn Autoroller 73570d8f48 Roll SwiftShader from f988757e44a3 to 0b87966e0b12 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f988757e44a3..0b87966e0b12

2023-03-23 jif@google.com Add riscv to the list of configs generated on android.

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

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

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

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

Bug: None
Tbr: jrprice@google.com
Change-Id: Ie1fb4a6df6599579658cce005d86da2bef38032c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125260
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-03-23 15:31:22 +00:00
Le Hoang Quyen de078bad8d Forward callbacks to Instance after Device is destroyed.
When InstanceBase::ProcessEvents() iterates through list of devices, one
device might be being destructed on another thread. Even if we try to
increase ref count of that device inside the ProcessEvents(), the device
might be in the middle of destructor call on another thread, increasing
the ref count is invalid in this case.

This CL attempts to fix this issue by removing the device's pointer
from InstanceBase earlier: when DeviceBase::WillDropLastExternalRef()
is called. After this point, any callback registered to this device will
be forwarded to InstanceBase's callback queue instead.

Bug: dawn:752
Change-Id: I8ae86575e34f753e52a76f5fc774bbb5366a1b85
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124281
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-03-23 15:16:46 +00:00
Ben Clayton f359395288 Roll third_party/webgpu-cts/ 886a83abf..ca81780f0 (6 commits)
Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


886a83abf3..ca81780f0e
 - ca8178 Set depthWriteEnabled to false when depth stencil format is stencil8 (#2445)
 - db3b8d Validate that atomic builtins are only valid in compute and fragment shaders (#2442)
 - 3b3668 Add scalar-vector and vector-scalar f32 arithmetic tests (#2444)
 - f1ba3f [wgsl] More matrix compound expression tests. (#2443)
 - 6e7281 Replace u32 pairs for represting f64 hex values with BigInt (#2439)
 - ac5e50 Return correctlyRoundedInterval for f32->f32 conversions (#2438)

Created with './tools/run cts roll'

Change-Id: I448de426bed5977bb9b184715d18217314d9255e
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124900
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2023-03-23 14:10:57 +00:00