Home
last modified time | relevance | path

Searched refs:memoryProperties (Results 1 – 19 of 19) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp325 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in RandomAllocFreeTestInstance() local
327 TCU_CHECK(memoryProperties.memoryHeapCount <= 32); in RandomAllocFreeTestInstance()
328 TCU_CHECK(memoryProperties.memoryTypeCount <= 32); in RandomAllocFreeTestInstance()
330 m_heaps.resize(memoryProperties.memoryHeapCount); in RandomAllocFreeTestInstance()
332 for (deUint32 heapNdx = 0; heapNdx < memoryProperties.memoryHeapCount; heapNdx++) in RandomAllocFreeTestInstance()
334 m_heaps[heapNdx].heap = memoryProperties.memoryHeaps[heapNdx]; in RandomAllocFreeTestInstance()
341 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomAllocFreeTestInstance()
346 memoryProperties.memoryTypes[memoryTypeNdx] in RandomAllocFreeTestInstance()
349 TCU_CHECK(type.type.heapIndex < memoryProperties.memoryHeapCount); in RandomAllocFreeTestInstance()
DvktMemoryMappingTests.cpp530 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki,… in testMemoryMapping() local
575 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping()
580 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping()
581 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping()
1308 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in RandomMemoryMappingInstance() local
1316 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance()
1318 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance()
1320 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
1321 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
1324 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance()
[all …]
DvktMemoryRequirementsTests.cpp280 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in execTest() local
316 verifyMemoryRequirements(result, memoryProperties, limits, bufferFlags, usage); in execTest()
1313 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, … in execTest() local
1378 verifyMemoryRequirements(result, memoryProperties); in execTest()
1663 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in testMultiplaneImages() local
1668 log << TestLog::Message << "Memory properties: " << memoryProperties << TestLog::EndMessage; in testMultiplaneImages()
1737 …if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set… in testMultiplaneImages()
1739 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
DvktMemoryBindingTests.cpp244 VkPhysicalDeviceMemoryProperties memoryProperties; in selectMatchingMemoryType() local
246 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in selectMatchingMemoryType()
249 for (deUint32 typeNdx = 0; typeNdx < memoryProperties.memoryTypeCount; ++typeNdx) in selectMatchingMemoryType()
252 …const deBool hasRightProperties = (memoryProperties.memoryTypes[typeNdx].propertyFlags & VK… in selectMatchingMemoryType()
DvktMemoryPipelineBarrierTests.cpp568 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindBufferMemory() local
571 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindBufferMemory()
574 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindBufferMemory()
618 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindImageMemory() local
621 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindImageMemory()
624 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindImageMemory()
805 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in getMemoryTypeInfo() local
807 DE_ASSERT(memoryTypeIndex < memoryProperties.memoryTypeCount); in getMemoryTypeInfo()
809 return memoryProperties.memoryTypes[memoryTypeIndex]; in getMemoryTypeInfo()
9240 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in createCommandsAndAllocateMemory() local
[all …]
/external/skia/src/gpu/vk/
DGrVkCaps.cpp81 VkPhysicalDeviceMemoryProperties memoryProperties; in init() local
82 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
84 this->initGrCaps(properties, memoryProperties, featureFlags); in init()
160 const VkPhysicalDeviceMemoryProperties& memoryProperties, in initGrCaps() argument
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp304 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local
334 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
335 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
514 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local
566 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
567 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
DvktApiBufferViewCreateTests.cpp208 VkPhysicalDeviceMemoryProperties memoryProperties; in createTestBuffer() local
267 deMemset(&memoryProperties, 0, sizeof(memoryProperties)); in createTestBuffer()
268 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in createTestBuffer()
DvktApiFeatureInfo.cpp2575 …if (deMemCmp(&coreProperties, &extProperties.memoryProperties, sizeof(VkPhysicalDeviceMemoryProper… in deviceMemoryProperties2()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp212 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in allocateDedicated() local
213 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(memoryProperties, memReqs.memoryTyp… in allocateDedicated()
226 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateDedicated()
DvkStructTypes.inl1416 VkPhysicalDeviceMemoryProperties memoryProperties; member
DvkStrUtilImpl.inl3643 s << "\tmemoryProperties = " << value.memoryProperties << '\n';
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp209 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(instan… in createAllocator() local
212 return new SimpleAllocator(deviceInterface, device, memoryProperties); in createAllocator()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp318 …const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(de… in createAllocator() local
321 return new SimpleAllocator(device->getDeviceInterface(), device->getDevice(), memoryProperties); in createAllocator()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp699 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in getMaxDeviceHeapSize() local
702 for (deUint32 heapNdx = 0; heapNdx < memoryProperties.memoryHeapCount; ++heapNdx) in getMaxDeviceHeapSize()
704 if ((memoryProperties.memoryHeaps[heapNdx].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT) != 0) in getMaxDeviceHeapSize()
705 memorySize = std::max(memorySize, memoryProperties.memoryHeaps[heapNdx].size); in getMaxDeviceHeapSize()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp659 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(m_cont… in createAllocator() local
660 return new SimpleAllocator(m_deviceInterface, *m_device, memoryProperties); in createAllocator()
/external/skia/third_party/vulkan/vulkan/
Dvulkan.h3702 VkPhysicalDeviceMemoryProperties memoryProperties; member
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.hpp17807 PhysicalDeviceMemoryProperties memoryProperties; in getMemoryProperties() local
17808 …ties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( &memoryProperties ) ); in getMemoryProperties()
17809 return memoryProperties; in getMemoryProperties()
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in3967 VkPhysicalDeviceMemoryProperties memoryProperties; member