Conversation
|
rip r-lyeh, let Omar's wrath be merciful |
|
Before I have a chance to look at this, I have an immediate problem which is that I noticed today that latest Emscripten the WGPU backend doesn't compile anymore: Which version of Emcripten did you build with? The new version is 5.0.1 but even if I replace to use the defines I cannot find where proper Emscripten/WGPU changelog are published. |
|
…mples currently don't build with 5.0.1). Getting 'warning: unused function 'CreateWGPUSurface' [-Wunused-function]' in some build paths. cc #9246
No emscripten and/or wgpu and/or dawn builds on my side.
The original WGSL shaders inside I just compiled those shaders to spirv (binary) and embedded the binary in the same source file.
It cannot be a DearImgui runtime flag for now. That's a directive that Simple_WGSL expects to be predefined before building.
Yes x3. Will do.
Probably. Will look into it |
|
365537a to
e49a150
Compare
Why closing? |
Hello Omar,
-DSUPPORT_WGSLdirective to the build commands.wgvk.cfile, then the webgpu backend will load some new embedded WGSL->SPIRV shaders which can be found now in the implementation.wgvk.cAND Simple_WGSL AND add the-DSUPPORT_WGSLdirective, then the backend will consume the existing WGSL shaders and the current backend is probably on parity with Dawn and WGPU.adapterCallbackInfo.mode = 0to the spec is invalid (the enumeration starts from1).