# Transitioning from VTK WASM to VTK WebGPU & WebGPU API Deprecation Issue in VTK 9.4.0

**URL:** https://discourse.vtk.org/t/transitioning-from-vtk-wasm-to-vtk-webgpu-webgpu-api-deprecation-issue-in-vtk-9-4-0/15268
**Category:** vtk.wasm
**Tags:** webgpu
**Created:** [February 13, 2025, 12:54pm UTC](https://discourse.vtk.org/t/transitioning-from-vtk-wasm-to-vtk-webgpu-webgpu-api-deprecation-issue-in-vtk-9-4-0/15268 "2025-02-13T12:54:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yarenakin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/yarenakin/32/9802_2.png) [@yarenakin](https://discourse.vtk.org/u/yarenakin)
#### Post date: [February 13, 2025, 12:54pm UTC](https://discourse.vtk.org/t/transitioning-from-vtk-wasm-to-vtk-webgpu-webgpu-api-deprecation-issue-in-vtk-9-4-0/15268/1 "2025-02-13T12:54:02Z")

</div>

Hello everyone,

I am currently using **VTK with WASM** in my project, and I am considering transitioning to **VTK WebGPU** in the future. My main concern is whether this transition would be straightforward or if there are major differences that could cause compatibility issues. **Would switching the backend to WebGPU be enough, or would I need to make additional changes to my application?**

Additionally, I am using **VTK 9.4.0** and trying to run the **ConeMultiBackend** example in **Chrome**. My browser is fully updated, and I have ensured that WebGPU settings are enabled (via `chrome://flags/#enable-unsafe-webgpu`). However, I still encounter the following warning:

`ConeMultiBackend.js:9 wgpuAdapterGetProperties is deprecated, use wgpuAdapterGetInfo instead`

This seems to indicate that **VTK WebGPU is using an outdated WebGPU API call** (`wgpuAdapterGetProperties`) that has been replaced with `wgpuAdapterGetInfo`.

- **Is there a known fix for this issue in VTK 9.4.0?**
- **Does this issue persist in the latest VTK development branch?**

Any insights or guidance would be greatly appreciated!  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![lgivord](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lgivord/32/3543_2.png) [@lgivord](https://discourse.vtk.org/u/lgivord)
#### Post date: [February 13, 2025, 1:39pm UTC](https://discourse.vtk.org/t/transitioning-from-vtk-wasm-to-vtk-webgpu-webgpu-api-deprecation-issue-in-vtk-9-4-0/15268/2 "2025-02-13T13:39:34Z")

</div>

hello @yarenakin,

we aim to provide the same api. Few things need to be take in account here:

- VTK WebGPU is considered (also in master) as highly experimental
- WebGPU doesn’t have a release currently and api break could often happen, that’s why we don’t bump dawn (the implementation currently used) often so having a deprecated warning doesn’t surprise me

FYI @jaswantp (maybe you have some insights to share here 🙂 )

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [February 13, 2025, 2:07pm UTC](https://discourse.vtk.org/t/transitioning-from-vtk-wasm-to-vtk-webgpu-webgpu-api-deprecation-issue-in-vtk-9-4-0/15268/3 "2025-02-13T14:07:51Z")

</div>

> [@yarenakin](#):
>
> VTK 9.4.0

VTK replaced `wgpuAdapterGetProperties` with `wgpuAdapterGetInfo` sometime after 9.4.0

> [@yarenakin](#):
>
> - **Does this issue persist in the latest VTK development branch?**

No
