Skip to content

[DO NOT MERGE] Vibecoded slop PR to fix our WM issues - #1

Draft
obiwac wants to merge 1 commit into
aquafrom
aqua-vibe-slop
Draft

obiwac wants to merge 1 commit into
aquafrom
aqua-vibe-slop

Conversation

@obiwac

@obiwac obiwac commented Oct 28, 2026

Copy link
Copy Markdown
Member

aqua: Add wgpuVkGetDeviceRequirements, and don't take ownership of the Vulkan instance and device in wgpuDeviceFromVk

wgpuVkGetDeviceRequirements returns the extensions and features a device must be created with for wgpuDeviceFromVk (minus the swapchain extensions, which need VK_KHR_surface). wgpuDeviceFromVk passed None as drop callbacks, so wgpu-hal would destroy the instance and device when dropped; it now passes no-op callbacks, and passes the loader's API version instead of 0.

Claude-Session: https://claude.ai/code/session_01XQtK5w15jPT85mPBACyrDp

…the Vulkan instance and device in `wgpuDeviceFromVk`

`wgpuVkGetDeviceRequirements` returns the extensions and features a device must be created with for `wgpuDeviceFromVk` (minus the swapchain extensions, which need `VK_KHR_surface`).
`wgpuDeviceFromVk` passed `None` as drop callbacks, so wgpu-hal would destroy the instance and device when dropped; it now passes no-op callbacks, and passes the loader's API version instead of 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XQtK5w15jPT85mPBACyrDp
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