Home
last modified time | relevance | path

Searched refs:VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT (Results 1 - 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_bo.h34 #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 Dzink_resource.c637 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 DvktMemoryRequirementsTests.cpp480 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 DvktMemoryRequirementsTests.cpp481 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 DResourceMemoryAllocatorVk.cpp263 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 DvktFragmentOperationsTransientAttachmentTests.cpp68 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 DvktFragmentOperationsTransientAttachmentTests.cpp68 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 DGrVkAMDMemoryAllocator.cpp199 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 DGrVkMemory.cpp100 bool hasFound = FindMemoryType(gpu, memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, typeIndex);
H A DGrVkImage.h193 , fMemProps(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in ImageDesc()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DOverlayVk.cpp125 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in createFont()
198 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in cullWidgets()
H A DBufferVk.cpp45 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 DRenderbufferVk.cpp112 VkMemoryPropertyFlags flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in setStorageImpl()
H A DTransformFeedbackVk.cpp128 bufferHelper.init(contextVk, createInfo, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in begin()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkMemUtil.cpp147 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 DGrAHardwareBufferUtils.cpp426 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 DvktDeviceGroupRendering.cpp549 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 DvktDeviceGroupRendering.cpp549 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 Dtransfer_image.cc138 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in Initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
H A DHardwareBufferImageSiblingVkAndroid.cpp320 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in initImpl()
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common.c1307 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 Dwsi_common_drm.c301 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 DDmaBufImageSiblingVkLinux.cpp466 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | in initImpl()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_device.c480 .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 DVkHardwareBufferTest.cpp737 VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in importHardwareBuffer()
738 if (supportedFlags == VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) { in importHardwareBuffer()

Completed in 39 milliseconds

123