Replace VK_VERSION_1_1 with VK_API_VERSION_1_1
VkApplicationInfo::apiVersion must be encoded as major, minor and patch version of the Vulkan API Specification: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#extendingvulkan-coreversions-versionnumbers.
This commit is contained in:
parent
a2a604be47
commit
69b92f19ef
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
VulkanExample::VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
VulkanExample::VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
title = "Variable rate shading";
|
title = "Variable rate shading";
|
||||||
apiVersion = VK_VERSION_1_1;
|
apiVersion = VK_API_VERSION_1_1;
|
||||||
camera.type = Camera::CameraType::firstperson;
|
camera.type = Camera::CameraType::firstperson;
|
||||||
camera.flipY = true;
|
camera.flipY = true;
|
||||||
camera.setPosition(glm::vec3(0.0f, 1.0f, 0.0f));
|
camera.setPosition(glm::vec3(0.0f, 1.0f, 0.0f));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue