tu: Add VK_KHR_buffer_device_address stubs

dEQP-VK.api.version_check.entry_points requires us to return a function
pointer, even though the feature is optional in Vulkan 1.2.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13756>
This commit is contained in:
Connor Abbott 2021-11-11 15:15:49 +01:00 committed by Marge Bot
parent 952ab4f64f
commit c6216c941c

View File

@ -2569,3 +2569,27 @@ tu_GetPhysicalDeviceMultisamplePropertiesEXT(
else
pMultisampleProperties->maxSampleLocationGridSize = (VkExtent2D){ 0, 0 };
}
VkDeviceAddress
tu_GetBufferDeviceAddress(VkDevice _device,
const VkBufferDeviceAddressInfoKHR* pInfo)
{
tu_stub();
return 0;
}
uint64_t tu_GetBufferOpaqueCaptureAddress(
VkDevice device,
const VkBufferDeviceAddressInfoKHR* pInfo)
{
tu_stub();
return 0;
}
uint64_t tu_GetDeviceMemoryOpaqueCaptureAddress(
VkDevice device,
const VkDeviceMemoryOpaqueCaptureAddressInfoKHR* pInfo)
{
tu_stub();
return 0;
}