VOOZH about

URL: https://www.nuget.org/packages/WACS.WASI.GFX.Webgpu/

⇱ NuGet Gallery | WACS.WASI.GFX.Webgpu 0.1.0-preview




WACS.WASI.GFX.Webgpu 0.1.0-preview

This is a prerelease version of WACS.WASI.GFX.Webgpu.
dotnet add package WACS.WASI.GFX.Webgpu --version 0.1.0-preview
 
 
NuGet\Install-Package WACS.WASI.GFX.Webgpu -Version 0.1.0-preview
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WACS.WASI.GFX.Webgpu" Version="0.1.0-preview" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WACS.WASI.GFX.Webgpu" Version="0.1.0-preview" />
 
Directory.Packages.props
<PackageReference Include="WACS.WASI.GFX.Webgpu" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WACS.WASI.GFX.Webgpu --version 0.1.0-preview
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WACS.WASI.GFX.Webgpu, 0.1.0-preview"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WACS.WASI.GFX.Webgpu@0.1.0-preview
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WACS.WASI.GFX.Webgpu&version=0.1.0-preview&prerelease
 
Install as a Cake Addin
#tool nuget:?package=WACS.WASI.GFX.Webgpu&version=0.1.0-preview&prerelease
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WACS.WASI.GFX.Webgpu

WASI-GFX wasi:webgpu@0.0.1 host bindings for WACS. The fourth wasi-gfx WIT package, mirroring the browser WebGPU spec verbatim.

This is the contract assembly[WitSource]-tagged interfaces (generated from wit/webgpu.wit) plus the WitBindings dispatcher that ties them into the WACS runtime. The actual GPU backend lives in WACS.WASI.GFX.Silk and wraps Silk.NET.WebGPU / wgpu-native.

Surface covered

  • gpu.request-adapter / adapter.request-device / device.queue.
  • Buffers: device.create-buffer, buffer.{map-async, get-mapped-range-get-with-copy, get-mapped-range-set, unmap, destroy}.
  • Textures + views: device.create-texture, texture.{create-view, destroy}.
  • Shaders + pipelines: device.create-shader-module, device.{create-bind-group-layout, create-pipeline-layout, create-bind-group}, device.{create-compute-pipeline, create-render-pipeline}.
  • Command encoding: device.create-command-encoder, command-encoder.{begin-compute-pass, begin-render-pass, copy-buffer-to-buffer, copy-texture-to-buffer, finish}, compute-pass-encoder + render-pass-encoder operations, queue.{submit, write-buffer, on-submitted-work-done}.
  • Swap-chain bridge: device.connect-graphics-context(ctx) — the wgpu-side hook that fuses an OS surface (held by wasi:surface) to a wgpu device for get-current-buffer + present (driven by wasi:graphics-context.context).
  • Async work: gpu-future (request-device, map-async, on-submitted-work-done) signals through ManualResetPollable so the guest's wasi:io/poll.poll(...) wakes on completion.

Status

Feature-complete for the parity fixtures shipped in this repo. Verified end-to-end through both the interpreter and transpiler paths against Spec.Test/components/fixtures/:

  • wasi-webgpu-hello-compute — compute pipeline + map-async readback.
  • wasi-webgpu-hello-render — render pipeline + copy-texture-to-buffer.
  • wasi-webgpu-game-of-life — bind-group ping-pong + multi-pass compute.
  • wasi-webgpu-game-of-life-windowed — full swap-chain through surface + graphics-context + webgpu.

See for the usage guide and the for backend internals (wgpu-native binding, swap-chain bridge, threading model).

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WACS.WASI.GFX.Webgpu:

Package Downloads
WACS.WASI.GFX.Silk

Silk.NET/SDL + wgpu-native backend for WACS.WASI.GFX. Implements IBackend for wasi:graphics-context, wasi:surface, wasi:frame-buffer, and wasi:webgpu on top of SDL2 + wgpu-native via Silk.NET. Ships as a sibling NuGet so consumers wiring a different backend don't pull SDL's or wgpu-native's binaries. Preview: tracks the wasi-gfx proposal at WASI Phase 2 — the WIT surface may change as the proposal evolves.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview 64 5/16/2026