Vulkan driver query caching

This commit is contained in:
nmzik committed 2026-07-17 18:09:20 +02:00
1 parent c7b00d666f
commit 75d20486ba
6 files changed
+168 -102

No files matched your search

@@ -1073,6 +1073,8 @@ void VulkanCreate(WindowContext* ctx) {
vkGetPhysicalDeviceProperties(ctx->graphic_ctx.physical_device,
&ctx->graphic_ctx.physical_device_properties);
vkGetPhysicalDeviceMemoryProperties(ctx->graphic_ctx.physical_device,
&ctx->graphic_ctx.physical_device_memory_properties);
const auto& device_properties = ctx->graphic_ctx.GetPhysicalDeviceProperties();
LOGF("Select device: %s\n", device_properties.deviceName);