Lines Matching defs:memProps

2952 	VkPhysicalDeviceMemoryProperties*	memProps;
2955 memProps = reinterpret_cast<VkPhysicalDeviceMemoryProperties*>(buffer);
2958 context.getInstanceInterface().getPhysicalDeviceMemoryProperties(context.getPhysicalDevice(), memProps);
2961 << TestLog::Message << *memProps << TestLog::EndMessage;
2972 if (memProps->memoryHeapCount >= VK_MAX_MEMORY_HEAPS)
2978 if (memProps->memoryHeapCount == 1)
2980 if ((memProps->memoryHeaps[0].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT) == 0)
3008 for (deUint32 memoryNdx = 0; memoryNdx < memProps->memoryTypeCount; memoryNdx++)
3012 if (memProps->memoryTypes[memoryNdx].heapIndex >= memProps->memoryHeapCount)
3014 log << TestLog::Message << "deviceMemoryProperties - heapIndex " << memProps->memoryTypes[memoryNdx].heapIndex << " larger than heapCount" << TestLog::EndMessage;
3021 if ((memProps->memoryTypes[memoryNdx].propertyFlags & *requiredFlagsIterator) == *requiredFlagsIterator)
3024 if (de::contains(DE_ARRAY_BEGIN(validPropertyFlags), DE_ARRAY_END(validPropertyFlags), memProps->memoryTypes[memoryNdx].propertyFlags & bitsToCheck))
3030 << memProps->memoryTypes[memoryNdx].propertyFlags << " not valid" << TestLog::EndMessage;
3034 if (memProps->memoryTypes[memoryNdx].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)
3036 if ((memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT) == 0)
3044 if (memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)
3076 VkPhysicalDeviceMemoryProperties memProps;
3186 context.getInstanceInterface().getPhysicalDeviceMemoryProperties(deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &memProps);
3191 for (deUint32 heapIndex = 0; heapIndex < memProps.memoryHeapCount; heapIndex++)
3245 VkPhysicalDeviceMemoryProperties2 memProps;
3246 deMemset(&memProps, 0, sizeof(memProps));
3247 memProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2;
3248 memProps.pNext = budgetProps;
3250 context.getInstanceInterface().getPhysicalDeviceMemoryProperties2(context.getPhysicalDevice(), &memProps);
3264 for (deUint32 i = 0; i < memProps.memoryProperties.memoryHeapCount; ++i)
3271 if (budgetProps->heapBudget[i] > memProps.memoryProperties.memoryHeaps[i].size)
3278 for (deUint32 i = memProps.memoryProperties.memoryHeapCount; i < VK_MAX_MEMORY_HEAPS; ++i)