Commit Graph

11903 Commits

Author SHA1 Message Date
Le Hoang Quyen b7a3cbe8ca end2end tests: add --enable-implicit-device-sync option.
This option will allow tests to be run with
ImplicitiDeviceSynchronization feature.

Bug: dawn:1662
Change-Id: Ic001b2fa175f63e8d77eeb3b23d4d2cf52bb224e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126580
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
2023-04-06 16:03:13 +00:00
dan sinclair 8bfdb661f8 Remove old CMake option.
This CL removes the `DAWN_TINT_DIR` option from the main CMakeLists.txt
file as it is no longer used.

Change-Id: I12e6ad29ca7d5d7bf17ae16a197d5a32f2dbc054
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126620
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-06 14:36:53 +00:00
Dawn Autoroller fe87814fd6 Roll SwiftShader from 3ecab9c1aa60 to e621934caf42 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/3ecab9c1aa60..e621934caf42

2023-04-06 jif@google.com Add configs/darwin 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 kainino@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: kainino@google.com
Change-Id: Id158e1947c4315ad9d5fa5d85efd1fcab257ae24
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126640
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-04-06 14:35:19 +00:00
Le Hoang Quyen c173a0ea88 Fix TRACE_EVENT wasn't thread safe.
TRACE_EVENT uses INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO and
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO reads and writes to a static
variable on multiple threads.

Fix by using std::atomic for the static variable.

