mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 22:40:46 +02:00
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:
parent
5d2e297556
commit
b6cadef428
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue