Skip to content

Conversation

@kolkov
Copy link
Contributor

@kolkov kolkov commented Jan 5, 2026

Summary

Vulkan backend fixes for v0.9.1:

  • vkDestroyDevice memory leak — Device was not properly destroyed due to missing goffi call
  • Features mapping — Implements featuresFromPhysicalDevice() mapping 9 Vulkan features to WebGPU
  • Limits mapping — Implements limitsFromProps() mapping 25+ hardware limits
  • Pre-release script fix — Filters WSL UTF-16 null bytes

Changes

File Change
hal/vulkan/adapter.go Fix vkDestroyDevice via goffi CallFunction
hal/vulkan/api.go Add featuresFromPhysicalDevice(), update limitsFromProps()
hal/vulkan/api_test.go Add comprehensive tests for features/limits mapping
CHANGELOG.md Document v0.9.1 changes
ROADMAP.md Update milestones
scripts/pre-release-check.sh Fix WSL null byte warning

Closes

Closes #32 — vkDestroyDevice memory leak
Closes #33 — Vulkan features not mapped to WebGPU features
Closes #34 — Vulkan limits not mapped to WebGPU limits

Test Plan

  • go test ./hal/vulkan/... — All pass
  • golangci-lint run — 0 issues
  • scripts/pre-release-check.sh — All checks pass

#34)

- Fix vkDestroyDevice memory leak via goffi CallFunction
- Implement featuresFromPhysicalDevice() mapping 9 Vulkan features
- Implement limitsFromProps() mapping 25+ hardware limits
- Add comprehensive tests for features mapping
- Update documentation for v0.9.1 release
@kolkov kolkov merged commit c361454 into main Jan 5, 2026
20 checks passed
@kolkov kolkov deleted the fix/vulkan-backend-v0.9.1 branch January 5, 2026 12:05
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.

feat(vulkan): Map Vulkan limits to WebGPU limits feat(vulkan): Map Vulkan features to WebGPU features fix(vulkan): vkDestroyDevice memory leak

2 participants