Bug: dawn:1700
Change-Id: I914bb73352e400f0adeafb64518d61099276270d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123680
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
2023-04-06 08:08:00 +00:00
dawn-autoroll 655c6c9b40 Roll vulkan-deps from 9ed0219175ec to ff63966203ee (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/9ed0219175ec..ff63966203ee

Changed dependencies:
* vulkan-loader: c3eb97de22..50df6bc578
* vulkan-validation-layers: c50cd18fac..8b2cdce023

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 kainino@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: kainino@google.com
Change-Id: Iedb4f9c2b0621f9e8f239ac7961f7249012a28b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126560
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-04-06 07:13:07 +00:00
Dawn Autoroller 53fe6bf384 Roll ANGLE from 9199e77d2650 to be3d7e6b6a76 (5 revisions)
9199e77d26..be3d7e6b6a

2023-04-06 i.nazarov@samsung.com Remove redundant g_SurfaceMutex.
2023-04-05 geofflang@chromium.org Disable staged uploads to packed texture formats on AMD.
2023-04-05 lexa.knyazev@gmail.com Add SampleVariablesTest
2023-04-05 angle-autoroll@skia-public.iam.gserviceaccount.com Manual roll Chromium from 198e6d1c360e to 7c7c08cd1e65 (1326 revisions)
2023-04-05 i.nazarov@samsung.com Vulkan: Minor protected submitCommands() optimization.

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,kainino@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: kainino@google.com
Change-Id: I96496000c65ce2300d64e2a246c2b2d64fdc963d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126540
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-04-06 01:45:11 +00:00
Le Hoang Quyen 7971bfe16f Add an option to enable implicit device synchronization.
1. Auto-generate mutex locking code in DawnNative's ProcTable's
functions. Using a mutex owned by the related Device.
  - Unless the function/class has "no autolock" attribute (new) in
  dawn.json. In which cases, no locking code will be auto-generated.
  - Currently Instance, Adapter, Surface, Encoder classes and
  Reference/Release method have "no autolock".

2. Added Feature::ImplicitDeviceSynchronization to enable Device's
mutex.
  - If this feature is disabled, lock/unlock Device's mutex is no-op.
  Auto-generated locking code will have no effect. This is the default.
  - This approach is used instead of generating two sets of ProcTable
  because it's cleaner and the internal code doesn't need to care about
  whether there is a mutex being locked or not. Furthermore, if there
  were two sets of ProcTable, and user used dawnProcSetProcs() to set
  global ProcTable, it would affect all other modules using different
  Devices. Even though those modules don't need thread safety.

Bug: dawn:1662
Change-Id: I75f0d28959f333318e4159916b259131581f79f5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119940
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-04-05 19:35:07 +00:00
dawn-autoroll 76b73730c5 Roll vulkan-deps from 9c3e3185817f to 9ed0219175ec (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/9c3e3185817f..9ed0219175ec

Changed dependencies:
* spirv-tools: 97a55196d2..dd03c1fca4

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 kainino@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: kainino@google.com
Change-Id: I50031d5dc68ed28ec3a05e0e87eb5568cb1d09d6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126520
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-04-05 17:59:02 +00:00
Austin Eng 78c496395c Always flush device callbacks when the callbacks are changed
With the wire, callbacks reference device-related data which is
freed when the device is unregistered from the wire. However,
the device that the wire refers to can live longer than this
and have its callbacks invoked at a later time, leading to a
use-after-free. Always flush the callbacks so that when the
wire unregisters a device and clears its callbacks, they are
called immediately and no dangling pointers remain.

Bug: chromium:1430221
Change-Id: Ib753b58cee5e7cb4d90ebd703958a0ddd5873573
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126481
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-05 17:10:58 +00:00
Corentin Wallez a67bbe87b7 Remove WGPU_STRIDE_UNDEFINED
It is no longer used, and WGPU_COPY_STRIDE_UNDEFINED replaces it.

Fixed: dawn:520
Change-Id: I6a52fc9ed26e2e4785b5a2a5a06474108c73331a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126240
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-04-05 15:19:34 +00:00
Corentin Wallez 8a6ed63809 Remove OldSwapChain*
Bug: dawn:269
Change-Id: I5bc6f5f8b98a88c5d0bd69e0d2eaf1e4bbd12e2b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126422
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2023-04-05 10:13:01 +00:00
Corentin Wallez 961f7eae70 Remove all NativeSwapChain*
These were helpers to avoid the need for users of implementation-based
swapchains to implement them themselves. They are no longer used and can
be removed.

Also removes SwapChainuUtils.h that's no longer used.

Bug: dawn:269
Change-Id: I3c563edaf107e9ce04f708e8bacae9d231b0f40d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126421
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
2023-04-05 07:24:44 +00:00
Corentin Wallez 974802d17c Remove BackendBinding and its implementations.
These were helpers for implementation-based swapchains that are getting
removed.

Bug: dawn:269
Change-Id: I44b0f9a9d221b9370c3eb2625c68e540b6e2ef46
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126420
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2023-04-05 07:23:09 +00:00
Dawn Autoroller dfa84d95c5 Roll ANGLE from b30c05deb10c to 9199e77d2650 (5 revisions)
b30c05deb1..9199e77d26

2023-04-04 vollick@chromium.org [ios] simulator fixes for angle_unittests
2023-04-04 syoussefi@chromium.org Vulkan: Treat readonly SSBOs as readonly!
2023-04-04 syoussefi@chromium.org Vulkan: Unify buffer alloc strategy for uploads and GPU copies
2023-04-04 msisov@igalia.com Allocate buffer via malloc for demangle.
2023-04-04 romanl@google.com Trace Interpreter: Improve ReadFileToString performance.

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,kainino@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: kainino@google.com
Change-Id: I789c8eb0f65345dacdd296a3e06da6165ed1946d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126500
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-04-05 06:30:35 +00:00
dawn-autoroll 0fc525ad21 Roll vulkan-deps from ec231c69caa6 to 9c3e3185817f (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/ec231c69caa6..9c3e3185817f

Changed dependencies:
* glslang: 77f7cdfb1e..1aefd184a6
* spirv-tools: ac335c7634..97a55196d2
* vulkan-validation-layers: 21078b582d..c50cd18fac

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 kainino@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: kainino@google.com
Change-Id: I4d2b347fdf5c8e015d75e9b4516b082738e3c7c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126485
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-04-05 01:20:08 +00:00
Dawn Autoroller 593f2bc9c7 Roll ANGLE from f4af659faea6 to b30c05deb10c (12 revisions)
f4af659fae..b30c05deb1

2023-04-04 romanl@google.com Trace Interpreter: Add #include <algorithm>
2023-04-04 cclao@google.com Revert "Vulkan: Reactivate already started render pass when possible"
2023-04-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e671d7c87d3b to ec231c69caa6 (6 revisions)
2023-04-04 syoussefi@chromium.org Vulkan: Workaround depth bias constant factor on ANV
2023-04-03 romanl@google.com Trace Interpreter: Improve StringToGLenum performance.
2023-04-03 cclao@google.com Vulkan: Switch to modified framebuffer should trigger submit
2023-04-03 syoussefi@chromium.org Revert "Vulkan: Use midRenderPass clear if RP has started but inactive"
2023-04-03 geofflang@chromium.org Metal: Always prefer staged GPU uploads for textures.
2023-04-03 i.nazarov@samsung.com Fix bug in DeallocateGlobalMutex().
2023-04-03 i.nazarov@samsung.com Tests: Fix EGLContextSharingTestNoFixture.SwapBuffersShared.
2023-04-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from bb601a935e1d to e671d7c87d3b (14 revisions)
2023-04-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from c85d70d97009 to 3ecab9c1aa60 (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,kainino@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: kainino@google.com
Change-Id: I854ff8d312a6100c89e541ed811aae4564ab1ff1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126403
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-04-04 16:37:00 +00:00
dawn-autoroll 8f2e2f478e Roll vulkan-deps from 63cf73c094d1 to ec231c69caa6 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/63cf73c094d1..ec231c69caa6

Changed dependencies:
* glslang: adcc7e8163..77f7cdfb1e

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 kainino@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: kainino@google.com
Change-Id: Ia9e10b2c983d30056d4996c43637dd71ab55e000
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126380
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-04-04 11:38:39 +00:00
Yan,Shaobo 2c4847e59a Fix bug about requiring unexpected files when compiling on Android
In MemoryService implementation, Dawn uses DAWN_PLATFORM_IS() to choose
required header files for different OS platform.

On Android platform, both DAWN_PLATFORM_IS(LINUX) and DAWN_PLATFORM_IS(ANDROID) are true. This caused some linux platform header files and implementations has been included unexpected when compiling on Android platform.

This CL strict the macro condition to ensure Android platform include AHardwareBuffer related files only.

Bug:dawn:1593
Change-Id: If64567edf99cd25a3783d8c456a1fc3f6a7dccf2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126323
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2023-04-04 08:57:46 +00:00
Peng Huang 3fcf96dd8c d3d11: add d3d11 backend in end2end tests
Right now, many tests are not passed becasue unimplemented
features in d3d11 backend. HoweverD3D11 backend is disabled on
bots by default, so this CL will not break out bots.

Bug: dawn:1705
Change-Id: I57321b86a404bc245b71c467479fdee0464dee9b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126260
Commit-Queue: Peng Huang <penghuang@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-04 00:27:36 +00:00
dawn-autoroll d2263328b2 Roll vulkan-deps from e35ee1dc96a6 to 63cf73c094d1 (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e35ee1dc96a6..63cf73c094d1

Changed dependencies:
* glslang: f8a2442a16..adcc7e8163
* spirv-tools: 6b72fe20c5..ac335c7634
* vulkan-validation-layers: 295b40127b..21078b582d

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 kainino@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: kainino@google.com
Change-Id: Ic32a3f0448148d4dd945f8f75546fe6beb33ea2b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126320
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-04-03 22:17:46 +00:00
Peng Huang ebfd505d29 d3d11: implement Adaptor, Backend, etc
This CL also moves some comman code in d3d12::Adapter and
d3d11::Backend to d3d::Adapter and d3d::Backend, so it can be
shared with d3d11 backend.

Bug: dawn:1705
Change-Id: Ica3bf33232d3380b7d4799c77bf9b43a8374a66e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126220
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2023-04-03 21:33:54 +00:00
Stephan Hartmann a7423b3d83 IWYU: add cstdint for uint8_t dawn::native::stream::ByteVectorSink
Bug: chromium:957519
Change-Id: I48436db0e203d793e47d717bfb75977c67145e94
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126120
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-03 13:51:27 +00:00
Le Hoang Quyen 44afd7112f Fix APIGetInstance() didn't increase external ref.
InstanceBase has two seperate ref counts: external & internal.
When we return it to the external user, we need to increase external
ref count as well.

Bug: chromium:1429835
Change-Id: I4b585d04149180418bd620e6e4d86522e033b64e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126080
Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-03 10:04:42 +00:00
Dawn Autoroller 04cfa59882 Roll ANGLE from b24b5568edd3 to f4af659faea6 (1 revision)
b24b5568ed..f4af659fae

2023-04-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 1393a98c62ae to 198e6d1c360e (603 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 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: I82916c359a8d4bfcb5387adad63f40a9a6a87c43
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126201
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-04-03 10:02:49 +00:00
dawn-autoroll 4eff5254ab Roll vulkan-deps from 16f4efa0ad70 to e35ee1dc96a6 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/16f4efa0ad70..e35ee1dc96a6

Changed dependencies:
* vulkan-validation-layers: 848af4110d..295b40127b

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: Ifcf75302dad67b96f5235db6073e42028af4f6cc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126200
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-04-03 08:55:34 +00:00
Dawn Autoroller 4dc2aea495 Roll SwiftShader from c85d70d97009 to 3ecab9c1aa60 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/c85d70d97009..3ecab9c1aa60

2023-04-03 stha09@googlemail.com IWYU: add cstdint for uint64_t in sw::LRUCache

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 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 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: amaiorano@google.com
Change-Id: Ice2581b081baf8ccf13f8ddfcfcf29abb6008115
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126140
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-04-03 03:15:37 +00:00
Yan,Shaobo 07b88f3aef MemoryService Choose Implementation based on ExternalImageType
This CL add supports for MemoryService choosing implementation based on
ExternalImageType in runtime instead of choosing in compile time.

This CL also removes MemoryServiceNull.cpp.

Bug: dawn:1593
Change-Id: Iddec1f5cf03a7d962ef12b8fd6293ffbb7dc064d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125900
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-04-03 02:14:21 +00:00
dawn-autoroll dbfa3aba12 Roll vulkan-deps from 664c9519ab1e to 16f4efa0ad70 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/664c9519ab1e..16f4efa0ad70

Changed dependencies:
* glslang: fbabd37aca..f8a2442a16

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: I1f1d6f36b30b1c47e4c3f95b7e81f5146d5ded7b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126100
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-04-02 10:47:26 +00:00
dawn-autoroll 2e5dc94b54 Roll vulkan-deps from 559c7d9fe7d2 to 664c9519ab1e (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/559c7d9fe7d2..664c9519ab1e

Changed dependencies:
* vulkan-validation-layers: 384f8784e0..848af4110d

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: I6cbeb02bffc0a1b3dce9bb0d591dd450d6b5909f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126061
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-04-01 21:10:20 +00:00
Dawn Autoroller 1cc46237f0 Roll ANGLE from 61cd24d468aa to b24b5568edd3 (2 revisions)
61cd24d468..b24b5568ed

2023-04-01 lexa.knyazev@gmail.com Vulkan: Skip sample coverage for single sample rendering
2023-03-31 cnorthrop@google.com Revert "Tests: Add Gacha Life trace"

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: I47c9a1109c6f6d1b6a031c8e11be04aac921bd16
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126041
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-04-01 14:12:04 +00:00
dawn-autoroll 9e5af34b4c Roll vulkan-deps from ad5c621bffa8 to 559c7d9fe7d2 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/ad5c621bffa8..559c7d9fe7d2

Changed dependencies:
* glslang: 45405e1d94..fbabd37aca
* vulkan-loader: 9f30d582eb..c3eb97de22
* vulkan-tools: e60c43a479..4ad4313da0
* vulkan-validation-layers: d144944a1b..384f8784e0

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: I4cec21e78f9cebaf5ede84d765d4dd6016e5d53f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126040
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2023-04-01 07:56:39 +00:00
Dawn Autoroller 512e7e06c0 Roll ANGLE from 5fcd027edec5 to 61cd24d468aa (12 revisions)
5fcd027ede..61cd24d468

2023-03-31 msisov@igalia.com MTLPixelFormatRGB9E5Float is not renderable on simulator.
2023-03-31 kkinnunen@apple.com CGL: implement EGL_ANGLE_wait_until_work_scheduled
2023-03-31 syoussefi@chromium.org Vulkan: Refactor buffer init logic
2023-03-31 cnorthrop@google.com Tests: Add Gacha Life trace
2023-03-31 constantine.shablya@collabora.com Capture/Replay: handle paletted textures
2023-03-31 syoussefi@chromium.org GL: Fix the RewriteRepeatedAssignToSwizzled workaround
2023-03-31 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from e873c6862868 to a3d054bf72ab (4 revisions)
2023-03-31 cnorthrop@google.com Tests: Add Teslagrad trace
2023-03-31 blundell@chromium.org [GL backend] Remove over-zealous ASSERT in StateManagerGL.cpp
2023-03-31 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e13e8828cf66 to bb601a935e1d (9 revisions)
2023-03-31 ynovikov@chromium.org Skip BlitFramebufferTest.scissorDrawBlitAndDrawAgain on Mac AMD GL
2023-03-31 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from f7c2a70f23b1 to 1393a98c62ae (1678 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 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: Ib16fed113337008afeba819b5d9ba386aa78711d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126020
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 21:39:45 +00:00
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