From 6bc42855f92d4815b06873b67196c8ecc6fc8b6f Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 20 Oct 2017 01:09:08 +0200 Subject: [PATCH] radv: enable GS on GFX9 Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 125498809ec..ab7e97b8ba1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -419,8 +419,6 @@ void radv_GetPhysicalDeviceFeatures( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) { - RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice); - bool is_gfx9 = pdevice->rad_info.chip_class >= GFX9; memset(pFeatures, 0, sizeof(*pFeatures)); *pFeatures = (VkPhysicalDeviceFeatures) { @@ -428,7 +426,7 @@ void radv_GetPhysicalDeviceFeatures( .fullDrawIndexUint32 = true, .imageCubeArray = true, .independentBlend = true, - .geometryShader = !is_gfx9, + .geometryShader = true, .tessellationShader = true, .sampleRateShading = true, .dualSrcBlend = true, -- 2.30.2