Skip to content

[RFC] vulkan on webgpu native #5974

@nihui

Description

@nihui

bring webgpu native for webassembly, reuse vulkan code as much as possible

to be investigated

webassembly vulkan build system integration

build tint library

runtime comp➡️preprocess➡️spirv➡️wgsl

push constant to uniform binding

thin vulkan adaptor on webgpu native

webgpu native ci

resources

webgpu native implementation
https://github.com/gfx-rs/wgpu-native
https://github.com/google/dawn
https://github.com/emscripten-core/emscripten/tree/main/system/include/webgpu

spir-v to wgsl
https://dawn.googlesource.com/dawn/+/refs/heads/chromium/6530/docs/tint/spirv-reader-overview.md
https://github.com/BabylonJS/twgsl

compatibility
https://caniuse.com/webgpu

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions