Skip to content

Add ergonomic multi-queue device creation - #21

Merged
antono3 merged 1 commit into
masterfrom
codex/vulkan-multi-queue
Sep 9, 2026
Merged

Add ergonomic multi-queue device creation#21
antono3 merged 1 commit into
masterfrom
codex/vulkan-multi-queue

Conversation

@antono3

@antono3 antono3 commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add validated per-family queue requests with per-queue priorities
  • expose every created borrowed queue while preserving Device.queue compatibility
  • create command pools for any queue borrowed from the device
  • fix legacy nonzero queue selection so every index through the selected queue is actually created
  • exercise legacy and multi-queue paths under Vulkan validation

The convenience layer intentionally creates ordinary queues with zero VkDeviceQueueCreateFlags; protected or otherwise flagged queue configurations remain available through the raw API.

Validation

  • V 0.5.2: v -cc gcc test ergonomic
  • V 0.5.2: validation-layer examples/ergonomic_lifecycle on NVIDIA GeForce GTX 1060 6GB (2 queues)
  • current V: v -cc gcc test ergonomic
  • current V: validation-layer examples/ergonomic_lifecycle on NVIDIA GeForce GTX 1060 6GB (2 queues)
  • V 0.5.2 and current V: generated-binding smoke probe
  • no changes to generated vulkan.v or vulkan_video.v

@antono3
antono3 merged commit a7cd1e6 into master Sep 9, 2026
7 checks passed
@antono3
antono3 deleted the codex/vulkan-multi-queue branch September 9, 2026 00:13
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.

2 participants