mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
panvk: implement vkGetBufferDeviceAddress
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27209>
This commit is contained in:
parent
2e38024fd8
commit
2d614b5550
1 changed files with 8 additions and 0 deletions
|
|
@ -1388,6 +1388,14 @@ panvk_InvalidateMappedMemoryRanges(VkDevice _device, uint32_t memoryRangeCount,
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
VkDeviceAddress
|
||||
panvk_GetBufferDeviceAddress(VkDevice _device, VkBufferDeviceAddressInfo *pInfo)
|
||||
{
|
||||
VK_FROM_HANDLE(panvk_buffer, buffer, pInfo->buffer);
|
||||
|
||||
return buffer->dev_addr;
|
||||
}
|
||||
|
||||
void
|
||||
panvk_GetBufferMemoryRequirements2(VkDevice device,
|
||||
const VkBufferMemoryRequirementsInfo2 *pInfo,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue