Use maxMemoryAllocationSize in Vulkan's memory allocator. #3141
Labels
api: vulkan
Issues with Vulkan
help required
We need community help to make this happen.
type: enhancement
New feature or request
Milestone
Description
wgpu-hal's internal memory allocator for Vulkan should respect the
maxMemoryAllocationSize
limit introduced in the VK_KHR_maintanence3 extension. This extension is part of the core specification in Vulkan 1.1.This probably also needs to be added as a parameter into Adapter::device_from_raw as well.
Right now the maximum size is a stub value, which very well may not be u64::MAX everywhere:
wgpu/wgpu-hal/src/vulkan/adapter.rs
Line 1278 in c453397
The text was updated successfully, but these errors were encountered: