dzn: Add dummy {Create,Destroy}SamplerYcbcrConversion() implementations
We don't support Ycbcr sampler conversion. Add dummy implementations to make us Vulkan 1.1 compliant. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
This commit is contained in:

committed by
Marge Bot

parent
439b1fc8e8
commit
8c23d9db0b
@@ -2822,3 +2822,21 @@ dzn_GetImageSparseMemoryRequirements2(VkDevice device,
|
||||
{
|
||||
*pSparseMemoryRequirementCount = 0;
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL
|
||||
dzn_CreateSamplerYcbcrConversion(VkDevice device,
|
||||
const VkSamplerYcbcrConversionCreateInfo *pCreateInfo,
|
||||
const VkAllocationCallbacks *pAllocator,
|
||||
VkSamplerYcbcrConversion *pYcbcrConversion)
|
||||
{
|
||||
unreachable("Ycbcr sampler conversion is not supported");
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL
|
||||
dzn_DestroySamplerYcbcrConversion(VkDevice device,
|
||||
VkSamplerYcbcrConversion YcbcrConversion,
|
||||
const VkAllocationCallbacks *pAllocator)
|
||||
{
|
||||
unreachable("Ycbcr sampler conversion is not supported");
|
||||
}
|
||||
|
Reference in New Issue
Block a user