radv: enable VK_KHX_multiview always.
authorDave Airlie <airlied@redhat.com>
Tue, 17 Oct 2017 06:47:16 +0000 (16:47 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Oct 2017 06:48:14 +0000 (16:48 +1000)
This was in the wrong place.

Fixes: ba51ad2f2 (radv: Expose VK_KHX_multiview.)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index b2aef2a8130ea57014bb7e6bb2d37c0533190c43..cedb9a4acfc23d240d80c309d4419dc85d884135 100644 (file)
@@ -186,6 +186,10 @@ static const VkExtensionProperties common_device_extensions[] = {
                .extensionName = VK_KHR_RELAXED_BLOCK_LAYOUT_EXTENSION_NAME,
                .specVersion = 1,
        },
+       {
+               .extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME,
+               .specVersion = 1,
+       },
 };
 
 static const VkExtensionProperties rasterization_order_extension[] ={
@@ -204,10 +208,6 @@ static const VkExtensionProperties ext_sema_device_extensions[] = {
                .extensionName = VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME,
                .specVersion = 1,
        },
-       {
-               .extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME,
-               .specVersion = 1,
-       },
 };
 
 static VkResult