mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
vulkan: Fix for get_memory_mapping
This commit is contained in:
parent
01ce1c31d1
commit
7e971eb032
@ -44,7 +44,7 @@ namespace vk
|
||||
result.device_local = VK_MAX_MEMORY_TYPES;
|
||||
result.host_visible_coherent = VK_MAX_MEMORY_TYPES;
|
||||
|
||||
for (int i = 0; i < VK_MAX_MEMORY_TYPES; i++)
|
||||
for (int i = 0; i < memory_properties.memoryTypeCount; i++)
|
||||
{
|
||||
bool is_device_local = !!(memory_properties.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
|
||||
if (is_device_local)
|
||||
|
Loading…
Reference in New Issue
Block a user