Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp307 …vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(cont… in generateSwapchainParameterCases() local
312 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases()
314 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
316 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases()
319 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
346 …vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(cont… in generateSwapchainParameterCases() local
350 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases()
352 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
353 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
355 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
[all …]
DvktProtectedMemContext.hpp74 const vk::VkPhysicalDeviceMemoryProperties memoryProperties = in createAllocator() local
78 return new vk::SimpleAllocator(getDeviceInterface(), getDevice(), memoryProperties); in createAllocator()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp329 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local
359 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
360 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
528 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local
580 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
581 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
DvktApiBufferViewCreateTests.cpp219 VkPhysicalDeviceMemoryProperties memoryProperties; in createTestBuffer() local
278 deMemset(&memoryProperties, 0, sizeof(memoryProperties)); in createTestBuffer()
279 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in createTestBuffer()
DvktApiFeatureInfo.cpp3476 …if (deMemCmp(&coreProperties, &extProperties.memoryProperties, sizeof(VkPhysicalDeviceMemoryProper… in deviceMemoryProperties2()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp244 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in allocateDedicated() local
245 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(memoryProperties, memReqs.memoryTyp… in allocateDedicated()
258 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateDedicated()
DvkStructTypes.inl1413 VkPhysicalDeviceMemoryProperties memoryProperties; member
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp530 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki,… in testMemoryMapping() local
572 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping()
577 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping()
578 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping()
1296 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in RandomMemoryMappingInstance() local
1301 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance()
1303 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance()
1305 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
1306 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
1309 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()
1322 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, … in execTest() local
1387 verifyMemoryRequirements(result, memoryProperties); in execTest()
1674 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in testMultiplaneImages() local
1679 log << TestLog::Message << "Memory properties: " << memoryProperties << TestLog::EndMessage; in testMultiplaneImages()
1748 …if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set… in testMultiplaneImages()
1750 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
DvktMemoryBindingTests.cpp257 VkPhysicalDeviceMemoryProperties memoryProperties; in selectMatchingMemoryType() local
259 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in selectMatchingMemoryType()
262 for (deUint32 typeNdx = 0; typeNdx < memoryProperties.memoryTypeCount; ++typeNdx) in selectMatchingMemoryType()
265 …const deBool hasRightProperties = (memoryProperties.memoryTypes[typeNdx].propertyFlags & VK… in selectMatchingMemoryType()
DvktMemoryPipelineBarrierTests.cpp558 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindBufferMemory() local
561 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindBufferMemory()
564 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindBufferMemory()
608 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindImageMemory() local
611 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindImageMemory()
614 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindImageMemory()
771 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in getMemoryTypeInfo() local
773 DE_ASSERT(memoryTypeIndex < memoryProperties.memoryTypeCount); in getMemoryTypeInfo()
775 return memoryProperties.memoryTypes[memoryTypeIndex]; in getMemoryTypeInfo()
9419 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in createCommandsAndAllocateMemory() local
[all …]
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp239 VkPhysicalDeviceMemoryProperties memoryProperties; in init() local
240 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
319 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init()
431 const VkPhysicalDeviceMemoryProperties& memoryProperties, in initGrCaps() argument
/external/skia/src/gpu/vk/
DGrVkCaps.cpp272 VkPhysicalDeviceMemoryProperties memoryProperties; in init() local
273 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
356 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init()
482 const VkPhysicalDeviceMemoryProperties& memoryProperties, in initGrCaps() argument
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp386 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
389 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp751 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in getMemoryTypeNdx() local
763 return selectMatchingMemoryType(memoryProperties, memReqs.memoryTypeBits, MemoryRequirement::Any); in getMemoryTypeNdx()
770 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in getMaxDeviceHeapSize() local
773 return memoryProperties.memoryHeaps[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].size; in getMaxDeviceHeapSize()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp266 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
269 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp573 …const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(de… in createAllocator() local
576 return new SimpleAllocator(device->getDeviceInterface(), device->getDevice(), memoryProperties); in createAllocator()
/external/swiftshader/src/Vulkan/
DlibVulkan.cpp579 …const auto& memoryProperties = vk::Cast(vk::Cast(pDevice)->getPhysicalDevice())->getMemoryProperti… in vkGetDeviceMemoryCommitment() local
581 ASSERT(typeIndex < memoryProperties.memoryTypeCount); in vkGetDeviceMemoryCommitment()
582 …ASSERT(memoryProperties.memoryTypes[typeIndex].propertyFlags & VK_MEMORY_PROPERTY_LAZILY_ALLOCATED… in vkGetDeviceMemoryCommitment()
1906 vkGetPhysicalDeviceMemoryProperties(physicalDevice, &(pMemoryProperties->memoryProperties)); in vkGetPhysicalDeviceMemoryProperties2()
/external/skia/tests/
DVkHardwareBufferTest.cpp727 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer()
730 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp739 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer()
742 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()
/external/mesa3d/src/intel/vulkan/
Danv_device.c1067 &pMemoryProperties->memoryProperties); in anv_GetPhysicalDeviceMemoryProperties2KHR()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp37933 && ( memoryProperties == rhs.memoryProperties ); in operator ==()
37946 PhysicalDeviceMemoryProperties memoryProperties; member
53529 PhysicalDeviceMemoryProperties memoryProperties; in getMemoryProperties() local
53530 …ties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( &memoryProperties ) ); in getMemoryProperties()
53531 return memoryProperties; in getMemoryProperties()
53544 PhysicalDeviceMemoryProperties2 memoryProperties; in getMemoryProperties2() local
53545 …es2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) ); in getMemoryProperties2()
53546 return memoryProperties; in getMemoryProperties2()
53552 …PhysicalDeviceMemoryProperties2& memoryProperties = structureChain.template get<PhysicalDeviceMemo… in getMemoryProperties2() local
53553 …es2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) ); in getMemoryProperties2()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_device.c925 &pMemoryProperties->memoryProperties); in radv_GetPhysicalDeviceMemoryProperties2KHR()
/external/swiftshader/include/vulkan/
Dvulkan.hpp22486 && ( memoryProperties == rhs.memoryProperties ); in operator ==()
22499 PhysicalDeviceMemoryProperties memoryProperties; member
45711 PhysicalDeviceMemoryProperties memoryProperties; in getMemoryProperties() local
45712 …ties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( &memoryProperties ) ); in getMemoryProperties()
45713 return memoryProperties; in getMemoryProperties()
46632 PhysicalDeviceMemoryProperties2 memoryProperties; in getMemoryProperties2() local
46633 …es2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) ); in getMemoryProperties2()
46634 return memoryProperties; in getMemoryProperties2()
46647 PhysicalDeviceMemoryProperties2 memoryProperties; in getMemoryProperties2KHR() local
46648 …KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) ); in getMemoryProperties2KHR()
[all …]
/external/mesa3d/include/vulkan/
Dvulkan.h4104 VkPhysicalDeviceMemoryProperties memoryProperties; member

12