swiftwasm / WebAPIKit

Access the DOM and other Web APIs from Swift! (Very much a WIP)
MIT License
63 stars 8 forks source link

Add `webgpu` IDL spec and generated code #38

Closed MaxDesiatov closed 2 years ago

MaxDesiatov commented 2 years ago

This allows removing manual OffscreenRenderingContext and RenderingContext declarations.

j-f1 commented 2 years ago

Looks like this needs to be rebased?

MaxDesiatov commented 2 years ago

I've rebased it, but there are still a few commits that don't matter in the end diff, and they will be squashed. Yes, the diff on Generated.swift is huge, because webgpu is apparently that big...