Merge pull request #56202 from 1ace/vk-engine-version

drivers/vulkan: set the engineVersion to Godot's version
This commit is contained in:
Rémi Verschelde 2021-12-23 21:39:14 +01:00 committed by GitHub
commit 9d02cfa6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -636,7 +636,7 @@ Error VulkanContext::_create_physical_device() {
/*pApplicationName*/ cs.get_data(),
/*applicationVersion*/ 0,
/*pEngineName*/ namecs.get_data(),
/*engineVersion*/ 0,
/*engineVersion*/ VK_MAKE_VERSION(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH),
/*apiVersion*/ VK_MAKE_VERSION(vulkan_major, vulkan_minor, 0)
};
VkInstanceCreateInfo inst_info{};