Skip to content

Conversation

@rdw-software
Copy link
Member

Progress:

  • Repo: Update the Lua runtime to v0.0.22
  • GRF: Port charset conversions to the v0.0.22 iconv API
  • Client: Port WebGPU renderer to the v0.0.22 glfw API

WARNING: THE RENDERER IS COMPLETELY BROKEN! RIGHT NOW (Obviously, do not merge until that's resolved...)

glfw3wgpu doesn't work in the latest version, because it uses outdated WGPU structures and fails to create the surface from a native window handle. This then yields a mountain of rust stack unwinding errors after wgpu-native dies with "invalid surface".

I'm not sure if it's worth fixing here since the tools and renderer work fine on v0.0.020 (except for Wayland - oh, well). Will have to wait and see what the best course of action is. It might require FFI access to GLFW and X11/Wayland/Cocoa/Metal APIs?

There doesn't seem to be any difference in performance, and even if there was - the approach originally chosen is deeply flawed and needs a rework, anyway.
**WARNING: THE RENDERER IS COMPLETELY BROKEN!**

glfw3wgpu doesn't work in the latest version, because it uses outdated WGPU structures and fails to create the surface from a native window handle. This then yields a mountain of rust stack unwinding errors after wgpu-native dies with "invalid surface".

I'm not sure if it's worth fixing here since the tools and renderer work fine on v0.0.020 (except for Wayland - oh, well). Will have to wait and see what the best course of action is. It might require FFI access to GLFW and X11/Wayland/Cocoa/Metal APIs?
The old package is no longer available since GitHub updated the runner image.
@rdw-software rdw-software force-pushed the runtime-update-v0.0.22 branch from fd3d4d5 to 280f117 Compare August 16, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants