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) {
|
if ((deviceMemoryProperties.memoryTypes[i].propertyFlags & memoryPropertyFlags) == memoryPropertyFlags) {
|
||||||
memAlloc.memoryTypeIndex = i;
|
memAlloc.memoryTypeIndex = i;
|
||||||
memTypeFound = true;
|
memTypeFound = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
memReqs.memoryTypeBits >>= 1;
|
memReqs.memoryTypeBits >>= 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue