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

Make use of maxMemoryAllocationSize for the max_buffer_size limit #3326

Open
teoxoy opened this issue Dec 22, 2022 · 2 comments · Fixed by #3567
Open

Make use of maxMemoryAllocationSize for the max_buffer_size limit #3326

teoxoy opened this issue Dec 22, 2022 · 2 comments · Fixed by #3567
Labels
api: vulkan Issues with Vulkan type: enhancement New feature or request

Comments

@teoxoy
Copy link
Member

teoxoy commented Dec 22, 2022

Use VkPhysicalDeviceMaintenance3Properties::maxMemoryAllocationSize (part of VK_KHR_maintenance3) to query for the max_buffer_size limit.

@teoxoy
Copy link
Member Author

teoxoy commented Aug 10, 2023

Mistakenly closed this, we only set max_memory_allocation_size for the allocator.

@teoxoy
Copy link
Member Author

teoxoy commented Aug 18, 2023

There is also maxBufferSize, see https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMaintenance4PropertiesKHR.html.

We should probably use the minimum of the 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vulkan Issues with Vulkan type: enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant