/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 245 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) { in FindBestTypeIndex() 251 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) == 0) { in FindBestTypeIndex() 263 info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in FindBestTypeIndex() 265 info.memoryTypes[bestType].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in FindBestTypeIndex()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryAllocationTests.cpp | 319 …if ((m_memoryProperties.memoryTypes[m_memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate() 385 if ((memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in iterate() 422 …if (res == VK_ERROR_OUT_OF_DEVICE_MEMORY && memoryType.propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate() 544 VkMemoryPropertyFlags propertyFlags; in iterate() member 716 const bool isProtected = memoryType.type.propertyFlags & VK_MEMORY_PROPERTY_PROTECTED_BIT; in iterate() 738 memoryType.type.propertyFlags in iterate() 791 if (memoryObject.propertyFlags & VK_MEMORY_PROPERTY_PROTECTED_BIT) in iterate() 794 memoryObject.propertyFlags = (VkMemoryPropertyFlags)0; in iterate()
|
D | vktMemoryRequirementsTests.cpp | 471 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements() 964 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements() 2010 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages() local 2012 if (propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) in testMultiplaneImages() 2015 if (propertyFlags & VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT) in testMultiplaneImages() 2129 if (memoryProperties.memoryTypes[ndx].propertyFlags == flag) matchingTypes++; in testVkMemoryPropertyFlags()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_NV_external_memory_rdma.txt | 36 …if (memoryProperties2.memoryProperties.memoryTypes[memoryType].propertyFlags & VK_MEMORY_PROPERTY_… 75 (memoryProperties.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV)) {
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 459 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in anv_physical_device_init_heaps() 463 .propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in anv_physical_device_init_heaps() 469 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in anv_physical_device_init_heaps() 491 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in anv_physical_device_init_heaps() 512 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in anv_physical_device_init_heaps() 518 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in anv_physical_device_init_heaps() 527 VkMemoryPropertyFlags props = device->memory.types[i].propertyFlags; in anv_physical_device_init_heaps() 2740 .propertyFlags = physical_device->memory.types[i].propertyFlags, in anv_GetPhysicalDeviceMemoryProperties() 3883 (mem_type->propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) && in anv_AllocateMemory() 3884 (mem_type->propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)) in anv_AllocateMemory() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiGetMemoryCommitment.cpp | 63 if ((pMemoryProperties.memoryTypes[typeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndices() 478 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
|
D | vktApiMemoryRequirementInvarianceTests.cpp | 547 if (legalMemoryTypes[j].matchesHeap(memProperties.memoryTypes[i].propertyFlags)) in iterate()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 35 mem_props->memoryTypes[mem_type_index].propertyFlags; in vn_device_memory_pool_grow_alloc() 254 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 416 mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex].propertyFlags; in vn_AllocateMemory()
|
D | vn_feedback.c | 29 if ((mem_props->memoryTypes[mem_type_index].propertyFlags & in vn_get_memory_type_index()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 89 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory() 365 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_device.c | 463 .propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in dzn_physical_device_init_memory() 468 .propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in dzn_physical_device_init_memory() 480 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in dzn_physical_device_init_memory() 485 mem->memoryTypes[0].propertyFlags |= VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in dzn_physical_device_init_memory() 486 mem->memoryTypes[1].propertyFlags |= VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in dzn_physical_device_init_memory() 2313 ((mem_type->propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) && in dzn_device_memory_create() 2316 if (mem_type->propertyFlags & VK_MEMORY_PROPERTY_HOST_CACHED_BIT) { in dzn_device_memory_create() 2318 } else if (mem_type->propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in dzn_device_memory_create() 2331 if ((mem_type->propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in dzn_device_memory_create()
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vkdeviceprovider.c | 185 memoryTypes[i].propertyFlags); in fill_properties() 195 (guint) device->memory_properties.memoryTypes[i].propertyFlags, NULL); in fill_properties()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Util.cpp | 28 if((deviceMemoryProperties.memoryTypes[i].propertyFlags & properties) == properties) in getMemoryTypeIndex()
|
/third_party/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkmemory.c | 240 propertyFlags & properties) == properties) { in gst_vulkan_memory_find_memory_type_index_with_type_properties()
|
D | gstvkphysicaldevice.c | 492 memoryTypes[i].propertyFlags); in dump_memory_properties() 497 device->memory_properties.memoryTypes[i].propertyFlags, prop_flags_str); in dump_memory_properties()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 70 if ((memoryProperties.memoryTypes[memoryIndex].propertyFlags & in FindCompatibleMemory() 73 *memoryPropertyFlagsOut = memoryProperties.memoryTypes[memoryIndex].propertyFlags; in FindCompatibleMemory() 413 if ((memoryType.propertyFlags & VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT) != 0) in hasLazilyAllocatedMemory()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
D | Device.cpp | 346 if((flags & properties.memoryTypes[type].propertyFlags) == 0) in AllocateMemory()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDeviceMemoryExternalAndroid.cpp | 429 pProperties->memoryTypeBits = phyDeviceMemProps.memoryTypes[0].propertyFlags; in GetAndroidHardwareBufferProperties()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 328 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases() 367 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases() 442 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 1298 common_props &= type.propertyFlags; in wsi_select_memory_type() 1300 if (deny_props & type.propertyFlags) in wsi_select_memory_type() 1303 if (!(req_props & ~type.propertyFlags)) in wsi_select_memory_type()
|
/third_party/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 425 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 147 bool is_local = !!(device->physical_device->memory_properties.memoryTypes[i].propertyFlags & in radv_image_from_gralloc()
|
D | radv_device.c | 248 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in radv_physical_device_init_mem_types() 255 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in radv_physical_device_init_mem_types() 264 .propertyFlags = in radv_physical_device_init_mem_types() 273 .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in radv_physical_device_init_mem_types() 284 .propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in radv_physical_device_init_mem_types() 295 if (((mem_type.propertyFlags & in radv_physical_device_init_mem_types() 297 mem_type.propertyFlags == VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) && in radv_physical_device_init_mem_types() 300 VkMemoryPropertyFlags property_flags = mem_type.propertyFlags | in radv_physical_device_init_mem_types() 307 .propertyFlags = property_flags, in radv_physical_device_init_mem_types()
|
/third_party/ffmpeg/libavfilter/ |
D | vulkan.c | 121 if ((mprops.memoryTypes[i].propertyFlags & req_flags) != req_flags) in vk_alloc_mem() 145 *mem_flags |= mprops.memoryTypes[index].propertyFlags; in vk_alloc_mem()
|