[Mesa-dev] [PATCH 3/5] radv: add support for VK_AMD_negative_viewport_height

Fredrik Höglund fredrik at kde.org
Wed Nov 23 22:05:00 UTC 2016


The driver already supports this extension in practice.
---
 src/amd/vulkan/radv_device.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 0d79eee..58484bd 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -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 *
-- 
2.1.4



More information about the mesa-dev mailing list