panvk: Implement VkSubpassResolvePerformanceQueryEXT

Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38825>
This commit is contained in:
Christoph Pillmayer
2025-12-05 09:29:51 +00:00
committed by Marge Bot
parent 5d2e297556
commit b6cadef428

View File

@@ -932,6 +932,13 @@ panvk_GetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice,
}
}
}
VkSubpassResolvePerformanceQueryEXT *subpass_resolve_perf = vk_find_struct(
pFormatProperties->pNext, SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT);
if (subpass_resolve_perf) {
/* We always resolve in a separate command instead of in HW atm. */
subpass_resolve_perf->optimal = VK_FALSE;
}
}
#define MAX_IMAGE_SIZE_PX (1 << 16)