Skip to content

feat!: unified public API + enterprise cleanup (v0.30.0)#222

Merged
kolkov merged 1 commit into
mainfrom
feat/unified-api-v30
Jun 15, 2026
Merged

feat!: unified public API + enterprise cleanup (v0.30.0)#222
kolkov merged 1 commit into
mainfrom
feat/unified-api-v30

Conversation

@kolkov

@kolkov kolkov commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

BREAKING: StencilOperation→gputypes (webgpu.h spec values), Device.released→atomic.Bool, gpucontext sentinel methods. 6 API divergences fixed (ADR-047). MinBindGroups=4, CopyBufferToTexture+ClearBuffer native, browser fence stubs, browser-compute example. Requires gpucontext v0.20.0.

API Unification (ADR-047) — 6 divergences fixed:
1. Browser fence stubs (DestroyFence, ResetFence, GetFenceStatus, WaitForFence)
2. Native CopyBufferToTexture + ClearBuffer (WebGPU spec methods)
3. Browser ComputePipelineDescriptor: Constants + ZeroInitializeWorkgroupMemory
4. gpucontext sentinel methods (requires gpucontext v0.20.0)
5. StencilOperation → gputypes (webgpu.h spec values, BREAKING: numeric change)
6. Browser StencilOperation → gputypes (was independent uint32 0-based)

Enterprise cleanup from Issue #218:
- MinBindGroups = 4 (WebGPU spec guaranteed minimum)
- Device.released → atomic.Bool (data race fix)
- browser-compute example (WASM compute validation)
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 36.53846% with 33 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
encoder_native.go 0.00% 28 Missing ⚠️
gpucontext_sentinel.go 0.00% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@kolkov kolkov merged commit b70e4f5 into main Jun 15, 2026
10 of 11 checks passed
@kolkov kolkov deleted the feat/unified-api-v30 branch June 15, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant