go-webgpu
Go bindings for WebGPU, a safe & cross-platform GPU abstraction
File Explorer
Download Latest Version (.zip)- build-wgpu.yml
- ci.yml
- FUNDING.yml
- go.mod
- go.sum
- main.go
- compute.wgsl
- draw.wgsl
- image-msaa.png
- main.go
- image.png
- main.go
- main.go
- shader.wgsl
- image-msaa.png
- main.go
- shader.wgsl
- main.go
- float.go
- mat4.go
- perspective.go
- quaternion.go
- vec3.go
- image-msaa.png
- main.go
- shader.wgsl
- go.mod
- go.sum
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- libwgpu_native.a
- vendor.go
- .gitattributes
- vendor.go
- webgpu.h
- wgpu.h
- adapter.go
- buffer.go
- buffer_ext.go
- command_encoder.go
- compute_pass_encoder.go
- compute_pipeline.go
- defaults.go
- device.go
- device_ext.go
- enums.go
- error.go
- go.mod
- instance.go
- queue.go
- render_bundle_encoder.go
- render_pass_encoder.go
- render_pipeline.go
- surface.go
- swap_chain.go
- texture.go
- texture_ext.go
- vendor.go
- wgpu.go
- wgpu_c_cb.go
- wgpu_ext.go
- go.mod
- go.sum
- surface_darwin.go
- surface_wayland_linux.go
- surface_windows.go
- surface_x11_linux.go
- .gitignore
- go.mod
- go.work
- LICENSE
- README.md
- TODO
# Installation Guide
1. Get the code
git clone https://github.com/rajveermalviya/go-webgpu
Downloads the entire project code from GitHub to your computer.
cd go-webgpu
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
cd cmd/gen_enums
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
