From: Joshua Simmons Date: Tue, 25 Jul 2023 13:35:47 +0000 (+0200) Subject: narcissus-gpu: Always call them super-blocks X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=5a5d4b8511659dcb66586646412cb3bc7204b9d1;p=josh%2Fnarcissus narcissus-gpu: Always call them super-blocks --- diff --git a/libs/narcissus-gpu/src/backend/vulkan/allocator.rs b/libs/narcissus-gpu/src/backend/vulkan/allocator.rs index aba02bc..3dcfb46 100644 --- a/libs/narcissus-gpu/src/backend/vulkan/allocator.rs +++ b/libs/narcissus-gpu/src/backend/vulkan/allocator.rs @@ -17,8 +17,8 @@ type Tlsf = tlsf::Tlsf; pub struct VulkanMemoryHeap { /// The calculated Tlsf super-block size for this memory heap. /// - /// Smaller heaps will require a smaller super block size to prevent excess - /// memory waste. Calculate a suitable super block size using + /// Smaller heaps will require a smaller super-block size to prevent excess + /// memory waste. Calculate a suitable super-block size using /// `VULKAN_CONSTANTS.tlsf_default_super_block_size` and /// `VULKAN_CONSTANTS.tlsf_small_super_block_divisor`. tlsf_super_block_size: u64, @@ -394,7 +394,7 @@ impl VulkanDevice { Initial, /// Clear the preferred memory_property_flags and try again. NoPreferredFlags, - /// Finally trigger an emergency release of unused Tlsf super blocks. + /// Finally trigger an emergency release of unused Tlsf super-blocks. EmergencyGc, }