ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
59.74k stars 10.17k forks source link

Latest Dawn source code breaks WGPU Backend. #8009

Closed blitz-research closed 3 days ago

blitz-research commented 5 days ago

Version/Branch of Dear ImGui:

Version 1.91.2, Branch: master

Back-ends:

imgui_impl_wgpu.cpp

Compiler, OS:

NA

Full config/build information:

No response

Details:

The latest Dawn source code breaks the WGPU backend (again).

Strings now need to be encapsulated in a WGPUStringView which is a breaking change. The WGSL shader source descriptor's type name has changed so I've updated that too, although this isn't strictly speaking a breaking change yet.

I'll make a PR for this too using this issue number.

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

ocornut commented 3 days ago

Fixed by 7f81fbc. Thanks!