Mesa (master): radv: add support for VK_AMD_negative_viewport_height

Dave Airlie airlied at kemper.freedesktop.org
Wed Nov 23 22:22:01 UTC 2016


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

Author: Fredrik Höglund <fredrik at kde.org>
Date:   Wed Nov 23 23:05:00 2016 +0100

radv: add support for VK_AMD_negative_viewport_height

The driver already supports this extension in practice.

Reviewed-by: Dave Airlie <airlied at redhat.com>

---

 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 *




More information about the mesa-commit mailing list