Searched refs:bestType (Results 1 – 5 of 5) sorted by relevance
50 int bestType = -1; in Allocate() local70 if (bestType == -1) { in Allocate()71 bestType = static_cast<int>(i); in Allocate()77 if ((info.memoryTypes[bestType].propertyFlags & in Allocate()81 bestType = static_cast<int>(i); in Allocate()88 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in Allocate()91 bestType = static_cast<int>(i); in Allocate()97 if (bestType == -1) { in Allocate()106 allocateInfo.memoryTypeIndex = static_cast<uint32_t>(bestType); in Allocate()
236 int bestType = -1; in FindBestTypeIndex() local256 if (bestType == -1) { in FindBestTypeIndex()257 bestType = static_cast<int>(i); in FindBestTypeIndex()265 info.memoryTypes[bestType].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in FindBestTypeIndex()268 bestType = static_cast<int>(i); in FindBestTypeIndex()275 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in FindBestTypeIndex()278 bestType = static_cast<int>(i); in FindBestTypeIndex()283 return bestType; in FindBestTypeIndex()
193 String bestType = null; in testBasic()196 bestType = type; in testBasic()199 bestType = type; in testBasic()202 … System.out.println("{\"OK\", \"en-" + extension + "-" + key + "-" + bestType + "\"},"); in testBasic()
195 String bestType = null; in testBasic()198 bestType = type; in testBasic()201 bestType = type; in testBasic()204 … System.out.println("{\"OK\", \"en-" + extension + "-" + key + "-" + bestType + "\"},"); in testBasic()
98 int bestType = deviceVk->GetResourceMemoryAllocator()->FindBestTypeIndex( in AllocateMemory() local104 allocateInfo.memoryTypeIndex = static_cast<uint32_t>(bestType); in AllocateMemory()