Mesa (master): radv: enable VK_KHX_multiview always.

Dave Airlie airlied at kemper.freedesktop.org
Tue Oct 17 07:23:29 UTC 2017


Module: Mesa
Branch: master
Commit: c00256a12c5be3d0f1c222176b62c13c4a2e4b50
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c00256a12c5be3d0f1c222176b62c13c4a2e4b50

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Oct 17 16:47:16 2017 +1000

radv: enable VK_KHX_multiview always.

This was in the wrong place.

Fixes: ba51ad2f2 (radv: Expose VK_KHX_multiview.)
Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/radv_device.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index b2aef2a813..cedb9a4acf 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -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




More information about the mesa-commit mailing list