From 0f769ed3984666919b34c81b4bc34703e73f311c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 5 Jul 2019 09:08:04 +0200 Subject: radv/gfx10: disable geometry and tessellation shaders Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f0f7a45a143..d111ab6b130 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -762,8 +762,8 @@ void radv_GetPhysicalDeviceFeatures( .fullDrawIndexUint32 = true, .imageCubeArray = true, .independentBlend = true, - .geometryShader = true, - .tessellationShader = true, + .geometryShader = pdevice->rad_info.chip_class < GFX10, + .tessellationShader = pdevice->rad_info.chip_class < GFX10, .sampleRateShading = true, .dualSrcBlend = true, .logicOp = true, -- cgit v1.2.3