Skip to content

Add exact Dawn Vulkan device query - #648

Merged
wieslawsoltes merged 1 commit into
mainfrom
issue-646-dawn-native-device-hook
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
issue-646-dawn-native-device-hook

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Closes #646. Creates SceneTech/AppScene#260 for the concrete exact-device external-memory allocator and hardware qualification.

Add a versioned WebScene-owned C query compiled into the pinned Linux Dawn monolith. A live-device registry hooks Dawn instance add/remove, rejects foreign or stale WGPUDevice tokens before dereference, and returns the exact Vulkan physical device, device, queue, family and UUID identities only for a live Vulkan device. The provider binds that result into the merged exact-device factory while retaining the public wgpu::Device and shared device-loss state. AppScene includes no Dawn private headers.

The transient pinned-source patch is restored before SDK sealing; export policy, SDK staging/hashes, cache identity and source contracts include the hook.

Base: 0d3d2eb55d36302aa4c9c822cba58a721e16e9dd
Implementation: ea1ed367c4ffaf11670a1bb8333425104fb9ca49

Validation under the current throughput policy: git diff --cached --check.

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.

Connect AppScene to the exact Dawn Vulkan device

1 participant