Home
last modified time | relevance | path

Searched refs:pMemoryRequirements (Results 1 – 25 of 62) sorted by relevance

123

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_buffer.h555 …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 …]
Dvn_protocol_driver_image.h1181 …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/
Dlvp_device.c1818 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/
DVkPromotedExtensions.cpp118 …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()
DlibVulkan.cpp1311 …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/
Dvertex_buffer_test.cc77 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/
Dtu_image.c680 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()
Dtu_device.c2423 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/
Dvn_buffer.c431 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()
Dvn_image.c373 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/
Dpanvk_device.c1277 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/
Dvk_device.c405 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/
DvkDeviceDriverImpl.inl72 …oryRequirements (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const
74 m_vk.getBufferMemoryRequirements(device, buffer, pMemoryRequirements);
82 …emoryRequirements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const
84 m_vk.getImageMemoryRequirements(device, image, pMemoryRequirements);
737 …GeneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) const
739 m_vk.getGeneratedCommandsMemoryRequirementsNV(device, pInfo, pMemoryRequirements);
962 …ce, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const
964 m_vk.getBufferMemoryRequirements2(device, pInfo, pMemoryRequirements);
967 …ice, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const
969 m_vk.getImageMemoryRequirements2(device, pInfo, pMemoryRequirements);
[all …]
DvkConcreteDeviceInterface.inl19 …rements (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const;
21 …uirements (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const;
152 …eneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
197 …e, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
198 …ce, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
200 …, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
201 …e, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) const;
262 …tionStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) const;
397 …int32_t* pMemoryRequirementsCount, VkVideoSessionMemoryRequirementsKHR* pMemoryRequirements) const;
DvkVirtualDeviceInterface.inl19 …nts (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) const = 0;
21 …ments (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) const = 0;
152 …atedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
197 …onst VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
198 …const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
200 …nst VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
201 …onst VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) const = 0;
262 …StructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) const = 0;
397 …2_t* pMemoryRequirementsCount, VkVideoSessionMemoryRequirementsKHR* pMemoryRequirements) const = 0;
DvkFunctionPointerTypes.inl35 …ementsFunc) (VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements);
37 …irementsFunc) (VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements);
201 …st VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements);
294 … device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements);
295 … device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements);
296 …e device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements);
297 …e device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements);
300 …device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);
301 …device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);
302 … device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c2713 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/
Ddzn_image.c734 VkMemoryRequirements2 *pMemoryRequirements) in dzn_GetImageMemoryRequirements2() argument
745 vk_foreach_struct(ext, pMemoryRequirements->pNext) { in dzn_GetImageMemoryRequirements2()
764 pMemoryRequirements->memoryRequirements = (VkMemoryRequirements) { in dzn_GetImageMemoryRequirements2()
780pMemoryRequirements->memoryRequirements.size < D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT) in dzn_GetImageMemoryRequirements2()
781pMemoryRequirements->memoryRequirements.size = D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT; in dzn_GetImageMemoryRequirements2()
/third_party/vulkan-loader/loader/
Dtrampoline.c1109 … 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/
Danv_image.c1708 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()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c5704 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 …]
Dradv_device_generated_commands.c1096 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/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c2450 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()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_dedicated_allocation.adoc32 structure passed as the pname:pMemoryRequirements parameter of a call to
DVK_KHR_dedicated_allocation.txt32 structure passed as the pname:pMemoryRequirements parameter of a call to

123