mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
hasvk/format: handle video extensions structs by ignoring them
This commit is contained in:
1 parent
40260e83cb
commit
f75fb64c41
1 file changed
+6
@@ -953,6 +953,9 @@ void anv_GetPhysicalDeviceFormatProperties2(
|
|||||||
props->bufferFeatures = buffer2;
|
props->bufferFeatures = buffer2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
|
||||||
|
/* don't have any thing to use this for yet */
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
vk_debug_ignored_stype(ext->sType);
|
vk_debug_ignored_stype(ext->sType);
|
||||||
break;
|
break;
|
||||||
@@ -1376,6 +1379,9 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2(
|
|||||||
case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA:
|
case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA:
|
||||||
from_wsi = true;
|
from_wsi = true;
|
||||||
break;
|
break;
|
||||||
|
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
|
||||||
|
/* Ignore but don't warn */
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
vk_debug_ignored_stype(s->sType);
|
vk_debug_ignored_stype(s->sType);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user