/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_buffer.h | 555 …fferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) in vn_sizeof_vkGetBufferMemoryRequirements() argument 563 cmd_size += vn_sizeof_simple_pointer(pMemoryRequirements); in vn_sizeof_vkGetBufferMemoryRequirements() 564 if (pMemoryRequirements) in vn_sizeof_vkGetBufferMemoryRequirements() 565 cmd_size += vn_sizeof_VkMemoryRequirements_partial(pMemoryRequirements); in vn_sizeof_vkGetBufferMemoryRequirements() 570 …andFlagsEXT cmd_flags, VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) in vn_encode_vkGetBufferMemoryRequirements() argument 579 if (vn_encode_simple_pointer(enc, pMemoryRequirements)) in vn_encode_vkGetBufferMemoryRequirements() 580 vn_encode_VkMemoryRequirements_partial(enc, pMemoryRequirements); in vn_encode_vkGetBufferMemoryRequirements() 583 …moryRequirements_reply(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) in vn_sizeof_vkGetBufferMemoryRequirements_reply() argument 590 cmd_size += vn_sizeof_simple_pointer(pMemoryRequirements); in vn_sizeof_vkGetBufferMemoryRequirements_reply() 591 if (pMemoryRequirements) in vn_sizeof_vkGetBufferMemoryRequirements_reply() [all …]
|
D | vn_protocol_driver_image.h | 1181 …tImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) in vn_sizeof_vkGetImageMemoryRequirements() argument 1189 cmd_size += vn_sizeof_simple_pointer(pMemoryRequirements); in vn_sizeof_vkGetImageMemoryRequirements() 1190 if (pMemoryRequirements) in vn_sizeof_vkGetImageMemoryRequirements() 1191 cmd_size += vn_sizeof_VkMemoryRequirements_partial(pMemoryRequirements); in vn_sizeof_vkGetImageMemoryRequirements() 1196 …mmandFlagsEXT cmd_flags, VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) in vn_encode_vkGetImageMemoryRequirements() argument 1205 if (vn_encode_simple_pointer(enc, pMemoryRequirements)) in vn_encode_vkGetImageMemoryRequirements() 1206 vn_encode_VkMemoryRequirements_partial(enc, pMemoryRequirements); in vn_encode_vkGetImageMemoryRequirements() 1209 …MemoryRequirements_reply(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) in vn_sizeof_vkGetImageMemoryRequirements_reply() argument 1216 cmd_size += vn_sizeof_simple_pointer(pMemoryRequirements); in vn_sizeof_vkGetImageMemoryRequirements_reply() 1217 if (pMemoryRequirements) in vn_sizeof_vkGetImageMemoryRequirements_reply() [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_device.c | 1818 VkMemoryRequirements2* pMemoryRequirements) in lvp_GetDeviceBufferMemoryRequirements() argument 1820 pMemoryRequirements->memoryRequirements.memoryTypeBits = 1; in lvp_GetDeviceBufferMemoryRequirements() 1821 pMemoryRequirements->memoryRequirements.alignment = 64; in lvp_GetDeviceBufferMemoryRequirements() 1822 pMemoryRequirements->memoryRequirements.size = 0; in lvp_GetDeviceBufferMemoryRequirements() 1828 pMemoryRequirements->memoryRequirements.size = buffer->total_size; in lvp_GetDeviceBufferMemoryRequirements() 1844 VkMemoryRequirements2* pMemoryRequirements) in lvp_GetDeviceImageMemoryRequirements() argument 1846 pMemoryRequirements->memoryRequirements.memoryTypeBits = 1; in lvp_GetDeviceImageMemoryRequirements() 1847 pMemoryRequirements->memoryRequirements.alignment = 0; in lvp_GetDeviceImageMemoryRequirements() 1848 pMemoryRequirements->memoryRequirements.size = 0; in lvp_GetDeviceImageMemoryRequirements() 1854 pMemoryRequirements->memoryRequirements.size = image->size; in lvp_GetDeviceImageMemoryRequirements() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkPromotedExtensions.cpp | 118 …ce device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) in vkGetImageMemoryRequirements2KHR() argument 120 vkGetImageMemoryRequirements2(device, pInfo, pMemoryRequirements); in vkGetImageMemoryRequirements2KHR() 123 …e device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) in vkGetBufferMemoryRequirements2KHR() argument 125 vkGetBufferMemoryRequirements2(device, pInfo, pMemoryRequirements); in vkGetBufferMemoryRequirements2KHR()
|
D | libVulkan.cpp | 1311 …fferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *pMemoryRequirements) in vkGetBufferMemoryRequirements() argument 1314 device, static_cast<void *>(buffer), pMemoryRequirements); in vkGetBufferMemoryRequirements() 1316 *pMemoryRequirements = vk::Cast(buffer)->getMemoryRequirements(); in vkGetBufferMemoryRequirements() 1319 …tImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements *pMemoryRequirements) in vkGetImageMemoryRequirements() argument 1322 device, static_cast<void *>(image), pMemoryRequirements); in vkGetImageMemoryRequirements() 1324 *pMemoryRequirements = vk::Cast(image)->getMemoryRequirements(); in vkGetImageMemoryRequirements() 3083 …ce device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) in vkGetImageMemoryRequirements2() argument 3086 device, pInfo, pMemoryRequirements); in vkGetImageMemoryRequirements2() 3095 …ucture *extensionRequirements = reinterpret_cast<VkBaseOutStructure *>(pMemoryRequirements->pNext); in vkGetImageMemoryRequirements2() 3121 vkGetImageMemoryRequirements(device, pInfo->image, &(pMemoryRequirements->memoryRequirements)); in vkGetImageMemoryRequirements2() [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | vertex_buffer_test.cc | 77 VkMemoryRequirements* pMemoryRequirements) { in vkGetBufferMemoryRequirements() argument 78 pMemoryRequirements->alignment = 0; in vkGetBufferMemoryRequirements() 79 pMemoryRequirements->size = 0; in vkGetBufferMemoryRequirements() 80 pMemoryRequirements->memoryTypeBits = 0xffffffff; in vkGetBufferMemoryRequirements()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 680 VkMemoryRequirements2 *pMemoryRequirements) in tu_get_image_memory_requirements() argument 682 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in tu_get_image_memory_requirements() 688 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in tu_get_image_memory_requirements() 707 VkMemoryRequirements2 *pMemoryRequirements) in tu_GetImageMemoryRequirements2() argument 711 tu_get_image_memory_requirements(image, pMemoryRequirements); in tu_GetImageMemoryRequirements2() 728 VkMemoryRequirements2 *pMemoryRequirements) in tu_GetDeviceImageMemoryRequirements() argument 737 tu_get_image_memory_requirements(&image, pMemoryRequirements); in tu_GetDeviceImageMemoryRequirements()
|
D | tu_device.c | 2423 VkMemoryRequirements2 *pMemoryRequirements) in tu_get_buffer_memory_requirements() argument 2425 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in tu_get_buffer_memory_requirements() 2431 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in tu_get_buffer_memory_requirements() 2450 VkMemoryRequirements2 *pMemoryRequirements) in tu_GetBufferMemoryRequirements2() argument 2454 tu_get_buffer_memory_requirements(buffer->size, pMemoryRequirements); in tu_GetBufferMemoryRequirements2() 2461 VkMemoryRequirements2 *pMemoryRequirements) in tu_GetDeviceBufferMemoryRequirements() argument 2463 tu_get_buffer_memory_requirements(pInfo->pCreateInfo->size, pMemoryRequirements); in tu_GetDeviceBufferMemoryRequirements()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_buffer.c | 431 VkMemoryRequirements2 *pMemoryRequirements) in vn_GetBufferMemoryRequirements2() argument 438 } u = { .two = pMemoryRequirements }; in vn_GetBufferMemoryRequirements2() 551 VkMemoryRequirements2 *pMemoryRequirements) in vn_GetDeviceBufferMemoryRequirements() argument 557 pMemoryRequirements); in vn_GetDeviceBufferMemoryRequirements()
|
D | vn_image.c | 373 VkMemoryRequirements2 *pMemoryRequirements) in vn_GetImageMemoryRequirements2() argument 380 } u = { .two = pMemoryRequirements }; in vn_GetImageMemoryRequirements2() 756 VkMemoryRequirements2 *pMemoryRequirements) in vn_GetDeviceImageMemoryRequirements() argument 762 pMemoryRequirements); in vn_GetDeviceImageMemoryRequirements()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_device.c | 1277 VkMemoryRequirements2 *pMemoryRequirements) in panvk_GetBufferMemoryRequirements2() argument 1284 pMemoryRequirements->memoryRequirements.memoryTypeBits = 1; in panvk_GetBufferMemoryRequirements2() 1285 pMemoryRequirements->memoryRequirements.alignment = align; in panvk_GetBufferMemoryRequirements2() 1286 pMemoryRequirements->memoryRequirements.size = size; in panvk_GetBufferMemoryRequirements2() 1292 VkMemoryRequirements2 *pMemoryRequirements) in panvk_GetImageMemoryRequirements2() argument 1299 pMemoryRequirements->memoryRequirements.memoryTypeBits = 1; in panvk_GetImageMemoryRequirements2() 1300 pMemoryRequirements->memoryRequirements.alignment = align; in panvk_GetImageMemoryRequirements2() 1301 pMemoryRequirements->memoryRequirements.size = size; in panvk_GetImageMemoryRequirements2()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_device.c | 405 VkMemoryRequirements *pMemoryRequirements) in vk_common_GetBufferMemoryRequirements() argument 418 *pMemoryRequirements = reqs.memoryRequirements; in vk_common_GetBufferMemoryRequirements() 442 VkMemoryRequirements *pMemoryRequirements) in vk_common_GetImageMemoryRequirements() argument 455 *pMemoryRequirements = reqs.memoryRequirements; in vk_common_GetImageMemoryRequirements()
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkDeviceDriverImpl.inl | 80 …oryRequirements (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const 82 m_vk.getBufferMemoryRequirements(device, buffer, pMemoryRequirements); 85 …emoryRequirements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const 87 m_vk.getImageMemoryRequirements(device, image, pMemoryRequirements); 635 …ice, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const 637 m_vk.getImageMemoryRequirements2(device, pInfo, pMemoryRequirements); 640 …ce, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const 642 m_vk.getBufferMemoryRequirements2(device, pInfo, pMemoryRequirements); 985 …const VkDeviceBufferMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements) const 987 m_vk.getDeviceBufferMemoryRequirementsKHR(device, pInfo, pMemoryRequirements); [all …]
|
D | vkConcreteDeviceInterface.inl | 19 …uirements (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const; 20 …equirements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const; 130 …ce, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const; 131 …e, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const; 200 …onst VkDeviceBufferMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements) const; 201 …const VkDeviceImageMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements) const; 254 …tionStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) const; 298 …eneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
|
D | vkVirtualDeviceInterface.inl | 19 …ments (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const = 0; 20 …rements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const = 0; 130 …const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0; 131 …onst VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0; 200 … VkDeviceBufferMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0; 201 …t VkDeviceImageMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0; 254 …StructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) const = 0; 298 …atedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
|
D | vkFunctionPointerTypes.inl | 34 …ementsFunc) (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements); 35 …irementsFunc) (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements); 148 …e device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements); 149 … device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements); 247 …e device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements); 248 … device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements); 288 …ice, const VkDeviceBufferMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements); 289 …vice, const VkDeviceImageMemoryRequirementsKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements); 352 …celerationStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements); 402 …st VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements);
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_device.c | 2713 VkMemoryRequirements2 *pMemoryRequirements) in pvr_GetBufferMemoryRequirements2() argument 2727 pMemoryRequirements->memoryRequirements.memoryTypeBits = in pvr_GetBufferMemoryRequirements2() 2730 pMemoryRequirements->memoryRequirements.alignment = buffer->alignment; in pvr_GetBufferMemoryRequirements2() 2731 pMemoryRequirements->memoryRequirements.size = in pvr_GetBufferMemoryRequirements2() 2737 VkMemoryRequirements2 *pMemoryRequirements) in pvr_GetImageMemoryRequirements2() argument 2765 pMemoryRequirements->memoryRequirements.alignment = image->alignment; in pvr_GetImageMemoryRequirements2() 2766 pMemoryRequirements->memoryRequirements.size = in pvr_GetImageMemoryRequirements2() 2768 pMemoryRequirements->memoryRequirements.memoryTypeBits = memory_types; in pvr_GetImageMemoryRequirements2()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_image.c | 734 VkMemoryRequirements2 *pMemoryRequirements) in dzn_GetImageMemoryRequirements2() argument 745 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in dzn_GetImageMemoryRequirements2() 764 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in dzn_GetImageMemoryRequirements2() 780 … pMemoryRequirements->memoryRequirements.size < D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT) in dzn_GetImageMemoryRequirements2() 781 … pMemoryRequirements->memoryRequirements.size = D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT; in dzn_GetImageMemoryRequirements2()
|
/third_party/vulkan-loader/loader/ |
D | trampoline.c | 1109 … VkMemoryRequirements *pMemoryRequirements) { in vkGetBufferMemoryRequirements() argument 1117 disp->GetBufferMemoryRequirements(device, buffer, pMemoryRequirements); in vkGetBufferMemoryRequirements() 1121 … VkMemoryRequirements *pMemoryRequirements) { in vkGetImageMemoryRequirements() argument 1129 disp->GetImageMemoryRequirements(device, image, pMemoryRequirements); in vkGetImageMemoryRequirements() 2745 … VkMemoryRequirements2 *pMemoryRequirements) { in vkGetImageMemoryRequirements2() argument 2752 disp->GetImageMemoryRequirements2(device, pInfo, pMemoryRequirements); in vkGetImageMemoryRequirements2() 2757 … VkMemoryRequirements2 *pMemoryRequirements) { in vkGetBufferMemoryRequirements2() argument 2764 disp->GetBufferMemoryRequirements2(device, pInfo, pMemoryRequirements); in vkGetBufferMemoryRequirements2() 3217 … VkMemoryRequirements2 *pMemoryRequirements) { in vkGetDeviceBufferMemoryRequirements() argument 3219 disp->GetDeviceBufferMemoryRequirements(device, pInfo, pMemoryRequirements); in vkGetDeviceBufferMemoryRequirements() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 1708 VkMemoryRequirements2 *pMemoryRequirements) in anv_image_get_memory_requirements() argument 1721 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in anv_image_get_memory_requirements() 1766 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in anv_image_get_memory_requirements() 1776 VkMemoryRequirements2* pMemoryRequirements) in anv_GetImageMemoryRequirements2() argument 1800 pMemoryRequirements); in anv_GetImageMemoryRequirements2() 1806 VkMemoryRequirements2* pMemoryRequirements) in anv_GetDeviceImageMemoryRequirementsKHR() argument 1819 pMemoryRequirements); in anv_GetDeviceImageMemoryRequirementsKHR()
|
D | anv_device.c | 4435 VkMemoryRequirements2* pMemoryRequirements) in anv_get_buffer_memory_requirements() argument 4452 pMemoryRequirements->memoryRequirements.size = size; in anv_get_buffer_memory_requirements() 4453 pMemoryRequirements->memoryRequirements.alignment = alignment; in anv_get_buffer_memory_requirements() 4463 pMemoryRequirements->memoryRequirements.size = align_u64(size, 4); in anv_get_buffer_memory_requirements() 4465 pMemoryRequirements->memoryRequirements.memoryTypeBits = memory_types; in anv_get_buffer_memory_requirements() 4467 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in anv_get_buffer_memory_requirements() 4486 VkMemoryRequirements2* pMemoryRequirements) in anv_GetBufferMemoryRequirements2() argument 4494 pMemoryRequirements); in anv_GetBufferMemoryRequirements2() 4500 VkMemoryRequirements2* pMemoryRequirements) in anv_GetDeviceBufferMemoryRequirementsKHR() argument 4507 pMemoryRequirements); in anv_GetDeviceBufferMemoryRequirementsKHR()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 5704 VkMemoryRequirements2 *pMemoryRequirements) in radv_get_buffer_memory_requirements() argument 5706 pMemoryRequirements->memoryRequirements.memoryTypeBits = in radv_get_buffer_memory_requirements() 5720 pMemoryRequirements->memoryRequirements.memoryTypeBits |= in radv_get_buffer_memory_requirements() 5724 pMemoryRequirements->memoryRequirements.alignment = 4096; in radv_get_buffer_memory_requirements() 5726 pMemoryRequirements->memoryRequirements.alignment = 16; in radv_get_buffer_memory_requirements() 5733 pMemoryRequirements->memoryRequirements.alignment = in radv_get_buffer_memory_requirements() 5734 MAX2(pMemoryRequirements->memoryRequirements.alignment, 64); in radv_get_buffer_memory_requirements() 5736 pMemoryRequirements->memoryRequirements.size = in radv_get_buffer_memory_requirements() 5737 align64(size, pMemoryRequirements->memoryRequirements.alignment); in radv_get_buffer_memory_requirements() 5739 vk_foreach_struct(ext, pMemoryRequirements->pNext) in radv_get_buffer_memory_requirements() [all …]
|
D | radv_device_generated_commands.c | 1096 VkMemoryRequirements2 *pMemoryRequirements) in radv_GetGeneratedCommandsMemoryRequirementsNV() argument 1109 pMemoryRequirements->memoryRequirements.memoryTypeBits = in radv_GetGeneratedCommandsMemoryRequirementsNV() 1111 pMemoryRequirements->memoryRequirements.alignment = 256; in radv_GetGeneratedCommandsMemoryRequirementsNV() 1112 pMemoryRequirements->memoryRequirements.size = in radv_GetGeneratedCommandsMemoryRequirementsNV() 1113 align(cmd_buf_size + upload_buf_size, pMemoryRequirements->memoryRequirements.alignment); in radv_GetGeneratedCommandsMemoryRequirementsNV()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_KHR_dedicated_allocation.txt | 32 structure passed as the pname:pMemoryRequirements parameter of a call to
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 2450 VkMemoryRequirements2 *pMemoryRequirements) in v3dv_GetImageMemoryRequirements2() argument 2454 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in v3dv_GetImageMemoryRequirements2() 2460 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in v3dv_GetImageMemoryRequirements2() 2526 VkMemoryRequirements2 *pMemoryRequirements) in v3dv_GetBufferMemoryRequirements2() argument 2530 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in v3dv_GetBufferMemoryRequirements2() 2536 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in v3dv_GetBufferMemoryRequirements2()
|