From 8728bb1f05a3123c1b0c306c20ad8e025365e695 Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Sat, 9 Sep 2023 18:00:22 +0200 Subject: [PATCH] #2316 docs fixes (#2320) --- vulkano/src/memory/allocator/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vulkano/src/memory/allocator/mod.rs b/vulkano/src/memory/allocator/mod.rs index a7da6699cd..f94ac1b31e 100644 --- a/vulkano/src/memory/allocator/mod.rs +++ b/vulkano/src/memory/allocator/mod.rs @@ -1115,13 +1115,10 @@ unsafe impl MemoryAllocator for GenericMemoryA /// - Returns [`BlockSizeExceeded`] if `create_info.layout.size()` is greater than the block /// size corresponding to the heap that the memory type corresponding to `memory_type_index` /// resides in. - /// - Returns [`SuballocatorBlockSizeExceeded`] if `S` is `PoolAllocator` and - /// `create_info.layout.size()` is greater than `BLOCK_SIZE`. /// /// [`AllocateDeviceMemory`]: MemoryAllocatorError::AllocateDeviceMemory /// [`OutOfPoolMemory`]: MemoryAllocatorError::OutOfPoolMemory /// [`BlockSizeExceeded`]: MemoryAllocatorError::BlockSizeExceeded - /// [`SuballocatorBlockSizeExceeded`]: MemoryAllocatorError::SuballocatorBlockSizeExceeded fn allocate_from_type( &self, memory_type_index: u32, @@ -1259,9 +1256,6 @@ unsafe impl MemoryAllocator for GenericMemoryA /// - Returns [`BlockSizeExceeded`] if `create_info.allocate_preference` is /// [`MemoryAllocatePreference::NeverAllocate`] and `create_info.requirements.size` is /// greater than the block size for all heaps of suitable memory types. - /// - Returns [`SuballocatorBlockSizeExceeded`] if `S` is `PoolAllocator` and - /// `create_info.size` is greater than `BLOCK_SIZE` and a dedicated allocation was not - /// created. /// /// [`RawBuffer::memory_requirements`]: crate::buffer::sys::RawBuffer::memory_requirements /// [`RawImage::memory_requirements`]: crate::image::sys::RawImage::memory_requirements @@ -1274,7 +1268,6 @@ unsafe impl MemoryAllocator for GenericMemoryA /// [`OutOfPoolMemory`]: MemoryAllocatorError::OutOfPoolMemory /// [`DedicatedAllocationRequired`]: MemoryAllocatorError::DedicatedAllocationRequired /// [`BlockSizeExceeded`]: MemoryAllocatorError::BlockSizeExceeded - /// [`SuballocatorBlockSizeExceeded`]: MemoryAllocatorError::SuballocatorBlockSizeExceeded fn allocate( &self, requirements: MemoryRequirements,