Skip to content

refactor(vulkan): Moving vk::physical_device enumeration to vk::instance#71

Merged
SpinnerX merged 9 commits into
v6from
fix_physical_device_api
May 22, 2026
Merged

refactor(vulkan): Moving vk::physical_device enumeration to vk::instance#71
SpinnerX merged 9 commits into
v6from
fix_physical_device_api

Conversation

@SpinnerX
Copy link
Copy Markdown
Member

@SpinnerX SpinnerX commented May 22, 2026

Brief Overview

This PR resolves #60.

Changelogs

  • Enumerating physical devices responsible to vk::instance.
  • Added more APIs to vk::physical_device
    • properties to query VkPhysicalDeviceProperties.
    • queue_family_properties queries contiguous array of VkQueueFamilyProperties.
    • is_present_supported(VkSurfaceKHR) queries if the given surface has presentation supported.
  • Minor code cleanup in vk::swapchain removing std::println statement.

@SpinnerX SpinnerX self-assigned this May 22, 2026
Copy link
Copy Markdown
Member Author

@SpinnerX SpinnerX left a comment

Choose a reason for hiding this comment

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

Ready to being merged.

@SpinnerX SpinnerX merged commit 8488ffe into v6 May 22, 2026
5 checks passed
@SpinnerX SpinnerX deleted the fix_physical_device_api branch May 22, 2026 01:24
@SpinnerX SpinnerX linked an issue May 24, 2026 that may be closed by this pull request
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.

Extend vk::physical_device with additional API's. Add request API to vk::instance for requesting span<const vk::physical_device> devices.

1 participant