From 5142af217e912ccce5808aaf2a3f97ee8551b3a4 Mon Sep 17 00:00:00 2001 From: tomnomgoogleuk Date: Mon, 15 Apr 2024 14:26:23 +0100 Subject: [PATCH] Set VkApplicationInfo.pEngineName to Filament Setting the pEngineName helps with the collection of metrics and is generally good practice. --- filament/backend/src/vulkan/platform/VulkanPlatform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/filament/backend/src/vulkan/platform/VulkanPlatform.cpp b/filament/backend/src/vulkan/platform/VulkanPlatform.cpp index ab13e8859a1..1510669b285 100644 --- a/filament/backend/src/vulkan/platform/VulkanPlatform.cpp +++ b/filament/backend/src/vulkan/platform/VulkanPlatform.cpp @@ -257,6 +257,7 @@ VkInstance createInstance(ExtensionSet const& requiredExts) { // Create the Vulkan instance. VkApplicationInfo appInfo = {}; appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; + appInfo.pEngineName = "Filament"; appInfo.apiVersion = VK_MAKE_API_VERSION(0, FVK_REQUIRED_VERSION_MAJOR, FVK_REQUIRED_VERSION_MINOR, 0); instanceCreateInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;