Skip to content

Commit e377f6b

Browse files
authored
deps: update goffi v0.4.0 → v0.4.1 (ABI compliance hotfix) (#13)
1 parent 5c78684 commit e377f6b

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.1] - 2026-03-02
9+
10+
### Changed
11+
12+
- Update goffi v0.4.0 → v0.4.1 — ABI compliance hotfix (float32 encoding, stack spill for 7+ args, struct return, runtime.KeepAlive)
13+
14+
---
15+
816
## [0.4.0] - 2026-02-27
917

1018
### Added

UPSTREAM.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ This document tracks upstream dependencies, pinned versions, and compatibility f
1010
|------------|---------|--------|------|
1111
| **wgpu-native** | [v27.0.4.0](https://github.com/gfx-rs/wgpu-native/releases/tag/v27.0.4.0) | [`768f15f`](https://github.com/gfx-rs/wgpu-native/commit/768f15f6ace8e4ec8e8720d5732b29e0b34250a8) | 2025-12-23 |
1212
| **webgpu.h** | wgpu-native bundled | same as above ||
13-
| **goffi** | [v0.4.0](https://github.com/go-webgpu/goffi/releases/tag/v0.4.0) | [`6fe9a0b`](https://github.com/go-webgpu/goffi/commit/6fe9a0b12ec1b89ae6ae37a746c48445f6125c9f) | 2026-02-27 |
13+
| **goffi** | [v0.4.1](https://github.com/go-webgpu/goffi/releases/tag/v0.4.1) | [`7e87b11`](https://github.com/go-webgpu/goffi/commit/7e87b11) | 2026-03-02 |
1414
| **gputypes** | [v0.2.0](https://github.com/gogpu/gputypes/releases/tag/v0.2.0) | [`146b8b2`](https://github.com/gogpu/gputypes/commit/146b8b253ad16fe23db83cc593601081d009e3a6) | 2026-01-29 |
1515

1616
## Compatibility Matrix
1717

1818
| go-webgpu | wgpu-native | goffi | gputypes | Go |
1919
|-----------|-------------|-------|----------|----|
20+
| v0.4.1 | v27.0.4.0 | v0.4.1 | v0.2.0 | 1.25+ |
21+
| v0.4.0 | v27.0.4.0 | v0.4.0 | v0.2.0 | 1.25+ |
2022
| v0.3.2 | v27.0.4.0 | v0.4.0 | v0.2.0 | 1.25+ |
2123
| v0.3.1 | v27.0.4.0 | v0.3.9 | v0.2.0 | 1.25+ |
2224
| v0.3.0 | v27.0.4.0 | v0.3.8 | v0.2.0 | 1.25+ |
@@ -106,4 +108,4 @@ Enum values in gputypes follow the webgpu.h specification. When gputypes updates
106108

107109
---
108110

109-
*Last updated: 2026-02-27 (v0.3.2)*
111+
*Last updated: 2026-03-02 (v0.4.1)*

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/go-webgpu/webgpu
22

33
go 1.25
44

5-
require github.com/go-webgpu/goffi v0.4.0
5+
require github.com/go-webgpu/goffi v0.4.1
66

77
require golang.org/x/sys v0.40.0
88

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/go-webgpu/goffi v0.4.0 h1:KX/p9hd2n5uqTfDrsiQOU9dOPIsVl/RViY2foFq4r34=
2-
github.com/go-webgpu/goffi v0.4.0/go.mod h1:wfoxNsJkU+5RFbV1kNN1kunhc1lFHuJKK3zpgx08/uM=
1+
github.com/go-webgpu/goffi v0.4.1 h1:2hQH5XXloxTyTtIleYv+Rajlwzp6UOETURhSZ5+zJxU=
2+
github.com/go-webgpu/goffi v0.4.1/go.mod h1:wfoxNsJkU+5RFbV1kNN1kunhc1lFHuJKK3zpgx08/uM=
33
github.com/gogpu/gputypes v0.2.0 h1:Quv3ekiU12zK4ZhBZsSZmalHYc+zj2gr9ZWRyzKgkKk=
44
github.com/gogpu/gputypes v0.2.0/go.mod h1:cnXrDMwTpWTvJLW1Vreop3PcT6a2YP/i3s91rPaOavw=
55
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=

0 commit comments

Comments
 (0)