radv: add support for VK_AMD_negative_viewport_height
authorFredrik Höglund <fredrik@kde.org>
Wed, 23 Nov 2016 22:05:00 +0000 (23:05 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Nov 2016 22:19:24 +0000 (08:19 +1000)
The driver already supports this extension in practice.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 0d79eeeef2ca07c783f0f83b0cc23c44eb158cce..58484bdda7f0ff2ede94fd1341845a6cebf26e67 100644 (file)
@@ -178,6 +178,10 @@ static const VkExtensionProperties device_extensions[] = {
                .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME,
                .specVersion = 68,
        },
+       {
+               .extensionName = VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME,
+               .specVersion = 1,
+       },
 };
 
 static void *