Mesa (master): radv: enable GS on GFX9

Dave Airlie airlied at kemper.freedesktop.org
Fri Oct 20 06:14:33 UTC 2017


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

Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Oct 20 01:09:08 2017 +0200

radv: enable GS on GFX9

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

---

 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 125498809e..ab7e97b8ba 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,




More information about the mesa-commit mailing list