mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 00:24:35 +00:00
Correct wording of comment about required flags
The word "subset" is used when it should be "superset" instead.
This commit is contained in:
parent
4184ee53bd
commit
a59788d60d
@ -4870,7 +4870,7 @@ VkResult vmaFindMemoryTypeIndex(
|
||||
uint32_t preferredFlags = pMemoryRequirements->preferredFlags;
|
||||
if(preferredFlags == 0)
|
||||
preferredFlags = requiredFlags;
|
||||
// preferredFlags, if not 0, must be subset of requiredFlags.
|
||||
// preferredFlags, if not 0, must be a superset of requiredFlags.
|
||||
VMA_ASSERT((requiredFlags & ~preferredFlags) == 0);
|
||||
|
||||
// Convert usage to requiredFlags and preferredFlags.
|
||||
|
Loading…
Reference in New Issue
Block a user