summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-10-20 01:09:08 +0200
committerDave Airlie <[email protected]>2017-10-20 07:14:00 +0100
commit6bc42855f92d4815b06873b67196c8ecc6fc8b6f (patch)
tree3ad140f2debd152aecf03a7fc0e003a6acc4ef15 /src/amd
parent73749caf0e9bae845d8dd5aed181e4e3cb65c918 (diff)
radv: enable GS on GFX9
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_device.c4
1 files changed, 1 insertions, 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,