mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
nvk: Stop printing errors for invalid dma-buf image queries
This warning message has been annoying people for a long time. Let's just get rid of it. I don't think it's really helping anyone with anything and it's just burning logging space. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34853>
This commit is contained in:
parent
63557a03df
commit
5d72ebf3e7
1 changed files with 6 additions and 6 deletions
|
|
@ -543,12 +543,12 @@ nvk_GetPhysicalDeviceImageFormatProperties2(
|
|||
break;
|
||||
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT:
|
||||
if (!tiling_has_explicit_layout) {
|
||||
return vk_errorf(pdev, VK_ERROR_FORMAT_NOT_SUPPORTED,
|
||||
"VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT "
|
||||
"requires VK_IMAGE_TILING_LINEAR or "
|
||||
"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT");
|
||||
}
|
||||
/* VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT requires
|
||||
* VK_IMAGE_TILING_LINEAR or VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT
|
||||
*/
|
||||
if (!tiling_has_explicit_layout)
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
ext_mem_props = &nvk_dma_buf_mem_props;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue