Merge pull request #1021 from Keenuts/fix-vuid
validation: fix VUID-vkAllocateMemory 02790
This commit is contained in:
commit
746277561a
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ public:
|
|||
if ((deviceMemoryProperties.memoryTypes[i].propertyFlags & memoryPropertyFlags) == memoryPropertyFlags) {
|
||||
memAlloc.memoryTypeIndex = i;
|
||||
memTypeFound = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
memReqs.memoryTypeBits >>= 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue