Enabled VK_KHR_get_physical_device_properties2

Fixes validation messages
This commit is contained in:
Sascha Willems 2023-11-02 19:57:56 +01:00
parent be035bf268
commit 409961b9c2

View file

@ -77,6 +77,7 @@ public:
camera.setRotation(glm::vec3(-25.0f, 15.0f, 0.0f)); camera.setRotation(glm::vec3(-25.0f, 15.0f, 0.0f));
camera.setRotationSpeed(0.5f); camera.setRotationSpeed(0.5f);
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 256.0f); camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 256.0f);
enabledInstanceExtensions.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
} }
~VulkanExample() ~VulkanExample()