anv: silence wsi debug logging
this is triggered by mesa's own wsi handling, so stop printing nonsense Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14743>
This commit is contained in:
parent
6018d5c44a
commit
fe3984b8cd
|
@ -3653,7 +3653,11 @@ VkResult anv_AllocateMemory(
|
|||
}
|
||||
|
||||
default:
|
||||
anv_debug_ignored_stype(ext->sType);
|
||||
if (ext->sType != VK_STRUCTURE_TYPE_WSI_MEMORY_ALLOCATE_INFO_MESA)
|
||||
/* this isn't a real enum value,
|
||||
* so use conditional to avoid compiler warn
|
||||
*/
|
||||
anv_debug_ignored_stype(ext->sType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1352,7 +1352,8 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2(
|
|||
external_info = (const void *) s;
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT:
|
||||
/* anv_get_image_format_properties will handle this */
|
||||
case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR:
|
||||
/* anv_get_image_format_properties will handle these */
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT:
|
||||
/* Ignore but don't warn */
|
||||
|
|
Loading…
Reference in New Issue