/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.h | 34 #define VK_VIS_VRAM (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) 35 #define VK_LAZY_VRAM (VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) 142 domains = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap() 145 domains = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap() 148 domains = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap() 171 if (domains & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in zink_heap_from_domain_flags()
|
H A D | zink_resource.c | 637 flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in resource_object_create() 639 flags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in resource_object_create() 895 flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in resource_object_create() 904 else if (!(flags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) && in resource_object_create()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 480 if (memoryPropertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in verifyMemoryRequirements() 512 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"); in verifyMemoryRequirements() 971 if (memoryPropertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in verifyMemoryRequirements() 988 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"); in verifyMemoryRequirements() 2241 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in testVkMemoryPropertyFlags() 2242 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, in testVkMemoryPropertyFlags() 2243 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, in testVkMemoryPropertyFlags() 2244 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, in testVkMemoryPropertyFlags() 2245 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, in testVkMemoryPropertyFlags() 2247 VK_MEMORY_PROPERTY_PROTECTED_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in testVkMemoryPropertyFlags() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 481 if (memoryPropertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in verifyMemoryRequirements() 513 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"); in verifyMemoryRequirements() 981 if (memoryPropertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in verifyMemoryRequirements() 998 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"); in verifyMemoryRequirements() 2119 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in testVkMemoryPropertyFlags() 2120 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, in testVkMemoryPropertyFlags() 2121 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, in testVkMemoryPropertyFlags() 2122 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, in testVkMemoryPropertyFlags() 2123 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, in testVkMemoryPropertyFlags() 2125 VK_MEMORY_PROPERTY_PROTECTED_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in testVkMemoryPropertyFlags() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | ResourceMemoryAllocatorVk.cpp | 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/fragment_ops/ |
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 68 case VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT: in memoryPropertyFlagBitToString() 69 return "VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"; in memoryPropertyFlagBitToString() 584 { "color_load_store_op_test_local_bit", TestMode::MODE_COLOR , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT}, in createTransientAttachmentTests() 585 { "depth_load_store_op_test_local_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT}, in createTransientAttachmentTests() 586 { "stencil_load_store_op_test_local_bit", TestMode::MODE_STENCIL , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT} in createTransientAttachmentTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsTransientAttachmentTests.cpp | 68 case VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT: in memoryPropertyFlagBitToString() 69 return "VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"; in memoryPropertyFlagBitToString() 583 { "color_load_store_op_test_local_bit", TestMode::MODE_COLOR , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT}, in createTransientAttachmentTests() 584 { "depth_load_store_op_test_local_bit", TestMode::MODE_DEPTH , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT}, in createTransientAttachmentTests() 585 { "stencil_load_store_op_test_local_bit", TestMode::MODE_STENCIL , VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT} in createTransientAttachmentTests()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkAMDMemoryAllocator.cpp | 199 info.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in allocateImageMemory() 271 info.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in allocateBufferMemory() 289 info.preferredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in allocateBufferMemory()
|
H A D | GrVkMemory.cpp | 100 bool hasFound = FindMemoryType(gpu, memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, typeIndex);
|
H A D | GrVkImage.h | 193 , fMemProps(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in ImageDesc()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | OverlayVk.cpp | 125 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in createFont() 198 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in cullWidgets()
|
H A D | BufferVk.cpp | 45 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in GetPreferredMemoryType() 85 (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT); in GetStorageMemoryType() 87 (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in GetStorageMemoryType()
|
H A D | RenderbufferVk.cpp | 112 VkMemoryPropertyFlags flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in setStorageImpl()
|
H A D | TransformFeedbackVk.cpp | 128 bufferHelper.init(contextVk, createInfo, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in begin()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkMemUtil.cpp | 147 if ((m_flags & FLAG_LOCAL) && !(heapFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) 155 if ((m_flags & FLAG_NON_LOCAL) && (heapFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT))
|
/third_party/skia/src/gpu/ |
H A D | GrAHardwareBufferUtils.cpp | 426 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in make_vk_backend_texture() 427 if (supportedFlags == VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) { in make_vk_backend_texture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 549 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 621 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 693 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 764 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 846 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 854 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 549 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 621 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 693 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 764 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 846 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 854 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, m_useHostMemory ? 0 : VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | transfer_image.cc | 138 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in Initialize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/ |
H A D | HardwareBufferImageSiblingVkAndroid.cpp | 320 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in initImpl()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common.c | 1307 if ((deny_props & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) && in wsi_select_memory_type() 1308 (common_props & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) { in wsi_select_memory_type() 1313 deny_props &= ~VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in wsi_select_memory_type() 1324 return wsi_select_memory_type(wsi, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in wsi_select_device_memory_type()
|
H A D | wsi_common_drm.c | 301 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in prime_select_buffer_memory_type()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/ |
H A D | DmaBufImageSiblingVkLinux.cpp | 466 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in initImpl()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_device.c | 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()
|
/third_party/skia/tests/ |
H A D | VkHardwareBufferTest.cpp | 737 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in importHardwareBuffer() 738 if (supportedFlags == VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) { in importHardwareBuffer()
|