/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 318 …vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(cont… in generateSwapchainParameterCases() local 323 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases() 325 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() 328 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases() 332 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases() 359 …vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(cont… in generateSwapchainParameterCases() local 363 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases() 365 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() 367 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases() 370 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases() [all …]
|
D | vktProtectedMemContext.hpp | 75 const vk::VkPhysicalDeviceMemoryProperties memoryProperties = in createAllocator() local 79 return new vk::SimpleAllocator(getDeviceInterface(), getDevice(), memoryProperties); in createAllocator()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferTests.cpp | 201 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local 231 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() 232 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest() 400 memoryProperties = getPhysicalDeviceMemoryProperties(vkInstance, vkPhysicalDevice); in bufferCreateAndAllocTest() local 452 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() 453 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
|
D | vktApiBufferViewCreateTests.cpp | 217 VkPhysicalDeviceMemoryProperties memoryProperties; in createTestBuffer() local 276 deMemset(&memoryProperties, 0, sizeof(memoryProperties)); in createTestBuffer() 277 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in createTestBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 530 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki,… in testMemoryMapping() local 561 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping() 566 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() 567 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping() 1285 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in RandomMemoryMappingInstance() local 1290 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance() 1292 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance() 1294 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance() 1295 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance() 1298 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance() [all …]
|
D | vktMemoryRequirementsTests.cpp | 280 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in execTest() local 316 verifyMemoryRequirements(result, memoryProperties, limits, bufferFlags, usage); in execTest() 1262 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, … in execTest() local 1327 verifyMemoryRequirements(result, memoryProperties); in execTest() 1578 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in testMultiplaneImages() local 1583 log << TestLog::Message << "Memory properties: " << memoryProperties << TestLog::EndMessage; in testMultiplaneImages() 1652 …if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set… in testMultiplaneImages() 1654 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
|
D | vktMemoryBindingTests.cpp | 262 VkPhysicalDeviceMemoryProperties memoryProperties; in selectMatchingMemoryType() local 264 vkInstance.getPhysicalDeviceMemoryProperties(vkPhysicalDevice, &memoryProperties); in selectMatchingMemoryType() 267 for (deUint32 typeNdx = 0; typeNdx < memoryProperties.memoryTypeCount; ++typeNdx) in selectMatchingMemoryType() 270 …const deBool hasRightProperties = (memoryProperties.memoryTypes[typeNdx].propertyFlags & VK… in selectMatchingMemoryType()
|
D | vktMemoryPipelineBarrierTests.cpp | 562 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindBufferMemory() local 565 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindBufferMemory() 568 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindBufferMemory() 612 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in bindImageMemory() local 615 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindImageMemory() 618 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindImageMemory() 775 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in getMemoryTypeInfo() local 777 DE_ASSERT(memoryTypeIndex < memoryProperties.memoryTypeCount); in getMemoryTypeInfo() 779 return memoryProperties.memoryTypes[memoryTypeIndex]; in getMemoryTypeInfo() 9428 …const vk::VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryPropertie… in createCommandsAndAllocateMemory() local [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 278 VkPhysicalDeviceMemoryProperties memoryProperties; in init() local 279 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init() 358 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init() 470 const VkPhysicalDeviceMemoryProperties& memoryProperties, in initGrCaps() argument
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 100 uint32_t FindMemoryType(const VkPhysicalDeviceMemoryProperties &memoryProperties, in FindMemoryType() argument 106 ASSERT(memoryIndex < memoryProperties.memoryTypeCount); in FindMemoryType() 108 if ((memoryProperties.memoryTypes[memoryIndex].propertyFlags & in FindMemoryType()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 264 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in allocateExtended() local 265 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(memoryProperties, memReqs.memoryTyp… in allocateExtended() 278 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateExtended()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 56 const vk::MemoryProperties &memoryProperties, in FindAndAllocateCompatibleMemory() argument 69 ANGLE_TRY(memoryProperties.findCompatibleMemoryIndex(context, memoryRequirements, in FindAndAllocateCompatibleMemory() 107 const vk::MemoryProperties &memoryProperties = context->getRenderer()->getMemoryProperties(); in AllocateAndBindBufferOrImageMemory() local 110 context, memoryProperties, requestedMemoryPropertyFlags, memoryPropertyFlagsOut, in AllocateAndBindBufferOrImageMemory()
|
D | vk_helpers.h | 759 const MemoryProperties &memoryProperties, 762 const MemoryProperties &memoryProperties, 789 const MemoryProperties &memoryProperties,
|
D | vk_helpers.cpp | 2128 const MemoryProperties &memoryProperties, in initMemory() argument 2159 const MemoryProperties &memoryProperties, in initExternalMemory() argument 2260 const MemoryProperties &memoryProperties, in init2DStaging() argument 2297 ANGLE_TRY(initMemory(context, memoryProperties, memoryPropertyFlags)); in init2DStaging()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawConcurrentTests.cpp | 164 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(instan… in iterate() local 166 SimpleAllocator * allocator = new SimpleAllocator(vk, *computeDevice, memoryProperties); in iterate()
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 418 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture() 421 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in make_vk_backend_texture()
|
/external/skqp/src/gpu/ |
D | GrAHardwareBufferImageGenerator.cpp | 266 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/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 748 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in getMemoryTypeNdx() local 760 return selectMatchingMemoryType(memoryProperties, memReqs.memoryTypeBits, MemoryRequirement::Any); in getMemoryTypeNdx() 767 …const VkPhysicalDeviceMemoryProperties memoryProperties = getPhysicalDeviceMemoryProperties(vki, p… in getMaxDeviceHeapSize() local 770 return memoryProperties.memoryHeaps[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].size; in getMaxDeviceHeapSize()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 280 VkPhysicalDeviceMemoryProperties memoryProperties; in init() local 281 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init() 368 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init() 500 const VkPhysicalDeviceMemoryProperties& memoryProperties, in initGrCaps() argument
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktTestCase.cpp | 390 …const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(de… in createAllocator() local 393 return new SimpleAllocator(device->getDeviceInterface(), device->getDevice(), memoryProperties); in createAllocator()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_legacy.c | 61 *props = props2.memoryProperties; in tu_GetPhysicalDeviceMemoryProperties()
|
/external/swiftshader/src/Vulkan/ |
D | libVulkan.cpp | 1034 const VkPhysicalDeviceMemoryProperties &memoryProperties = in vkGetMemoryFdPropertiesKHR() local 1038 pMemoryFdProperties->memoryTypeBits = (1U << memoryProperties.memoryTypeCount) - 1U; in vkGetMemoryFdPropertiesKHR() 1126 const auto &memoryProperties = vk::Cast(pDevice)->getPhysicalDevice()->getMemoryProperties(); in vkGetDeviceMemoryCommitment() local 1128 ASSERT(typeIndex < memoryProperties.memoryTypeCount); in vkGetDeviceMemoryCommitment() 1129 …ASSERT(memoryProperties.memoryTypes[typeIndex].propertyFlags & VK_MEMORY_PROPERTY_LAZILY_ALLOCATED… in vkGetDeviceMemoryCommitment() 3072 vkGetPhysicalDeviceMemoryProperties(physicalDevice, &(pMemoryProperties->memoryProperties)); in vkGetPhysicalDeviceMemoryProperties2()
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 740 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer() 743 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()
|
/external/skia/tests/ |
D | VkHardwareBufferTest.cpp | 730 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer() 733 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_device.c | 642 &pMemoryProperties->memoryProperties); in lvp_GetPhysicalDeviceMemoryProperties2()
|