From: Bas Nieuwenhuizen Date: Thu, 19 Oct 2017 23:09:08 +0000 (+0200) Subject: radv: enable GS on GFX9 X-Git-Tag: upstream/18.1.0~4949 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6bc42855f92d4815b06873b67196c8ecc6fc8b6f;p=platform%2Fupstream%2Fmesa.git radv: enable GS on GFX9 Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 1254988..ab7e97b 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,