Skip to content

Similar initial work as Instance structs/methods, but for Device - #25

Merged
bronter merged 1 commit into
bronter:idiomatic-zigfrom
TotoShampoin:idiomatic-zig
Jul 2, 2025
Merged

Similar initial work as Instance structs/methods, but for Device#25
bronter merged 1 commit into
bronter:idiomatic-zigfrom
TotoShampoin:idiomatic-zig

Conversation

@TotoShampoin

Copy link
Copy Markdown

I took a look at the work you did on Instance, and made similar changes to Device, as it is the most central part of any WebGPU project (imo, because it's in charge of creating everything)

I have not touched the callbacks as I believe that's for you (the original dev) to figure out

@bronter

bronter commented Jul 2, 2025

Copy link
Copy Markdown
Owner

Very nice! Device was the one I was dreading since it touches nearly everything, so much appreciated.
I'll play around with the callbacks a bit and see if I can come up with something that works well. At the very least I'll make it so that we can use callbacks without having to worry about StringView or callconv(.C).

@bronter
bronter merged commit 6d69a8e into bronter:idiomatic-zig Jul 2, 2025
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