Home
last modified time | relevance | path

Searched refs:propertyFlags (Results 1 – 25 of 74) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceMemoryAllocatorVk.cpp245 (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/
DvktMemoryAllocationTests.cpp319 …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()
DvktMemoryRequirementsTests.cpp471 …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/
DVK_NV_external_memory_rdma.txt36 …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/
Danv_device.c459 .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/
DvktApiGetMemoryCommitment.cpp63 if ((pMemoryProperties.memoryTypes[typeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndices()
478 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
DvktApiMemoryRequirementInvarianceTests.cpp547 if (legalMemoryTypes[j].matchesHeap(memProperties.memoryTypes[i].propertyFlags)) in iterate()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c35 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()
Dvn_feedback.c29 if ((mem_props->memoryTypes[mem_type_index].propertyFlags & in vn_get_memory_type_index()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp89 …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/
Ddzn_device.c463 .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/
Dvkdeviceprovider.c185 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/
DUtil.cpp28 if((deviceMemoryProperties.memoryTypes[i].propertyFlags & properties) == properties) in getMemoryTypeIndex()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkmemory.c240 propertyFlags & properties) == properties) { in gst_vulkan_memory_find_memory_type_index_with_type_properties()
Dgstvkphysicaldevice.c492 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/
Dvk_utils.cpp70 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/
DDevice.cpp346 if((flags & properties.memoryTypes[type].propertyFlags) == 0) in AllocateMemory()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp429 pProperties->memoryTypeBits = phyDeviceMemProps.memoryTypes[0].propertyFlags; in GetAndroidHardwareBufferProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp328 …(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/
Dwsi_common.c1298 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/
DGrAHardwareBufferUtils.cpp425 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c147 bool is_local = !!(device->physical_device->memory_properties.memoryTypes[i].propertyFlags & in radv_image_from_gralloc()
Dradv_device.c248 .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/
Dvulkan.c121 if ((mprops.memoryTypes[i].propertyFlags & req_flags) != req_flags) in vk_alloc_mem()
145 *mem_flags |= mprops.memoryTypes[index].propertyFlags; in vk_alloc_mem()

123