Skip to content

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

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

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

Conversation

@mrparmesan01

@mrparmesan01 mrparmesan01 commented May 22, 2026

Copy link
Copy Markdown
Member

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.

@mrparmesan01 mrparmesan01 self-assigned this May 22, 2026

@mrparmesan01 mrparmesan01 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ready to being merged.

@mrparmesan01 mrparmesan01 merged commit 8488ffe into v6 May 22, 2026
5 checks passed
@mrparmesan01 mrparmesan01 deleted the fix_physical_device_api branch May 22, 2026 01:24
@mrparmesan01 mrparmesan01 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