Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better memory allocation #32

Merged
merged 15 commits into from
Dec 27, 2024
Merged

Better memory allocation #32

merged 15 commits into from
Dec 27, 2024

Conversation

JonathSpirit
Copy link
Owner

Move CreateImage() CreateBuffer() to Context class:

  • Avoid hardcoding VMA flags
    • Most notable change is that buffer don't use anymore the VMA_ALLOCATION_CREATE_MAPPED_BIT
  • Use VMA_MEMORY_USAGE_AUTO instead of unknown
  • Apply this change to codebase

VertexBuffer DEVICE mode:

  • Use indirect command buffer execution

Add missing VK_EXT_ROBUSTNESS_2_EXTENSION_NAME.

Shaders: add missing "readonly" decoration

  • This mute validation error : "vertexPipelineStoresAndAtomics was not enabled."

Move CreateImageView() to LogicalDevice

@JonathSpirit JonathSpirit added this to the v0.9.4 milestone Dec 27, 2024
@JonathSpirit JonathSpirit self-assigned this Dec 27, 2024
@JonathSpirit JonathSpirit merged commit e0b8518 into master Dec 27, 2024
12 checks passed
@JonathSpirit JonathSpirit deleted the BetterMemoryAllocation branch December 27, 2024 09:45
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