Skip to content

fix: use probed vulkan device index with init_hw_device#112

Merged
jasongdove merged 2 commits intomainfrom
fix/vulkan-multiple-devices
Apr 30, 2026
Merged

fix: use probed vulkan device index with init_hw_device#112
jasongdove merged 2 commits intomainfrom
fix/vulkan-multiple-devices

Conversation

@jasongdove
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Vulkan hardware acceleration implementation to specify a device index during initialization. It introduces a device_index field to the VulkanCapabilities struct and modifies the probing logic to capture and store the index of the selected physical device. A review comment points out that this change will likely cause a compilation error in stub.rs because that file was not updated to include the new field in its instantiation of VulkanCapabilities.

Comment thread crates/ffpipeline/src/capabilities/vulkan/mod.rs
@jasongdove jasongdove merged commit 8dab867 into main Apr 30, 2026
8 checks passed
@jasongdove jasongdove deleted the fix/vulkan-multiple-devices branch April 30, 2026 11:53
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