Skip to content

Commit

Permalink
Set VkApplicationInfo.pEngineName to Filament (#7756)
Browse files Browse the repository at this point in the history
Setting the pEngineName helps with the collection of metrics and is generally good practice.
  • Loading branch information
tomnomgoogleuk committed Apr 15, 2024
1 parent 9e0e326 commit 8955a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filament/backend/src/vulkan/platform/VulkanPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8955a61

Please sign in to comment.