From 7044a6ffdcbe675e59a4c82a574223614777c001 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 27 Feb 2026 12:39:32 +0300 Subject: [PATCH] =?UTF-8?q?deps:=20update=20goffi=20v0.3.9=20=E2=86=92=20v?= =?UTF-8?q?0.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit crosscall2 integration for C-thread callbacks (Metal, wgpu-native). fakecgo trampoline register fixes synced with purego v0.10.0. --- CHANGELOG.md | 8 ++++++++ UPSTREAM.md | 5 +++-- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ee4c58..71977f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.2] - 2026-02-27 + +### Changed + +- **goffi:** v0.3.9 → v0.4.0 (crosscall2 integration for C-thread callbacks, fakecgo trampoline fixes) + +--- + ## [0.3.1] - 2026-02-18 ### Changed diff --git a/UPSTREAM.md b/UPSTREAM.md index 32aa450..9a63a6e 100644 --- a/UPSTREAM.md +++ b/UPSTREAM.md @@ -10,13 +10,14 @@ This document tracks upstream dependencies, pinned versions, and compatibility f |------------|---------|--------|------| | **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 | | **webgpu.h** | wgpu-native bundled | same as above | — | -| **goffi** | [v0.3.9](https://github.com/go-webgpu/goffi/releases/tag/v0.3.9) | [`aa78271`](https://github.com/go-webgpu/goffi/commit/aa782710c349c09cebe2e5b9f76df859512884ef) | 2026-02-18 | +| **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 | | **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 | ## Compatibility Matrix | go-webgpu | wgpu-native | goffi | gputypes | Go | |-----------|-------------|-------|----------|----| +| v0.3.2 | v27.0.4.0 | v0.4.0 | v0.2.0 | 1.25+ | | v0.3.1 | v27.0.4.0 | v0.3.9 | v0.2.0 | 1.25+ | | v0.3.0 | v27.0.4.0 | v0.3.8 | v0.2.0 | 1.25+ | | v0.2.1 | v27.0.4.0 | v0.3.8 | v0.2.0 | 1.25+ | @@ -105,4 +106,4 @@ Enum values in gputypes follow the webgpu.h specification. When gputypes updates --- -*Last updated: 2026-02-18 (v0.3.1)* +*Last updated: 2026-02-27 (v0.3.2)* diff --git a/go.mod b/go.mod index bfa0274..39f42fa 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/go-webgpu/webgpu go 1.25 -require github.com/go-webgpu/goffi v0.3.9 +require github.com/go-webgpu/goffi v0.4.0 require golang.org/x/sys v0.40.0 diff --git a/go.sum b/go.sum index 899ce8e..dd691c5 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/go-webgpu/goffi v0.3.9 h1:dD1F7GZQV54ET6Fdcb+4776W1/OfbSb9DOJADVZEQLc= -github.com/go-webgpu/goffi v0.3.9/go.mod h1:wfoxNsJkU+5RFbV1kNN1kunhc1lFHuJKK3zpgx08/uM= +github.com/go-webgpu/goffi v0.4.0 h1:KX/p9hd2n5uqTfDrsiQOU9dOPIsVl/RViY2foFq4r34= +github.com/go-webgpu/goffi v0.4.0/go.mod h1:wfoxNsJkU+5RFbV1kNN1kunhc1lFHuJKK3zpgx08/uM= github.com/gogpu/gputypes v0.2.0 h1:Quv3ekiU12zK4ZhBZsSZmalHYc+zj2gr9ZWRyzKgkKk= github.com/gogpu/gputypes v0.2.0/go.mod h1:cnXrDMwTpWTvJLW1Vreop3PcT6a2YP/i3s91rPaOavw= golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=