From: Bas Nieuwenhuizen Date: Thu, 19 Oct 2017 23:09:08 +0000 (+0200) Subject: radv: enable GS on GFX9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bc42855f92d4815b06873b67196c8ecc6fc8b6f;p=mesa.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 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,