-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for glfw/WebGPU doesn’t build on newest Dawn on MacOS #8191
Comments
You are not providing the errors. Please provide details so we don't have to guess. |
Hi, @ocornut And this not only on MacOS, but on all platforms: now the configuration of internal swap chain is done through Anyway this is the error (for better understanding), building for desktop (WebGPU-native) on Linux:
|
A PR for this would be great. |
Hi Omar. I rewrite/correct the example and it works... ALMOST. Let me explain better:
This comes from: imgui_impl_wgpu.cpp ( The reason seems to be due to the discrepancy between (Obviously it also concerns In any case, it's like a WARNING in Debug mode (disappear in Release: missing ValidationLayer) even if it is a little frustrating in Emscripten, but I would like to learn more (before to make a PR). P.S. About the exampleI noticed that, in the old example during the initialization, was used the classes encapsulated by |
And I add: In Windows the Validation Layer message don't appear. Anyway, I have just update DAWN (from 23 Jan)... and the example have already trouble to compile :
So I imagine it also makes little sense to waste many time on something in constant evolution / change and still in the experimental phase. Later check last things and this evening, or later tomorrow, I send the PR |
Version/Branch of Dear ImGui:
Latest master
Back-ends:
imgui_impl_glfw.cpp
Compiler, OS:
MacOS Clang
Full config/build information:
No response
Details:
My Issue/Question:
Latest version of Dawn dropped the WGPUSwapChain, after they were deprecated for a while. You’re supposed to configure a Surface I guess? I don’t know webGPU this is just what the errors say
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
Literally just try to compile the example code with latest Dawn on MacOS
The text was updated successfully, but these errors were encountered: