nvk: Don't exnore ExternalImageFormatInfo

Fixes: 702326d013 ("nvk: Add external memory queries")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27242>
(cherry picked from commit 58e916b3b7e0328e43d914f8a3d6d0906210ac97)
This commit is contained in:
Faith Ekstrand 2024-01-24 10:06:52 -06:00 committed by Eric Engestrom
parent aba20a934d
commit 09bace40bf
2 changed files with 2 additions and 2 deletions

View file

@ -1814,7 +1814,7 @@
"description": "nvk: Don't exnore ExternalImageFormatInfo",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "702326d0138fd7bc1bd032678998b5909951a62c",
"notes": null

View file

@ -189,7 +189,7 @@ nvk_GetPhysicalDeviceImageFormatProperties2(
{
VK_FROM_HANDLE(nvk_physical_device, pdev, physicalDevice);
const VkPhysicalDeviceExternalImageFormatInfo *external_info = NULL;
const VkPhysicalDeviceExternalImageFormatInfo *external_info =
vk_find_struct_const(pImageFormatInfo->pNext,
PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO);