Skip to content

Expose Vulkan memory fragmentation stats - #12

Merged
antono3 merged 1 commit into
masterfrom
feature/memory-type-stats
Sep 11, 2026
Merged

Expose Vulkan memory fragmentation stats#12
antono3 merged 1 commit into
masterfrom
feature/memory-type-stats

Conversation

@antono3

@antono3 antono3 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • expose free-range, largest-contiguous-range, and empty-block diagnostics through AllocatorStats
  • add stats_for_memory_type() so callers can inspect only compatible Vulkan blocks
  • document exhaustion and fragmentation diagnosis and exercise it in unit tests and the real Vulkan example
  • prepare patch release v2.3.1

Validation

  • v fmt -verify . with official V 0.5.2
  • selected v vet source and test files
  • v test . (3/3 suites passed)
  • lavapipe v run examples/buffer_suballocation

@antono3
antono3 merged commit f21999e into master Sep 11, 2026
1 check passed
@antono3
antono3 deleted the feature/memory-type-stats branch September 11, 2026 03: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.

1 participant