mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
anv/format: handle video extensions structs by ignoring them
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20782>
This commit is contained in:
parent
9361481780
commit
3b110efccb
1 changed files with 6 additions and 0 deletions
|
|
@ -974,6 +974,9 @@ void anv_GetPhysicalDeviceFormatProperties2(
|
|||
props->bufferFeatures = buffer2;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
|
||||
/* don't have any thing to use this for yet */
|
||||
break;
|
||||
default:
|
||||
anv_debug_ignored_stype(ext->sType);
|
||||
break;
|
||||
|
|
@ -1394,6 +1397,9 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2(
|
|||
case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA:
|
||||
from_wsi = true;
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
|
||||
/* Ignore but don't warn */
|
||||
break;
|
||||
default:
|
||||
anv_debug_ignored_stype(s->sType);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue